popt compile failed [patch included]



I had to do this to get popt to compile.  Fresh everything from CVS. 

firewall:/usr/src/gnome/ORBit$ uname -a
Linux firewall.innsmouth 2.0.36 #5 Thu Feb 4 22:12:20 NZDT 1999 i586 unknown

diff -urN popt.orig/configure.in popt/configure.in
--- popt.orig/configure.in      Sat Jan 30 13:23:57 1999
+++ popt/configure.in   Sat Feb  6 17:40:00 1999
@@ -6,7 +6,7 @@
 AC_GCC_TRADITIONAL
 AM_C_PROTOTYPES
 
-AC_PROG_RANLIB
+AM_PROG_LIBTOOL
 AC_PROG_INSTALL
 
 if test x$GCC = xyes; then
diff -urN popt.orig/poptparse.c popt/poptparse.c
--- popt.orig/poptparse.c       Sat Jan 30 13:23:57 1999
+++ popt/poptparse.c    Sat Feb  6 17:37:17 1999
@@ -27,7 +27,7 @@
 
 #include "popt.h"

-int poptParseArgvString(char * s, int * argcPtr, char *** argvPtr) {
+int poptParseArgvString(const char * s, int * argcPtr, char *** argvPtr) {
     char * buf = strcpy(alloca(strlen(s) + 1), s);
     char * bufStart = buf;
     char * src, * dst;

Regards,
-- 
Sam Vilain, sam@whoever.com         work: sam.vilain@unisys.com
http://www.hydro.gen.nz                home: sam@hydro.gen.nz



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]