summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-07-18 17:08:45 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-07-18 17:08:45 +0000
commit5b9b7f4c2f5b3055d1d471e90d53239282b9cb91 (patch)
tree76b1e8d0fa7312827e4f5d3c389349d56bf017a5 /net-print/lprng/files/lprng-3.8.28-lpq.diff
parentVersion bump. Removed old versions. (diff)
downloadgentoo-2-5b9b7f4c2f5b3055d1d471e90d53239282b9cb91.tar.gz
gentoo-2-5b9b7f4c2f5b3055d1d471e90d53239282b9cb91.tar.bz2
gentoo-2-5b9b7f4c2f5b3055d1d471e90d53239282b9cb91.zip
Two new patches thanks to new maintainer Thomas Pfaff <tpfaff@gmx.net>
(Portage version: 2.1.1_pre3-r1)
Diffstat (limited to 'net-print/lprng/files/lprng-3.8.28-lpq.diff')
-rw-r--r--net-print/lprng/files/lprng-3.8.28-lpq.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-print/lprng/files/lprng-3.8.28-lpq.diff b/net-print/lprng/files/lprng-3.8.28-lpq.diff
new file mode 100644
index 000000000000..51fc500b34e7
--- /dev/null
+++ b/net-print/lprng/files/lprng-3.8.28-lpq.diff
@@ -0,0 +1,11 @@
+--- LPRng-3.8.28/src/common/lpq.c.orig 2004-09-24 22:19:58.000000000 +0200
++++ LPRng-3.8.28/src/common/lpq.c 2006-06-26 15:42:57.000000000 +0200
+@@ -449,7 +449,7 @@
+ if( (pid = dofork(0)) == 0 ){
+ setuid( OriginalRUID );
+ close_on_exec(3);
+- execl(CLEAR,0);
++ execl(CLEAR, CLEAR, (char*) NULL);
+ exit(1);
+ } else if( pid < 0 ){
+ LOGERR_DIE(LOG_ERR) _("fork() failed") );