aboutsummaryrefslogtreecommitdiff
path: root/print/magicfilter
diff options
context:
space:
mode:
authorCHOI Junho <cjh@FreeBSD.org>2003-10-25 00:41:08 +0000
committerCHOI Junho <cjh@FreeBSD.org>2003-10-25 00:41:08 +0000
commit6e5f0deb9c23281ced315cd196446857f04b88bd (patch)
treea8318efed298d4110b0894c7732f7a1851490628 /print/magicfilter
parenta5cce58ef75487b355939494c737a975b547d997 (diff)
downloadports-6e5f0deb9c23281ced315cd196446857f04b88bd.tar.gz
ports-6e5f0deb9c23281ced315cd196446857f04b88bd.zip
Unbroke in -current.
Submitted by: kris
Notes
Notes: svn path=/head/; revision=92094
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 11308275927c..130ef16f6648 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 000000000000..1482cec2510e
--- /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
+
+ /* ------------------------------------------------------------------------- *