Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24382
Modified Files: hexcurse.info Added Files: hexcurse.patch Log Message: gcc4 compile fix. --- NEW FILE: hexcurse.patch --- --- hexcurse-1.55/src/getopt.c.bak 2005-04-03 14:08:37.000000000 -0700 +++ hexcurse-1.55/src/getopt.c 2005-04-03 14:10:42.000000000 -0700 @@ -30,16 +30,14 @@ #undef opterr #undef optopt #undef optind -#undef alloca /* The following modification was submited by Claudio Fanin. This change * * enables hexcurse to be compiled with SGI's proprietary compiler */ #ifdef _SGIAPI +#undef alloca #include <alloca.h> -#else -char *alloca (); #endif -#define __alloca alloca +#define __hexcurse_alloca alloca /* end of modification */ #ifdef HAVE_OPTIND @@ -85,7 +83,7 @@ char **argv; { int nonopts_size = (last_nonopt - first_nonopt) * sizeof (char *); - char **temp = (char **) __alloca (nonopts_size); + char **temp = (char **) __hexcurse_alloca (nonopts_size); /* Interchange the two blocks of data in ARGV. */ Index: hexcurse.info =================================================================== RCS file: /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/utils/hexcurse.info,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- hexcurse.info 27 Apr 2005 03:26:49 -0000 1.1 +++ hexcurse.info 17 May 2005 02:42:27 -0000 1.2 @@ -1,20 +1,17 @@ Package: hexcurse Version: 1.55 -Revision: 11 +Revision: 12 #Source: http://jewfish.net/download.php?file=%n.tar.gz #SourceDirectory: %n-%v #SourceRename: %n-%v.tar.gz Source: mirror:sourceforge:fink/%n-%v.tar.gz Source-MD5: c9f9485490300b5111aa429eabfef789 -BuildDepends: libncurses5, gcc3.3 +BuildDepends: libncurses5 Depends: ncurses, libncurses5-shlibs ConfigureParams: --mandir=%p/share/man -CompileScript: << - export CC=gcc-3.3; export CXX=g++-3.3; ./configure %c - make CC=gcc-3.3 CXX=g++-3.3 -<< -InstallScript: make install-strip DESTDIR=%d +Patch: %n.patch GCC: 3.3 +InstallScript: make install-strip DESTDIR=%d DocFiles: AUTHORS COPYING INSTALL NEWS README Description: Terminal-based hex editor DescDetail: << ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits