From f8140cb32e5ad809343aab32383ada552f6085c5 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 21 Sep 2003 18:56:39 +0000 Subject: Fix build problem with GCC 3.3.1. --- print/magicfilter/distinfo | 3 ++- print/magicfilter/patches/patch-ac | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 print/magicfilter/patches/patch-ac (limited to 'print') diff --git a/print/magicfilter/distinfo b/print/magicfilter/distinfo index ef03cbd5c14..7f2cb6d1130 100644 --- a/print/magicfilter/distinfo +++ b/print/magicfilter/distinfo @@ -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 --git a/print/magicfilter/patches/patch-ac b/print/magicfilter/patches/patch-ac new file mode 100644 index 00000000000..63f42e13bf7 --- /dev/null +++ b/print/magicfilter/patches/patch-ac @@ -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 + + /* ------------------------------------------------------------------------- * -- cgit v1.2.3