aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/LPRng/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-02-29 00:14:55 +0800
committerpav <pav@FreeBSD.org>2004-02-29 00:14:55 +0800
commitf70582c92a6532152f8d20cdf601c5643c9b95b3 (patch)
tree3302082cb9b9c35f434e96caacf9620c3ddbe561 /sysutils/LPRng/files
parent4f2c133bdfc24373bcf2490400e064d6c417b4b2 (diff)
downloadfreebsd-ports-gnome-f70582c92a6532152f8d20cdf601c5643c9b95b3.tar.gz
freebsd-ports-gnome-f70582c92a6532152f8d20cdf601c5643c9b95b3.tar.zst
freebsd-ports-gnome-f70582c92a6532152f8d20cdf601c5643c9b95b3.zip
- Update to 3.8.23
PR: ports/59862 Submitted by: Rong-En Fan <rafan@infor.rog> Approved by: maintainer timeout (almost 3 months)
Diffstat (limited to 'sysutils/LPRng/files')
-rw-r--r--sysutils/LPRng/files/patch-src-common-lpf.c23
-rw-r--r--sysutils/LPRng/files/patch-src-common-user_auth.c12
2 files changed, 12 insertions, 23 deletions
diff --git a/sysutils/LPRng/files/patch-src-common-lpf.c b/sysutils/LPRng/files/patch-src-common-lpf.c
deleted file mode 100644
index 8177fa57d687..000000000000
--- a/sysutils/LPRng/files/patch-src-common-lpf.c
+++ /dev/null
@@ -1,23 +0,0 @@
---- src/common/lpf.c.orig Wed Apr 16 03:37:42 2003
-+++ src/common/lpf.c Thu Dec 18 18:58:29 2003
-@@ -188,7 +188,7 @@
- int crlf; /* change lf to CRLF */
-
- void getargs( int argc, char *argv[], char *envp[] );
--void log( char *msg, ... );
-+void lpf_log( char *msg, ... );
- void logerr( char *msg, ... );
- void logerr_die( char *msg, ... );
- void fatal( char *msg, ... );
-@@ -312,9 +312,9 @@
- }
-
- #ifdef HAVE_STDARGS
--void log(char *msg, ...)
-+void lpf_log(char *msg, ...)
- #else
--void log( va_alist ) va_dcl
-+void lpf_log( va_alist ) va_dcl
- #endif
- {
- #ifndef HAVE_STDARGS
diff --git a/sysutils/LPRng/files/patch-src-common-user_auth.c b/sysutils/LPRng/files/patch-src-common-user_auth.c
new file mode 100644
index 000000000000..e62fd9994e11
--- /dev/null
+++ b/sysutils/LPRng/files/patch-src-common-user_auth.c
@@ -0,0 +1,12 @@
+--- src/common/user_auth.c.orig Fri Nov 14 05:05:33 2003
++++ src/common/user_auth.c Sat Feb 28 17:09:30 2004
+@@ -1043,8 +1043,8 @@
+ DEBUG1("Pgp_get_pgppassfd: PGPPASS '%s'", s );
+ *pgppass = s;
+ } else if( (s = getenv( "PGPPASSFD" )) ){
+- t = 0;
+ char buffer[128];
++ t = 0;
+ pgppassfd = strtol(s,&t,10);
+ if( pgppassfd <= 0 || !t || *t || fstat(pgppassfd, &statb) ){
+ Errorcode = JABORT;