Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > fa002c9dd6d28f538e71866e21a2641e > files > 1

a2ps-4.13b-12mdv2008.0.src.rpm

--- a2ps-4.13/intl/dcgettext.c.64bit-fixes	1999-08-31 13:29:35.000000000 -0400
+++ a2ps-4.13/intl/dcgettext.c	2004-10-01 08:39:26.119654409 -0400
@@ -19,6 +19,12 @@
 # include <config.h>
 #endif
 
+#if defined HAVE_STRING_H || defined _LIBC
+# ifndef _GNU_SOURCE
+#  define _GNU_SOURCE	1
+# endif
+#endif
+
 #include <sys/types.h>
 
 #ifdef __GNUC__
@@ -58,9 +64,6 @@ void free ();
 #endif
 
 #if defined HAVE_STRING_H || defined _LIBC
-# ifndef _GNU_SOURCE
-#  define _GNU_SOURCE	1
-# endif
 # include <string.h>
 #else
 # include <strings.h>
--- a2ps-4.13/src/main.c.64bit-fixes	2000-01-26 19:29:15.000000000 -0500
+++ a2ps-4.13/src/main.c	2004-10-01 08:41:47.110095214 -0400
@@ -30,6 +30,7 @@
 /*                      I n c l u d e   f i l e s                       */
 /*                                                                      */
 /************************************************************************/
+#define _GNU_SOURCE 1
 #include <assert.h>
 
 #include "a2ps.h"
@@ -102,7 +103,6 @@ enum behavior behavior = b_ps;
    defined twice, see lib/confg.gperf, handling of `Options:'. */
 
 char *program_name;
-const char *program_invocation_name;
 
 /* Stores the data of liba2ps.  */