Thu Aug 12 12:22:45 2010 UTC ()
Add comments to patches, per pkglint nag.


(gdt)
diff -r1.8 -r1.9 pkgsrc/print/gutenprint-lib/distinfo
diff -r1.1 -r1.2 pkgsrc/print/gutenprint-lib/patches/patch-aa
diff -r1.3 -r1.4 pkgsrc/print/gutenprint-lib/patches/patch-ab

cvs diff -r1.8 -r1.9 pkgsrc/print/gutenprint-lib/distinfo (expand / switch to unified diff)

--- pkgsrc/print/gutenprint-lib/distinfo 2010/08/12 12:15:08 1.8
+++ pkgsrc/print/gutenprint-lib/distinfo 2010/08/12 12:22:44 1.9
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.8 2010/08/12 12:15:08 gdt Exp $ 1$NetBSD: distinfo,v 1.9 2010/08/12 12:22:44 gdt Exp $
2 2
3SHA1 (gutenprint-5.2.6.tar.bz2) = 9fbe1ab899d5e83f34e21534cc5c1b8921c9039b 3SHA1 (gutenprint-5.2.6.tar.bz2) = 9fbe1ab899d5e83f34e21534cc5c1b8921c9039b
4RMD160 (gutenprint-5.2.6.tar.bz2) = ede2dea11742c77fede450880685efcde3a91967 4RMD160 (gutenprint-5.2.6.tar.bz2) = ede2dea11742c77fede450880685efcde3a91967
5Size (gutenprint-5.2.6.tar.bz2) = 5283223 bytes 5Size (gutenprint-5.2.6.tar.bz2) = 5283223 bytes
6SHA1 (patch-aa) = b085bcf736d230c7f05d7b27bd1831165f958579 6SHA1 (patch-aa) = 42ed47e6f577b6bf562d05f9685f8ff77dc45f88
7SHA1 (patch-ab) = bc9633845555e1bfeeddb94eb1b45353dd96ba7b 7SHA1 (patch-ab) = ad519c74b450fee72f0f60b7b968e8fc425ce488

cvs diff -r1.1 -r1.2 pkgsrc/print/gutenprint-lib/patches/patch-aa (expand / switch to unified diff)

--- pkgsrc/print/gutenprint-lib/patches/patch-aa 2008/12/20 00:54:17 1.1
+++ pkgsrc/print/gutenprint-lib/patches/patch-aa 2010/08/12 12:22:44 1.2
@@ -1,13 +1,16 @@ @@ -1,13 +1,16 @@
1$NetBSD: patch-aa,v 1.1 2008/12/20 00:54:17 gdt Exp $ 1$NetBSD: patch-aa,v 1.2 2010/08/12 12:22:44 gdt Exp $
 2
 3Force, somewhat hackishly, the use of cups lpstat. Probably upstream
 4should find these paths at configure time.
2 5
3--- src/gutenprintui2/plist.c.orig 2008-02-02 11:06:55.000000000 -0500 6--- src/gutenprintui2/plist.c.orig 2008-02-02 11:06:55.000000000 -0500
4+++ src/gutenprintui2/plist.c 7+++ src/gutenprintui2/plist.c
5@@ -96,7 +96,7 @@ static const print_system_t default_prin 8@@ -96,7 +96,7 @@ static const print_system_t default_prin
6 static print_system_t known_printing_systems[] = 9 static print_system_t known_printing_systems[] =
7 { 10 {
8 { "CUPS", N_("CUPS"), "lp -s", "-d", "-oraw", "/usr/sbin/cupsd", 11 { "CUPS", N_("CUPS"), "lp -s", "-d", "-oraw", "/usr/sbin/cupsd",
9- "/usr/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'", 12- "/usr/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'",
10+ "/usr/pkg/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'", 13+ "/usr/pkg/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'",
11 "-n" }, 14 "-n" },
12 { "SysV", N_("System V lp"), "lp -s", "-d", "-oraw", "/usr/bin/lp", 15 { "SysV", N_("System V lp"), "lp -s", "-d", "-oraw", "/usr/bin/lp",
13 "/usr/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'", 16 "/usr/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'",

cvs diff -r1.3 -r1.4 pkgsrc/print/gutenprint-lib/patches/Attic/patch-ab (expand / switch to unified diff)

--- pkgsrc/print/gutenprint-lib/patches/Attic/patch-ab 2009/08/19 00:19:06 1.3
+++ pkgsrc/print/gutenprint-lib/patches/Attic/patch-ab 2010/08/12 12:22:44 1.4
@@ -1,13 +1,19 @@ @@ -1,13 +1,19 @@
1$NetBSD: patch-ab,v 1.3 2009/08/19 00:19:06 gdt Exp $ 1$NetBSD: patch-ab,v 1.4 2010/08/12 12:22:44 gdt Exp $
 2
 32008-12-20:
 4Don't use -O6 and -O3 because some gcc versions choke.
 5From Bernd Ernesti in private mail.
 62010-08-12:
 7It is not clear if this is still true. -gdt
2 8
3--- configure.orig 2009-07-26 22:36:34.000000000 +0200 9--- configure.orig 2009-07-26 22:36:34.000000000 +0200
4+++ configure 2009-08-09 17:13:18.000000000 +0200 10+++ configure 2009-08-09 17:13:18.000000000 +0200
5@@ -18101,7 +18101,7 @@ 11@@ -18101,7 +18101,7 @@
6  12
7 else 13 else
8  14
9- for stp_ac_arg in -O6 -O3 -O2 -O1 -O ; do 15- for stp_ac_arg in -O6 -O3 -O2 -O1 -O ; do
10+ for stp_ac_arg in -O2 -O1 -O ; do 16+ for stp_ac_arg in -O2 -O1 -O ; do
11 stp_ac_save_CFLAGS="${CFLAGS}" 17 stp_ac_save_CFLAGS="${CFLAGS}"
12  18
13 { $as_echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5 19 { $as_echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5