diff options
| author | Sébastien Fabbro <bicatali@gentoo.org> | 2016-02-27 03:13:53 +0000 |
|---|---|---|
| committer | Sébastien Fabbro <bicatali@gentoo.org> | 2016-02-27 03:14:31 +0000 |
| commit | c7618af3f2a38be30eb8ab77db404ddfc3a1c89d (patch) | |
| tree | e29ebb751cdfc9d67a3637a817d76c840a8136bc | |
| parent | fbc8944dffa7ce9c0c78c07f2120445afb3704eb (diff) | |
| download | gentoo-c7618af3f2a38be30eb8ab77db404ddfc3a1c89d.tar.gz gentoo-c7618af3f2a38be30eb8ab77db404ddfc3a1c89d.tar.bz2 gentoo-c7618af3f2a38be30eb8ab77db404ddfc3a1c89d.zip | |
sci-astronomy/funtools: Version bum
Some cleanup of really unused version.
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=536630
Package-Manager: portage-2.2.27
9 files changed, 70 insertions, 1586 deletions
diff --git a/sci-astronomy/funtools/Manifest b/sci-astronomy/funtools/Manifest index 3e5326a94fdf..ea1b1e439ac6 100644 --- a/sci-astronomy/funtools/Manifest +++ b/sci-astronomy/funtools/Manifest @@ -1 +1 @@ -DIST funtools-1.4.4.tar.gz 3475367 SHA256 f47a00e774b557931a7ff00ddd0852e32ae5d2a2f0d3a227f8ba81d3db1e863b SHA512 3a58ad008bc33836109327add15eabaf95e9dc3f9e70a678fe9a8176dae87ccf0faf439e775b6efcb50e536afb022b9e4c226cbb98e56997960380e06012b5c2 WHIRLPOOL 5b89cb7280a4e1087c13103a813e9220432419215d8bc7e6463f5f08f2a5ba3731e7693f16d79ff4ec705665809cc33e81dbd36cd07a00d786aac35bbb975f71 +DIST funtools-1.4.6.tar.gz 3104626 SHA256 902d55682fb57a387311eef1ad2953ddc081ecea3a32ab6153ad50e7b4822c49 SHA512 0ff70649c60337faa247e38e4dc40252b0092db39fe22b2869a764d01b2d7f1c584980ab891bf6e97c66edda3a0ad4b70bc588f2c9df392d87797795b8b22413 WHIRLPOOL 26f5ca1ea34c10503e9023df05a1f1a1f8ae34e5b261a9d0a87923a2de0935e8b5ce4baf24906604cda29e59ace54f180182d86d5a0a065c6c84b84bef629aae diff --git a/sci-astronomy/funtools/files/funtools-1.4.4-ds9-fixes.patch b/sci-astronomy/funtools/files/funtools-1.4.4-ds9-fixes.patch deleted file mode 100644 index 6a089159d4d3..000000000000 --- a/sci-astronomy/funtools/files/funtools-1.4.4-ds9-fixes.patch +++ /dev/null @@ -1,292 +0,0 @@ -Origin: http://hea-www.harvard.edu/saord/download/ds9/source/ds9.7.0.tar.gz -Description: Fixes that were applied to the package included in the saods9 - source. Only the patches that affect the Debian distribution are included here. - These patches are not specific for DS9, however. - . - From the changelog: - * Fixed -J funcone, which was not properly outputting all rows. - * Fixed bug in funim.c which broke vcol functionality. - . ---- a/filter/filter.c -+++ b/filter/filter.c -@@ -326,24 +326,31 @@ Filter FilterOpen(header, string, mode) - } - - /* determine which type of process execution we do */ -- filter->ptype = DEFAULT_FILTER_PTYPE; -- *tbuf = '\0'; -- if( (s=(char *)getenv("FILTER_PTYPE")) ){ -- strcpy(tbuf, s); -- } -- if( !*tbuf && (s=xstrdup(filter->mode)) ){ -- keyword(s, "ptype", tbuf, SZ_LINE); -- if( s ) xfree(s); -- } -- if( *tbuf ){ -- if( *tbuf == 'p' ) -- filter->ptype = PTYPE_PROCESS; -- else if( *tbuf == 'c' ) -- filter->ptype = PTYPE_CONTAINED; -+ switch(filter->method){ -+ case METHOD_C: -+ filter->ptype = DEFAULT_FILTER_PTYPE; -+ *tbuf = '\0'; -+ if( (s=(char *)getenv("FILTER_PTYPE")) ){ -+ strcpy(tbuf, s); -+ } -+ if( !*tbuf && (s=xstrdup(filter->mode)) ){ -+ keyword(s, "ptype", tbuf, SZ_LINE); -+ if( s ) xfree(s); -+ } -+ if( *tbuf ){ -+ if( *tbuf == 'p' ) -+ filter->ptype = PTYPE_PROCESS; -+ else if( *tbuf == 'c' ) -+ filter->ptype = PTYPE_CONTAINED; - #ifdef USE_DL -- else if( *tbuf == 'd' ) -- filter->ptype = PTYPE_DYNAMIC; -+ else if( *tbuf == 'd' ) -+ filter->ptype = PTYPE_DYNAMIC; - #endif -+ } -+ break; -+ default: -+ filter->ptype = PTYPE_PROCESS; -+ break; - } - - /* determine region paint mode */ -@@ -470,7 +477,10 @@ Filter FilterOpen(header, string, mode) - if( !FilterProgCompile(filter) ) - goto error; - -- if( filter->debug < 2 ){ -+ if( filter->debug >= 2 ) goto done; -+ -+ switch(filter->method){ -+ case METHOD_C: - switch(filter->ptype){ - case PTYPE_PROCESS: - case PTYPE_CONTAINED: -@@ -478,7 +488,7 @@ Filter FilterOpen(header, string, mode) - case PIPE_WIN32: - #if HAVE_CYGWIN - if( !WinProcessOpen(filter->prog, -- &(filter->ihandle), &(filter->ohandle), &(filter->process)) ) -+ &(filter->ihandle), &(filter->ohandle), &(filter->process)) ) - goto error; - #else - gerror(stderr, "internal error: no WinProcess without Windows"); -@@ -487,20 +497,23 @@ Filter FilterOpen(header, string, mode) - break; - default: - if( !ProcessOpen(filter->prog, -- &(filter->ichan), &(filter->ochan), &(filter->pid)) ) -+ &(filter->ichan), &(filter->ochan), &(filter->pid)) ) - goto error; - break; - } - break; - #ifdef USE_DL - case PTYPE_DYNAMIC: -- if( !(filter->dl=DLOpen(filter->prog)) ) -- goto error; -- break; -+ if( !(filter->dl=DLOpen(filter->prog)) ) -+ goto error; -+ break; - #endif - default: -- goto error; -+ goto error; - } -+ break; -+ default: -+ goto error; - } - - /* return the good news */ ---- a/filter/filt.l -+++ b/filter/filt.l -@@ -871,6 +871,26 @@ compass { BEGIN COMM; } - * - */ - -+ -+#ifdef YY_USE_PROTOS -+static void floatprefix(void) -+#else -+static void floatprefix() -+#endif -+{ -+ if( filt->method == METHOD_C ) -+ _FiltLexCat("(double)"); -+} -+ -+#ifdef YY_USE_PROTOS -+static void floatsuffix(void) -+#else -+static void floatsuffix() -+#endif -+{ -+ return; -+} -+ - #ifdef YY_USE_PROTOS - static void - bin2num(char *d, char *s, int maxlen) -@@ -1414,7 +1434,14 @@ static void _FiltLexRegionStart(docols) - FilterSymbolDefaults(filt, 0); - /* initialize wcs for default image case */ - _FiltLexWcsCols(filt->fhd, filt->xbin, filt->ybin); -- _FiltLexCat(",(double)x,(double)y"); -+ _FiltLexCat(","); -+ floatprefix(); -+ _FiltLexCat("x"); -+ floatsuffix(); -+ _FiltLexCat(","); -+ floatprefix(); -+ _FiltLexCat("y"); -+ floatsuffix(); - break; - case 1: - if( !initbindefs ){ -@@ -1427,16 +1454,24 @@ static void _FiltLexRegionStart(docols) - if( !filt->xbin || !filt->ybin ){ - _filterror("two binning columns are required for regions"); - } -- _FiltLexCat(",(double)"); -+ _FiltLexCat(","); -+ floatprefix(); - _FiltLexCat(filt->xbin); -- _FiltLexCat(",(double)"); -+ floatsuffix(); -+ _FiltLexCat(","); -+ floatprefix(); - _FiltLexCat(filt->ybin); -+ floatsuffix(); - break; - case 2: -- _FiltLexCat(",(double)"); -+ _FiltLexCat(","); -+ floatprefix(); - _FiltLexCat(colnames[0]); -- _FiltLexCat(",(double)"); -+ floatsuffix(); -+ _FiltLexCat(","); -+ floatprefix(); - _FiltLexCat(colnames[1]); -+ floatsuffix(); - break; - } - if( s ) xfree(s); ---- a/filter/filtprog_c.c -+++ b/filter/filtprog_c.c -@@ -198,7 +198,8 @@ static int FilterProgOpen_C(filter) - ccstr = "gcc"; - } - /* make sure we have a compiler */ -- if( !(filter->cc = Find(ccstr, "x", NULL, FilterPath())) && -+ if( !(filter->cc = Access(ccstr, "x")) && -+ !(filter->cc = Find(ccstr, "x", NULL, FilterPath())) && - !(filter->cc = Find("gcc", "x", NULL, FilterPath())) && - !(filter->cc = Find("cc", "x", NULL, FilterPath())) && - !(filter->cc = Find("cc", "x", NULL, ".")) && -@@ -212,6 +213,9 @@ static int FilterProgOpen_C(filter) - #if HAVE_CYGWIN - if( (s=strrchr(filter->cc, '/')) ){ - s++; -+ } -+ else if( (s=strrchr(filter->cc, '\\')) ){ -+ s++; - } else { - s = filter->cc; - } ---- a/funcone.c -+++ b/funcone.c -@@ -1036,6 +1036,9 @@ main(argc, argv) - strncpy(decstr, argv[optind+ioff++], SZ_LINE-1); - strncpy(radstr, argv[optind+ioff++], SZ_LINE-1); - -+ /* dolimfilt does not work with doall */ -+ if( doall ) dolimfilt = 0; -+ - /* process list arguments */ - if( dolist ){ - if( !(list=OpenList(lname, rastr, decstr, radstr)) ){ -@@ -1085,6 +1088,8 @@ main(argc, argv) - if( !(adbuf=xcalloc(nrow+1, sizeof(char))) ){ - gerror(stderr, "can't allocate all (-J|-X) buffer of size %d\n", nrow); - } -+ /* must read one event at a time, or else we can't tell the event num */ -+ maxrow = 1; - } - - /* activate columns specified by user, if necessary */ -@@ -1371,7 +1376,7 @@ done: - while( (ebuf = (Ev)FunTableRowGet(fun, NULL, maxrow, NULL, &got)) ){ - /* if we have a filter, then we don't know the row number til after - we read the event, i.e. now */ -- if( doall & ALL_FILT ) FunInfoGet(fun, FUN_ROW, &irow, 0); -+ FunInfoGet(fun, FUN_ROW, &irow, 0); - /* process all rows */ - for(i=0; i<got; i++){ - /* skip rows that already were written out */ ---- a/funtab.c -+++ b/funtab.c -@@ -1386,7 +1386,7 @@ int FunTableRowPut(fun, rows, nrow, idx, plist) - off_t - FunTableRowSeek(Fun fun, int nrow, char *plist) - #else --off_t FunTableRowPut(fun, nrow, plist) -+off_t FunTableRowSeek(fun, nrow, plist) - Fun fun; - int nrow; - char *plist; ---- a/funim.c -+++ b/funim.c -@@ -111,9 +111,9 @@ static void *_FunTableBin(fun, buf, plist) - /* optional value column for binning */ - if( fun->vbin >= 0 ){ - dovcol = 1; -- voffset = fun->header->table->col[fun->bin[2]].offset; -- vsize = fun->header->table->col[fun->bin[2]].size; -- vtype = fun->header->table->col[fun->bin[2]].type; -+ voffset = fun->header->table->col[fun->vbin].offset; -+ vsize = fun->header->table->col[fun->vbin].size; -+ vtype = fun->header->table->col[fun->vbin].type; - } - else{ - dovcol = 0; ---- a/calc.l -+++ b/calc.l -@@ -284,7 +284,7 @@ static char *_CalcCB(name, client_data) - { - CalcCols cur; - char tbuf[SZ_LINE]; -- char tbuf2[SZ_LINE]; -+ char tbuf2[SZ_LINE*2]; - char tbuf3[SZ_LINE]; - int i, got, ip; - ---- a/util/gio.c -+++ b/util/gio.c -@@ -2209,7 +2209,7 @@ void gerror(va_alist) va_dcl - vsnprintf(_gerrors, SZ_LINE-1, tbuf, args); - /* if the error flag is positive, we output immediately */ - if( (fd != NULL) && _gerror ){ -- fprintf(fd, _gerrors); -+ fputs(_gerrors, fd); - fflush(fd); - } - /* if the error flag is set high, we exit */ -@@ -2281,7 +2281,7 @@ void gwarning(va_alist) va_dcl - vsnprintf(_gwarnings, SZ_LINE-1, tbuf, args); - /* if the warning flag is positive, we output immediately */ - if( (fd != NULL) && _gwarning ){ -- fprintf(fd, _gwarnings); -+ fputs(_gwarnings, fd); - fflush(fd); - } - } diff --git a/sci-astronomy/funtools/files/funtools-1.4.4-fix-autoheader.patch b/sci-astronomy/funtools/files/funtools-1.4.4-fix-autoheader.patch deleted file mode 100644 index 700408057ba9..000000000000 --- a/sci-astronomy/funtools/files/funtools-1.4.4-fix-autoheader.patch +++ /dev/null @@ -1,121 +0,0 @@ -Author: Ole Streicher <debian@liska.ath.cx> -Description: Fix the AC_DEFINE lines so that autoheader (and therefore - dh_autoreconf) works ---- a/configure.ac -+++ b/configure.ac -@@ -193,7 +193,7 @@ AC_MSG_RESULT($fun_ok) - - SC_PATH_TCLCONFIG - if test x"${no_tcl}" = x ; then -- AC_DEFINE(HAVE_TCL) -+ AC_DEFINE([HAVE_TCL], [1], [Define if tcl is used.]) - fi - - AC_PROG_AWK -@@ -218,7 +218,7 @@ POST="|\& cat" - case $host_os in - *cygwin*|*Cygwin* ) - CFLAGS="$CFLAGS -enable-auto-import" -- AC_DEFINE(HAVE_CYGWIN) -+ AC_DEFINE([HAVE_CYGWIN], [], [Define if the cygwin compiler is used.]) - AC_MSG_RESULT(flagging Cygwin) - PRE="sh -c {" - POST="}" -@@ -226,7 +226,7 @@ case $host_os in - *mingw32*|*Mingw32*) - CFLAGS="$CFLAGS -mconsole" - EXTRA_LIBS="$EXTRA_LIBS -lwsock32" -- AC_DEFINE(HAVE_MINGW32) -+ AC_DEFINE([HAVE_MINGW32], [], [Define if the mingw32 compiler is used.]) - AC_MSG_RESULT(flagging MinGW) - ;; - *osf*|*Osf*) ---- a/filter/configure.ac -+++ b/filter/configure.ac -@@ -150,7 +150,7 @@ PRE="" - POST="|\& cat" - case $host_os in - *cygwin*|*Cygwin* ) -- AC_DEFINE(HAVE_CYGWIN) -+ AC_DEFINE([HAVE_CYGWIN], [], [Define if the cygwin compiler is used.]) - AC_MSG_RESULT(flagging Cygwin) - PRE="sh -c {" - POST="}" -@@ -158,7 +158,7 @@ case $host_os in - *mingw32*|*Mingw32*) - CFLAGS="$CFLAGS -mconsole" - EXTRA_LIBS="$EXTRA_LIBS -lwsock32" -- AC_DEFINE(HAVE_MINGW32) -+ AC_DEFINE([HAVE_MINGW32], [], [Define if the mingw32 compiler is used.]) - AC_MSG_RESULT(flagging MinGW) - ;; - *osf*|*Osf*) ---- a/fitsy/configure.ac -+++ b/fitsy/configure.ac -@@ -121,7 +121,7 @@ PRE="" - POST="|\& cat" - case $host_os in - *cygwin*|*Cygwin* ) -- AC_DEFINE(HAVE_CYGWIN) -+ AC_DEFINE([HAVE_CYGWIN], [], [Define if the cygwin compiler is used.]) - AC_MSG_RESULT(flagging Cygwin) - PRE="sh -c {" - POST="}" -@@ -129,7 +129,7 @@ case $host_os in - *mingw32*|*Mingw32*) - CFLAGS="$CFLAGS -mconsole" - EXTRA_LIBS="$EXTRA_LIBS -lwsock32" -- AC_DEFINE(HAVE_MINGW32) -+ AC_DEFINE([HAVE_MINGW32], [], [Define if the mingw32 compiler is used.]) - AC_MSG_RESULT(flagging MinGW) - ;; - *darwin*|*Darwin*) ---- a/util/configure.ac -+++ b/util/configure.ac -@@ -133,7 +133,7 @@ fi - - SC_PATH_TCLCONFIG - if test x"${no_tcl}" = x ; then -- AC_DEFINE(HAVE_TCL) -+ AC_DEFINE([HAVE_TCL], [1], [Define if tcl is used.]) - fi - - AC_MSG_CHECKING(for external zlib) -@@ -146,7 +146,7 @@ PRE="" - POST="|\& cat" - case $host_os in - *cygwin*|*Cygwin* ) -- AC_DEFINE(HAVE_CYGWIN) -+ AC_DEFINE([HAVE_CYGWIN], [], [Define if the cygwin compiler is used.]) - AC_MSG_RESULT(flagging Cygwin) - PRE="sh -c {" - POST="}" -@@ -154,7 +154,7 @@ case $host_os in - *mingw32*|*Mingw32*) - CFLAGS="$CFLAGS -mconsole" - EXTRA_LIBS="$EXTRA_LIBS -lwsock32" -- AC_DEFINE(HAVE_MINGW32) -+ AC_DEFINE([HAVE_MINGW32], [], [Define if the mingw32 compiler is used.]) - AC_MSG_RESULT(flagging MinGW) - ;; - *osf*|*Osf*) ---- a/wcs/configure.ac -+++ b/wcs/configure.ac -@@ -125,7 +125,7 @@ PRE="" - POST="|\& cat" - case $host_os in - *cygwin*|*Cygwin* ) -- AC_DEFINE(HAVE_CYGWIN) -+ AC_DEFINE([HAVE_CYGWIN], [], [Define if the cygwin compiler is used.]) - AC_MSG_RESULT(flagging Cygwin) - PRE="sh -c {" - POST="}" -@@ -133,7 +133,7 @@ case $host_os in - *mingw32*|*Mingw32*) - CFLAGS="$CFLAGS -mconsole" - EXTRA_LIBS="$EXTRA_LIBS -lwsock32" -- AC_DEFINE(HAVE_MINGW32) -+ AC_DEFINE([HAVE_MINGW32], [], [Define if the mingw32 compiler is used.]) - AC_MSG_RESULT(flagging MinGW) - ;; - *osf*|*Osf*) diff --git a/sci-astronomy/funtools/files/funtools-1.4.4-fix-crashes.patch b/sci-astronomy/funtools/files/funtools-1.4.4-fix-crashes.patch deleted file mode 100644 index 75d69089ef13..000000000000 --- a/sci-astronomy/funtools/files/funtools-1.4.4-fix-crashes.patch +++ /dev/null @@ -1,99 +0,0 @@ -Author: Ole Streicher <debian@liska.ath.cx> -Description: Check cmd line arguments for illegal input that caused crashes - found with the "Mayhem" tool. -Bug: http://bugs.debian.org/715928 -Bug: http://bugs.debian.org/715929 ---- a/funjoin.c -+++ b/funjoin.c -@@ -737,7 +737,7 @@ main(argc, argv) - case 'a': - if( argv[i][2] ){ - j = atoi(&argv[i][2])-1; -- if( (j >= 0) && (j < MAXIFILE) ){ -+ if( (j >= 0) && (j < MAXIFILE) && (i < argc-1)){ - files[j].actstr = argv[++i]; - } - else{ -@@ -751,7 +751,7 @@ main(argc, argv) - case 'b': - if( argv[i][2] ){ - j = atoi(&argv[i][2])-1; -- if( (j >= 0) && (j < MAXIFILE) ){ -+ if( (j >= 0) && (j < MAXIFILE) && (i < argc-1)){ - files[j].bstr = argv[++i]; - } - else{ -@@ -765,7 +765,7 @@ main(argc, argv) - case 'j': - if( argv[i][2] ){ - j = atoi(&argv[i][2])-1; -- if( (j >= 0) && (j < MAXIFILE) ){ -+ if( (j >= 0) && (j < MAXIFILE) && (i < argc-1)){ - files[j].jname = argv[++i]; - } - else{ -@@ -773,25 +773,35 @@ main(argc, argv) - } - } - else{ -- defcol = argv[++i]; -+ if (i < argc-1) { -+ defcol = argv[++i]; -+ } - } - break; - case 'm': -- minmatch = atoi(argv[++i])+1; -+ if (i < argc-1) { -+ minmatch = atoi(argv[++i])+1; -+ } - if( minmatch < 1 ) minmatch = 1; - break; - case 'M': -- maxmatch = atoi(argv[++i])+1; -+ if (i < argc-1) { -+ maxmatch = atoi(argv[++i])+1; -+ } - if( maxmatch < 1 ) maxmatch = 1; - break; - case 's': - jfiles = JFILES_COL; - break; - case 'S': -- jfiles = argv[++i]; -+ if (i < argc-1) { -+ jfiles = argv[++i]; -+ } - break; - case 't': -- tol = atof(argv[++i]); -+ if (i < argc-1) { -+ tol = atof(argv[++i]); -+ } - if( tol <= 0 ){ - gerror(stderr, "tolerance value must be positive\n"); - } ---- a/funimage.c -+++ b/funimage.c -@@ -338,12 +338,16 @@ main(argc, argv) - t = strchr(s, ','); - strncat(newname, s, t-s); - strncat(newname, ",y:", SZ_LINE-strlen(newname)); -- s = ++t; -- t = strchr(s, ','); -- strncat(newname, s, t-s); -+ if (t != NULL) { -+ s = ++t; -+ t = strchr(s, ','); -+ strncat(newname, s, t-s); -+ } - strncat(newname, "),", SZ_LINE-strlen(newname)); -- s = ++t; -- strncat(newname, s, SZ_LINE-strlen(newname)); -+ if (t != NULL) { -+ s = ++t; -+ strncat(newname, s, SZ_LINE-strlen(newname)); -+ } - iname = newname; - } - diff --git a/sci-astronomy/funtools/files/funtools-1.4.4-fix-hardening.patch b/sci-astronomy/funtools/files/funtools-1.4.4-fix-hardening.patch deleted file mode 100644 index 2f24268d74f2..000000000000 --- a/sci-astronomy/funtools/files/funtools-1.4.4-fix-hardening.patch +++ /dev/null @@ -1,68 +0,0 @@ -Author: Ole Streicher <debian@liska.ath.cx> -Description: Fix the format string for fprintf ---- a/gnu/sort.c -+++ b/gnu/sort.c -@@ -2775,7 +2775,7 @@ - xfwrite (buf, 1, cc, ofp); - if (ferror (fp)) - { -- fprintf (stderr, files[i]); -+ fprintf (stderr, "%s", files[i]); - cleanup (); - exit (2); - } ---- a/Makefile.in -+++ b/Makefile.in -@@ -137,7 +137,7 @@ - - CC = @CC@ - --CC_SWITCHES = -I. ${CFLAGS} @USE_DL@ ${INCLUDES} ${AC_FLAGS} -+CC_SWITCHES = -I. ${CFLAGS} ${CPPFLAGS} @USE_DL@ ${INCLUDES} ${AC_FLAGS} - - DEPEND_SWITCHES = -I. ${CFLAGS} ${INCLUDES} ${AC_FLAGS} - ---- a/filter/Makefile.in -+++ b/filter/Makefile.in -@@ -114,7 +114,7 @@ - - CC = @CC@ - --CC_SWITCHES = -I. ${CFLAGS} -DFILT_VERSION="\"$(VERSION)\"" @USE_DL@ \ -+CC_SWITCHES = -I. ${CFLAGS} ${CPPFLAGS} -DFILT_VERSION="\"$(VERSION)\"" @USE_DL@ \ - ${INCLUDES} ${AC_FLAGS} - - DEPEND_SWITCHES = -I. ${CFLAGS} -I. ${INCLUDES} ${AC_FLAGS} ---- a/gnu/Makefile.in -+++ b/gnu/Makefile.in -@@ -87,7 +87,7 @@ - - CC = @CC@ - --CC_SWITCHES = ${CFLAGS} ${INCLUDES} ${AC_FLAGS} -+CC_SWITCHES = ${CFLAGS} ${CPPFLAGS} ${INCLUDES} ${AC_FLAGS} - - DEPEND_SWITCHES = ${CFLAGS} ${INCLUDES} ${AC_FLAGS} - ---- a/util/Makefile.in -+++ b/util/Makefile.in -@@ -105,7 +105,7 @@ - - CC = @CC@ - --CC_SWITCHES = -I. ${CFLAGS} @USE_DL@ ${INCLUDES} ${AC_FLAGS} -+CC_SWITCHES = -I. ${CFLAGS} ${CPPFLAGS} @USE_DL@ ${INCLUDES} ${AC_FLAGS} - - DEPEND_SWITCHES = -I. ${CFLAGS} ${INCLUDES} ${AC_FLAGS} - ---- a/mklib -+++ b/mklib -@@ -169,7 +169,7 @@ - rm -f ${LIBNAME}.so - - # make lib -- ${LINK} ${OPTS} -o ${LIBNAME}.so.${VERSION} ${OBJECTS} ${DEPS} -+ ${LINK} ${LDFLAGS} ${OPTS} -o ${LIBNAME}.so.${VERSION} ${OBJECTS} ${DEPS} - # make usual symlinks - ln -s ${LIBNAME}.so.${VERSION} ${LIBNAME}.so.${MAJOR} - ln -s ${LIBNAME}.so.${MAJOR} ${LIBNAME}.so diff --git a/sci-astronomy/funtools/files/funtools-1.4.4-fix-includes.patch b/sci-astronomy/funtools/files/funtools-1.4.4-fix-includes.patch deleted file mode 100644 index 4068ace7f810..000000000000 --- a/sci-astronomy/funtools/files/funtools-1.4.4-fix-includes.patch +++ /dev/null @@ -1,602 +0,0 @@ -Author: Ole Streicher <debian@liska.ath.cx> -Description: The include files are going to be installed in - /usr/include/funtools. So, they should refer to each other by using "" - instead of <> which also searches in the current directory. ---- a/filter/column.h -+++ b/filter/column.h -@@ -12,14 +12,14 @@ - #define __column_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - - #ifdef HAVE_STRING_H - #include <string.h> - #endif - --#include <prsetup.h> -+#include "prsetup.h" - _PRbeg - - void ColumnLoad _PRx((char *ibuf, int size, int n, int convert, void *obuf)); ---- a/filter/dl.h -+++ b/filter/dl.h -@@ -2,14 +2,14 @@ - #define __dl_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - - #ifdef HAVE_DLFCN_H - #include <dlfcn.h> - #endif - --#include <prsetup.h> -+#include "prsetup.h" - - _PRbeg - ---- a/filter/filter.h -+++ b/filter/filter.h -@@ -12,7 +12,7 @@ - #define __filter_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - - /* avoid use of system -- its not secure */ -@@ -34,28 +34,28 @@ - #include <string.h> - #endif - #include <sys/types.h> --#include <prsetup.h> --#include <gio.h> --#include <file.h> --#include <find.h> --#include <macro.h> --#include <word.h> --#include <xalloc.h> --#include <strtod.h> -+#include "prsetup.h" -+#include "gio.h" -+#include "file.h" -+#include "find.h" -+#include "macro.h" -+#include "word.h" -+#include "xalloc.h" -+#include "strtod.h" - #define USE_XFILEIO 1 --#include <fitsy.h> -+#include "fitsy.h" - #undef USE_XFILEIO --#include <idx.h> --#include <wcs.h> --#include <column.h> --#include <tl.h> --#include <dl.h> --#include <mkrtemp.h> --#include <zprocess.h> --#include <winprocess.h> --#include <parse.h> -+#include "idx.h" -+#include "wcs.h" -+#include "column.h" -+#include "tl.h" -+#include "dl.h" -+#include "mkrtemp.h" -+#include "zprocess.h" -+#include "winprocess.h" -+#include "parse.h" - #ifdef USE_LAUNCH --#include <xlaunch.h> -+#include "xlaunch.h" - #endif - - #ifndef OBJPATH ---- a/filter/idx.h -+++ b/filter/idx.h -@@ -11,9 +11,9 @@ - #define __idx_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif --#include <prsetup.h> -+#include "prsetup.h" - #include <stdio.h> - #include <ctype.h> - #ifdef HAVE_UNISTD_H -@@ -22,10 +22,10 @@ - #ifdef HAVE_STRING_H - #include <string.h> - #endif --#include <fitsy.h> --#include <gio.h> --#include <xalloc.h> --#include <strtod.h> -+#include "fitsy.h" -+#include "gio.h" -+#include "xalloc.h" -+#include "strtod.h" - - /* binary search edge */ - #define IDX_EDGE_LEFT 1 ---- a/filter/tl.h -+++ b/filter/tl.h -@@ -11,7 +11,7 @@ - #ifndef __tl_h - #define __tl_h - --#include <prsetup.h> -+#include "prsetup.h" - - _PRbeg - ---- a/fitsy/fitsy.h -+++ b/fitsy/fitsy.h -@@ -5,13 +5,13 @@ - #define FITSY_H - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - - #if USE_XFILEIO --#include <xfileio.h> -+#include "xfileio.h" - #else --#include <xfile.h> -+#include "xfile.h" - #endif - - #ifdef __STDC__ -@@ -30,7 +30,7 @@ - - #include <ctype.h> - --#include <longlong.h> -+#include "longlong.h" - - #ifndef NULL - #define NULL 0 ---- a/funtools.h -+++ b/funtools.h -@@ -27,11 +27,11 @@ - #define FUN_VERSION "1.4.4" - - #ifndef FUNTOOLS_PRIVATE --#include <prsetup.h> -+#include "prsetup.h" - #define USE_XFILEIO 1 --#include <fitsy.h> -+#include "fitsy.h" - #undef USE_XFILEIO --#include <wcs.h> -+#include "wcs.h" - typedef void *Fun; - #endif - ---- a/funtoolsP.h -+++ b/funtoolsP.h -@@ -12,7 +12,7 @@ - #define __funtoolsP_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - - #include <stdio.h> -@@ -32,20 +32,20 @@ - #include <getopt.h> - #endif - #include <sys/types.h> --#include <prsetup.h> -+#include "prsetup.h" - #define USE_XFILEIO 1 --#include <fitsy.h> -+#include "fitsy.h" - #undef USE_XFILEIO --#include <wcs.h> --#include <filter.h> --#include <file.h> --#include <swap.h> --#include <word.h> --#include <parse.h> --#include <xalloc.h> --#include <mkrtemp.h> --#include <NaN.h> --#include <xlaunch.h> -+#include "wcs.h" -+#include "filter.h" -+#include "file.h" -+#include "swap.h" -+#include "word.h" -+#include "parse.h" -+#include "xalloc.h" -+#include "mkrtemp.h" -+#include "NaN.h" -+#include "xlaunch.h" - - #ifndef MAXINT - #define MAXINT 2147483647 -@@ -338,6 +338,6 @@ int FunView _PRx((Fun fun, char *view, char *vmode, char *fname, int fmax)); - - _PRend - --#include <funtools.h> -+#include "funtools.h" - - #endif /* __funtoolsP.h */ ---- a/ofuntools.h -+++ b/ofuntools.h -@@ -27,11 +27,11 @@ - #define FUN_VERSION "1.4.4" - - #ifndef FUNTOOLS_PRIVATE --#include <prsetup.h> -+#include "prsetup.h" - #define USE_XFILEIO 1 --#include <fitsy.h> -+#include "fitsy.h" - #undef USE_XFILEIO --#include <wcs.h> -+#include "wcs.h" - typedef void *Fun; - #endif - ---- a/util/NaN.h.in -+++ b/util/NaN.h.in -@@ -20,7 +20,7 @@ - #ifndef __nan_h - #define __nan_h - --#include <prsetup.h> -+#include "prsetup.h" - - #define BIGENDIAN @BIGENDIAN@ - ---- a/util/file.h -+++ b/util/file.h -@@ -12,7 +12,7 @@ - #define __file_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - - #include <stdio.h> -@@ -28,9 +28,9 @@ - #endif - #include <sys/types.h> - #include <sys/stat.h> --#include <prsetup.h> --#include <macro.h> --#include <xalloc.h> -+#include "prsetup.h" -+#include "macro.h" -+#include "xalloc.h" - - _PRbeg - int FileExists _PRx((char *filename)); ---- a/util/find.h -+++ b/util/find.h -@@ -12,7 +12,7 @@ - #define __find_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - - #include <stdio.h> -@@ -25,8 +25,8 @@ - #endif - #include <sys/types.h> - #include <sys/stat.h> --#include <xalloc.h> --#include <prsetup.h> -+#include "xalloc.h" -+#include "prsetup.h" - - _PRbeg - ---- a/util/gio.h -+++ b/util/gio.h -@@ -11,10 +11,10 @@ - #ifndef _gio_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - --#include <xport.h> -+#include "xport.h" - - #include <stdio.h> - #ifdef HAVE_STRING_H -@@ -46,8 +46,8 @@ - #include <sys/stat.h> - #include <sys/time.h> - --#include <prsetup.h> --#include <xalloc.h> -+#include "prsetup.h" -+#include "xalloc.h" - - /* use ftello/fseeko (assuming its available) if we are using 64-bit offsets */ - #if _FILE_OFFSET_BITS == 64 ---- a/util/macro.h -+++ b/util/macro.h -@@ -12,7 +12,7 @@ - #define __macro_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - - #include <stdio.h> -@@ -26,7 +26,7 @@ - #ifdef HAVE_STDLIB_H - #include <stdlib.h> - #endif --#include <prsetup.h> -+#include "prsetup.h" - - typedef char *(*MacroCall)( - #ifdef ANSI_FUNC ---- a/util/mainlib.h -+++ b/util/mainlib.h -@@ -12,7 +12,7 @@ - #define __mainlib_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - #ifdef HAVE_STRING_H - #include <string.h> -@@ -29,11 +29,11 @@ - #include <stdio.h> - #include <errno.h> - #include <sys/types.h> --#include <prsetup.h> --#include <xalloc.h> --#include <word.h> --#include <find.h> --#include <gio.h> -+#include "prsetup.h" -+#include "xalloc.h" -+#include "word.h" -+#include "find.h" -+#include "gio.h" - - /* types of mainlibs we recognize */ - #define MAINLIB_ERROR 0 ---- a/util/mkrtemp.h -+++ b/util/mkrtemp.h -@@ -12,7 +12,7 @@ - #define __mkrtemp_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - - #include <sys/types.h> -@@ -31,9 +31,9 @@ - #ifdef HAVE_STDLIB_H - #include <stdlib.h> - #endif --#include <prsetup.h> --#include <word.h> --#include <xalloc.h> -+#include "prsetup.h" -+#include "word.h" -+#include "xalloc.h" - - #ifdef __APPLE__ - #define lrand48 random ---- a/util/parse.h -+++ b/util/parse.h -@@ -12,7 +12,7 @@ - #define __parse_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - - #include <stdio.h> -@@ -33,12 +33,12 @@ - #endif - #include <ctype.h> - --#include <prsetup.h> --#include <strtod.h> --#include <xalloc.h> --#include <word.h> --#include <gio.h> --#include <longlong.h> -+#include "prsetup.h" -+#include "strtod.h" -+#include "xalloc.h" -+#include "word.h" -+#include "gio.h" -+#include "longlong.h" - - #define PARSE_DEBUG 1 - #if PARSE_DEBUG ---- a/util/strtod.h -+++ b/util/strtod.h -@@ -11,7 +11,7 @@ - #ifndef __strtod_h - #define __strtod_h - --#include <prsetup.h> -+#include "prsetup.h" - - extern int SAOdtype; - ---- a/util/swap.h -+++ b/util/swap.h -@@ -11,7 +11,7 @@ - #ifndef __swap_h - #define __swap_h - --#include <prsetup.h> -+#include "prsetup.h" - - /* data types */ - #define TY_CHAR 1 ---- a/util/tclmainlib.h -+++ b/util/tclmainlib.h -@@ -1,4 +1,4 @@ --#include <mainlib.h> -+#include "mainlib.h" - - #if HAVE_TCL - ---- a/util/winprocess.h -+++ b/util/winprocess.h -@@ -13,7 +13,7 @@ - #define __winprocess_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - #include <stdio.h> - #ifdef HAVE_UNISTD_H -@@ -25,7 +25,7 @@ - #ifdef HAVE_STDLIB_H - #include <stdlib.h> - #endif --#include <prsetup.h> -+#include "prsetup.h" - - #if defined(HAVE_CYGWIN) || defined(WIN32) - ---- a/util/word.h -+++ b/util/word.h -@@ -12,7 +12,7 @@ - #define __word_h - - #if HAVE_CONFIG_H --#include <conf.h> -+#include "conf.h" - #endif - #ifdef HAVE_STRING_H - #include <string.h> -@@ -23,8 +23,8 @@ |
