]> git.pld-linux.org Git - packages/LPRng.git/commitdiff
- patched for gcc 3.3 (declaration conflict with log() builtin) auto/ac/LPRng-3_8_21-2
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 5 Aug 2003 22:38:10 +0000 (22:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    LPRng-gcc33.patch -> 1.1
    LPRng.spec -> 1.108

LPRng-gcc33.patch [new file with mode: 0644]
LPRng.spec

diff --git a/LPRng-gcc33.patch b/LPRng-gcc33.patch
new file mode 100644 (file)
index 0000000..891282a
--- /dev/null
@@ -0,0 +1,23 @@
+--- LPRng-3.8.21/src/common/lpf.c.orig 2003-04-16 01:37:42.000000000 +0200
++++ LPRng-3.8.21/src/common/lpf.c      2003-08-06 00:21:26.000000000 +0200
+@@ -188,7 +188,7 @@
+ int crlf;     /* change lf to CRLF */
+ void getargs( int argc, char *argv[], char *envp[] );
+-void log( char *msg, ... );
++void lognerr( 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 lognerr(char *msg, ...)
+ #else
+-void log( va_alist ) va_dcl
++void lognerr( va_alist ) va_dcl
+ #endif
+ {
+ #ifndef HAVE_STDARGS
index ce74875570c72c241fc213e8e07cf8ee313ef425..d583e459d56fa20a4bb7b9ddf7e4431cfe4a35c9 100644 (file)
@@ -23,6 +23,7 @@ Patch3:               %{name}-ngettext.patch
 Patch4:                %{name}-missing-nls.patch
 Patch5:                %{name}-pl.po.patch
 Patch6:                %{name}-types.patch
+Patch7:                %{name}-gcc33.patch
 URL:           http://www.astart.com/lprng/LPRng.html
 BuildRequires: autoconf
 BuildRequires: automake
@@ -162,6 +163,7 @@ Support 
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %build
 rm -f missing
This page took 0.049079 seconds and 4 git commands to generate.