pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/magicfilter Fix build problem with GCC 3.3.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4c37df57781b
branches:  trunk
changeset: 461797:4c37df57781b
user:      tron <tron%pkgsrc.org@localhost>
date:      Sun Sep 21 18:56:39 2003 +0000

description:
Fix build problem with GCC 3.3.1.

diffstat:

 print/magicfilter/distinfo         |   3 ++-
 print/magicfilter/patches/patch-ac |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 907d654842de -r 4c37df57781b print/magicfilter/distinfo
--- a/print/magicfilter/distinfo        Sun Sep 21 18:40:48 2003 +0000
+++ b/print/magicfilter/distinfo        Sun Sep 21 18:56:39 2003 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 12:41:51 agc Exp $
+$NetBSD: distinfo,v 1.3 2003/09/21 18:56:39 tron Exp $
 
 SHA1 (magicfilter-1.2.tar.gz) = f1aff1c38065d9e00e0bfb748b70445829ecc0a6
 Size (magicfilter-1.2.tar.gz) = 53176 bytes
 SHA1 (patch-aa) = 2a79b49acd5e655308d81fdc509db5b3ff8fb165
 SHA1 (patch-ab) = d55a2db4b9048a41be60c51f651ef0dfcb3f315e
+SHA1 (patch-ac) = eb8aad07704ebe1ab744307523c846827a6afe93
diff -r 907d654842de -r 4c37df57781b print/magicfilter/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/magicfilter/patches/patch-ac        Sun Sep 21 18:56:39 2003 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ac,v 1.1 2003/09/21 18:56:41 tron Exp $
+
+--- magicfilter.c.orig 1996-03-17 12:39:24.000000000 +0100
++++ magicfilter.c      2003-09-21 20:54:38.000000000 +0200
+@@ -59,10 +59,9 @@
+ /* 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
+ 
+ /* ------------------------------------------------------------------------- *



Home | Main Index | Thread Index | Old Index