summaryrefslogtreecommitdiffstats
path: root/print/magicfilter
diff options
context:
space:
mode:
authorcjh <cjh@FreeBSD.org>2003-10-25 00:41:08 +0000
committercjh <cjh@FreeBSD.org>2003-10-25 00:41:08 +0000
commitc07c9dbb09b77fe1f8a78b82af6559f4c3401c75 (patch)
treea73e8d9cfa4581670d27ae282fa13901a8deaa1a /print/magicfilter
parenta1c902fcac2330b3baf6a4dd7154e5d23e61dd07 (diff)
downloadFreeBSD-ports-c07c9dbb09b77fe1f8a78b82af6559f4c3401c75.zip
FreeBSD-ports-c07c9dbb09b77fe1f8a78b82af6559f4c3401c75.tar.gz
Unbroke in -current.
Submitted by: kris
Diffstat (limited to 'print/magicfilter')
-rw-r--r--print/magicfilter/Makefile4
-rw-r--r--print/magicfilter/files/patch-magicfilter.c17
2 files changed, 17 insertions, 4 deletions
diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile
index 1130827..130ef16 100644
--- a/print/magicfilter/Makefile
+++ b/print/magicfilter/Makefile
@@ -31,10 +31,6 @@ MAN8= magicfilter.8
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
pre-fetch:
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
@${ECHO} ""
diff --git a/print/magicfilter/files/patch-magicfilter.c b/print/magicfilter/files/patch-magicfilter.c
new file mode 100644
index 0000000..1482cec
--- /dev/null
+++ b/print/magicfilter/files/patch-magicfilter.c
@@ -0,0 +1,17 @@
+--- magicfilter.c.orig Sat Oct 25 09:35:12 2003
++++ magicfilter.c Sat Oct 25 09:36:48 2003
+@@ -59,10 +59,10 @@
+ /* Header of mail message */
+ #ifndef NOMAIL
+ const char *mailheader = /* Header of complaint message */
+-"To: %s\n\
+-Subject: Rejected print job\n\
+-
+-Your print job was automatically rejected as an invalid data type.\n\n";
++"To: %s\n"
++"Subject: Rejected print job\n"
++"\n"
++"Your print job was automatically rejected as an invalid data type.\n\n";
+ #endif
+
+ /* ------------------------------------------------------------------------- *
OpenPOWER on IntegriCloud