Re: Ayuda gnu radius --with-included-argp

Sergey Poznyakoff <[email protected]>
Newsgroups gmane.comp.gnu.radius.general
Organization Farlep-Internet
Message-ID <[email protected]>
Hello,

Attached is the patch that fixes compilation of radius-1.3 with included
argp on GNU/Linux systems with glibc 2.3.4.

I'd like to express my deep thanks to Erik Olson and Jaime Tellez.

Regards,
Sergey

_______________________________________________
Help-gnu-radius mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-radius
cvs-diff.log (text/x-c, 979 B)
Index: lib/argp-fs-xinl.c
===================================================================
RCS file: /cvsroot/radius/radius/lib/argp-fs-xinl.c,v
retrieving revision 1.2
diff -p -u -r1.2 argp-fs-xinl.c
--- lib/argp-fs-xinl.c	18 May 2005 12:22:02 -0000	1.2
+++ lib/argp-fs-xinl.c	16 Jun 2005 20:16:06 -0000
@@ -24,7 +24,7 @@
 
 #define ARGP_FS_EI
 #undef __OPTIMIZE__
-#define __OPTIMIZE__
+#define __OPTIMIZE__ 1
 #include "argp-fmtstream.h"
 
 /* Add weak aliases.  */
Index: lib/argp-xinl.c
===================================================================
RCS file: /cvsroot/radius/radius/lib/argp-xinl.c,v
retrieving revision 1.2
diff -p -u -r1.2 argp-xinl.c
--- lib/argp-xinl.c	18 May 2005 12:22:02 -0000	1.2
+++ lib/argp-xinl.c	16 Jun 2005 20:16:06 -0000
@@ -26,8 +26,8 @@
 # define __USE_EXTERN_INLINES   1
 #endif
 #define ARGP_EI
-#undef __OPTIMIZE__
-#define __OPTIMIZE__
+#undef __OPTIMIZE__ 
+#define __OPTIMIZE__ 1
 #include "argp.h"
 
 /* Add weak aliases.  */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.