diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-05-11 16:42:47 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-05-11 16:42:47 +0000 |
commit | 5fc04044ae31f68b227813a3c7fc06cb6f785c80 (patch) | |
tree | f35d4af571a9a47fad30e63e96782293eb627711 /dev-tcltk/tkimg/files | |
parent | Marked ~ppc for bug #285889. (diff) | |
download | gentoo-2-5fc04044ae31f68b227813a3c7fc06cb6f785c80.tar.gz gentoo-2-5fc04044ae31f68b227813a3c7fc06cb6f785c80.tar.bz2 gentoo-2-5fc04044ae31f68b227813a3c7fc06cb6f785c80.zip |
Version Bump #312695
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-tcltk/tkimg/files')
-rw-r--r-- | dev-tcltk/tkimg/files/tkimg-1.3.20100510-gentoo.patch | 254 |
1 files changed, 254 insertions, 0 deletions
diff --git a/dev-tcltk/tkimg/files/tkimg-1.3.20100510-gentoo.patch b/dev-tcltk/tkimg/files/tkimg-1.3.20100510-gentoo.patch new file mode 100644 index 000000000000..7788e3f70e85 --- /dev/null +++ b/dev-tcltk/tkimg/files/tkimg-1.3.20100510-gentoo.patch @@ -0,0 +1,254 @@ +diff --git a/jpeg/jpeg.c b/jpeg/jpeg.c +index d687325..d6b876b 100644 +--- a/jpeg/jpeg.c ++++ b/jpeg/jpeg.c +@@ -55,6 +55,7 @@ + #include <stdio.h> + + #include "tcl.h" ++#include "init.c" + #include "jpegtcl.h" + + static int SetupJPegLibrary(Tcl_Interp *interp); +@@ -62,7 +63,6 @@ static int SetupJPegLibrary(Tcl_Interp *interp); + #define MORE_INITIALIZATION \ + if (SetupJPegLibrary (interp) != TCL_OK) { return TCL_ERROR; } + +-#include "init.c" + + /* system includes */ + #include <stdlib.h> +diff --git a/libjpeg/Makefile.in b/libjpeg/Makefile.in +index 411b309..a575177 100644 +--- a/libjpeg/Makefile.in ++++ b/libjpeg/Makefile.in +@@ -33,8 +33,8 @@ + # $(srcdir) or in the generic, win or unix subdirectory. + #======================================================================== + +-PKG_SOURCES = @PKG_SOURCES@ +-PKG_OBJECTS = @PKG_OBJECTS@ ++PKG_SOURCES = jpegtcl.c jpegtclStubInit.c ++PKG_OBJECTS = jpegtcl.o jpegtclStubInit.o + + PKG_STUB_SOURCES = @PKG_STUB_SOURCES@ + PKG_STUB_OBJECTS = @PKG_STUB_OBJECTS@ +@@ -107,7 +107,7 @@ RANLIB = @RANLIB@ + RANLIB_STUB = @RANLIB_STUB@ + SHLIB_CFLAGS = @SHLIB_CFLAGS@ + SHLIB_LD = @SHLIB_LD@ +-SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ ++SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ -ljpeg + STLIB_LD = @STLIB_LD@ + TCL_DEFS = @TCL_DEFS@ + TCL_BIN_DIR = @TCL_BIN_DIR@ +diff --git a/libjpeg/jpegtclDecls.h b/libjpeg/jpegtclDecls.h +index 9d2ae2e..0afc148 100644 +--- a/libjpeg/jpegtclDecls.h ++++ b/libjpeg/jpegtclDecls.h +@@ -20,8 +20,8 @@ + #undef EXTERN + + #include "jpegtclDeclsMask.h" +-#include "../compat/libjpeg/jpeglib.h" +-#include "../compat/libjpeg/jerror.h" ++#include <@GENTOO_PORTAGE_EPREFIX@/usr/include/jpeglib.h> ++#include <@GENTOO_PORTAGE_EPREFIX@/usr/include/jerror.h> + #include "jpegtclDeclsUnmask.h" + + /* +diff --git a/libpng/Makefile.in b/libpng/Makefile.in +index b84c3c5..9078062 100644 +--- a/libpng/Makefile.in ++++ b/libpng/Makefile.in +@@ -37,8 +37,8 @@ zlibtcl_VERSION = @zlibtcl_VERSION@ + # $(srcdir) or in the generic, win or unix subdirectory. + #======================================================================== + +-PKG_SOURCES = @PKG_SOURCES@ +-PKG_OBJECTS = @PKG_OBJECTS@ ++PKG_SOURCES = pngtcl.c pngtclStubInit.c ++PKG_OBJECTS = pngtcl.o pngtclStubInit.o + + PKG_STUB_SOURCES = @PKG_STUB_SOURCES@ + PKG_STUB_OBJECTS = @PKG_STUB_OBJECTS@ +@@ -111,7 +111,7 @@ RANLIB = @RANLIB@ + RANLIB_STUB = @RANLIB_STUB@ + SHLIB_CFLAGS = @SHLIB_CFLAGS@ + SHLIB_LD = @SHLIB_LD@ +-SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ ++SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ -lpng + STLIB_LD = @STLIB_LD@ + TCL_DEFS = @TCL_DEFS@ + TCL_BIN_DIR = @TCL_BIN_DIR@ +diff --git a/libpng/pngtclDecls.h b/libpng/pngtclDecls.h +index 834bd23..259e069 100644 +--- a/libpng/pngtclDecls.h ++++ b/libpng/pngtclDecls.h +@@ -16,7 +16,7 @@ + + #include "tcl.h" + #include "pngtclDeclsMask.h" +-#include "../compat/libpng/png.h" ++#include "@GENTOO_PORTAGE_EPREFIX@/usr/include/png.h" + #include "pngtclDeclsUnmask.h" + + /* !BEGIN!: Do not edit below this line. */ +@@ -309,7 +309,7 @@ PNGTCLAPI void png_data_freer(png_structp png_ptr, + png_uint_32 mask); + /* 98 */ + PNGTCLAPI png_voidp png_malloc_default(png_structp png_ptr, +- png_uint_32 size); ++ png_alloc_size_t size); + /* 99 */ + PNGTCLAPI void png_free_default(png_structp png_ptr, png_voidp ptr); + /* Slot 100 is reserved */ +@@ -1067,10 +1067,10 @@ typedef struct PngtclStubs { + void (*png_read_endPtr) (png_structp png_ptr, png_infop info_ptr); /* 59 */ + void (*png_destroy_info_structPtr) (png_structp png_ptr, png_infopp info_ptr_ptr); /* 60 */ + void (*png_destroy_read_structPtr) (png_structpp png_ptr_ptr, png_infopp info_ptr_ptr, png_infopp end_info_ptr_ptr); /* 61 */ +- void (*png_read_destroyPtr) (png_structp png_ptr, png_infop info_ptr, png_infop end_info_ptr); /* 62 */ ++/* void (*png_read_destroyPtr) (png_structp png_ptr, png_infop info_ptr, png_infop end_info_ptr); */ /* 62 */ + void (*png_destroy_write_structPtr) (png_structpp png_ptr_ptr, png_infopp info_ptr_ptr); /* 63 */ + void *reserved64; +- void (*png_write_destroyPtr) (png_structp png_ptr); /* 65 */ ++/* void (*png_write_destroyPtr) (png_structp png_ptr); */ /* 65 */ + void (*png_set_crc_actionPtr) (png_structp png_ptr, int crit_action, int ancil_action); /* 66 */ + void (*png_set_filterPtr) (png_structp png_ptr, int method, int filters); /* 67 */ + void (*png_set_filter_heuristicsPtr) (png_structp png_ptr, int heuristic_method, int num_weights, png_doublep filter_weights, png_doublep filter_costs); /* 68 */ +diff --git a/libpng/pngtclStubInit.c b/libpng/pngtclStubInit.c +index f8d2d9b..3309ee9 100644 +--- a/libpng/pngtclStubInit.c ++++ b/libpng/pngtclStubInit.c +@@ -197,10 +197,10 @@ const PngtclStubs pngtclStubs = { + png_read_end, /* 59 */ + png_destroy_info_struct, /* 60 */ + png_destroy_read_struct, /* 61 */ +- png_read_destroy, /* 62 */ ++/* png_read_destroy, */ /* 62 */ + png_destroy_write_struct, /* 63 */ + NULL, /* 64 */ +- png_write_destroy, /* 65 */ ++/* png_write_destroy, */ /* 65 */ + png_set_crc_action, /* 66 */ + png_set_filter, /* 67 */ + #if !defined(PNG_WRITE_WEIGHTED_FILTER_SUPPORTED) || !defined(PNG_FLOATING_POINT_SUPPORTED) +diff --git a/libtiff/Makefile.in b/libtiff/Makefile.in +index 4592093..e32f5d2 100644 +--- a/libtiff/Makefile.in ++++ b/libtiff/Makefile.in +@@ -35,8 +35,8 @@ + + # tif_fax3sm is special. It is generated. + +-PKG_SOURCES = @PKG_SOURCES@ tif_fax3sm.c +-PKG_OBJECTS = @PKG_OBJECTS@ tif_fax3sm.$(OBJEXT) ++PKG_SOURCES = tifftcl.c tifftclStubInit.c ++PKG_OBJECTS = tifftcl.o tifftclStubInit.o + + PKG_STUB_SOURCES = @PKG_STUB_SOURCES@ + PKG_STUB_OBJECTS = @PKG_STUB_OBJECTS@ +@@ -109,7 +109,7 @@ RANLIB = @RANLIB@ + RANLIB_STUB = @RANLIB_STUB@ + SHLIB_CFLAGS = @SHLIB_CFLAGS@ + SHLIB_LD = @SHLIB_LD@ +-SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ ++SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ -ltiff + STLIB_LD = @STLIB_LD@ + TCL_DEFS = @TCL_DEFS@ + TCL_BIN_DIR = @TCL_BIN_DIR@ +diff --git a/libtiff/tifftclDecls.h b/libtiff/tifftclDecls.h +index b30485d..7dd700b 100644 +--- a/libtiff/tifftclDecls.h ++++ b/libtiff/tifftclDecls.h +@@ -24,8 +24,9 @@ + #undef INLINE + + #include "tifftclDeclsMask.h" +-#include "../compat/libtiff/libtiff/tiffio.h" + #include "../compat/libtiff/libtiff/tiffiop.h" ++#include "@GENTOO_PORTAGE_EPREFIX@/usr/include/tiff.h" ++#include "@GENTOO_PORTAGE_EPREFIX@/usr/include/tiffio.h" + #include "../compat/libtiff/libtiff/tif_predict.h" + #include "tifftclDeclsUnmask.h" + +diff --git a/tiff/tiff.c b/tiff/tiff.c +index a5d5949..826da9a 100644 +--- a/tiff/tiff.c ++++ b/tiff/tiff.c +@@ -17,6 +17,7 @@ + #include "tcl.h" + #include "tifftcl.h" + #include "zlibtcl.h" ++#include "init.c" + + #ifdef HAVE_STDLIB_H + #undef HAVE_STDLIB_H +@@ -29,7 +30,6 @@ static int SetupTiffLibrary(Tcl_Interp *interp); + #define MORE_INITIALIZATION \ + if (SetupTiffLibrary (interp) != TCL_OK) { return TCL_ERROR; } + +-#include "init.c" + + #include "tiffInt.h" + +diff --git a/zlib/Makefile.in b/zlib/Makefile.in +index cb71481..eb51145 100644 +--- a/zlib/Makefile.in ++++ b/zlib/Makefile.in +@@ -33,8 +33,8 @@ + # $(srcdir) or in the generic, win or unix subdirectory. + #======================================================================== + +-PKG_SOURCES = @PKG_SOURCES@ +-PKG_OBJECTS = @PKG_OBJECTS@ ++PKG_SOURCES = zlibtcl.c zlibtclStubInit.c ++PKG_OBJECTS = zlibtcl.o zlibtclStubInit.o + + PKG_STUB_SOURCES = @PKG_STUB_SOURCES@ + PKG_STUB_OBJECTS = @PKG_STUB_OBJECTS@ +@@ -107,7 +107,7 @@ RANLIB = @RANLIB@ + RANLIB_STUB = @RANLIB_STUB@ + SHLIB_CFLAGS = @SHLIB_CFLAGS@ + SHLIB_LD = @SHLIB_LD@ +-SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ ++SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ -lz + STLIB_LD = @STLIB_LD@ + TCL_DEFS = @TCL_DEFS@ + TCL_BIN_DIR = @TCL_BIN_DIR@ +diff --git a/zlib/configure.in b/zlib/configure.in +index 292d3aa..bc045d6 100644 +--- a/zlib/configure.in ++++ b/zlib/configure.in +@@ -51,17 +51,12 @@ TEA_SETUP_COMPILER + #----------------------------------------------------------------------- + + TEA_ADD_SOURCES([zlibtcl.c zlibtclStubInit.c]) +-TEA_ADD_SOURCES([../compat/zlib/adler32.c ../compat/zlib/compress.c ../compat/zlib/crc32.c]) +-TEA_ADD_SOURCES([../compat/zlib/deflate.c ../compat/zlib/gzclose.c ../compat/zlib/gzlib.c]) +-TEA_ADD_SOURCES([../compat/zlib/gzread.c ../compat/zlib/gzwrite.c ../compat/zlib/infback.c]) +-TEA_ADD_SOURCES([../compat/zlib/inffast.c ../compat/zlib/inflate.c ../compat/zlib/inftrees.c]) +-TEA_ADD_SOURCES([../compat/zlib/trees.c ../compat/zlib/uncompr.c ../compat/zlib/zutil.c]) + + TEA_ADD_HEADERS([zlibtcl.h zlibtclDecls.h]) + TEA_ADD_HEADERS([zlibtclDeclsMask.h zlibtclDeclsUnmask.h]) + + TEA_ADD_INCLUDES([-I\"`\${CYGPATH} \${srcdir}`\"]) +-TEA_ADD_LIBS([]) ++TEA_ADD_LIBS([-lz]) + TEA_ADD_CFLAGS([]) + TEA_ADD_STUB_SOURCES([zlibtclStubLib.c]) + TEA_ADD_SOURCES([zlibtclStubLib.c]) +diff --git a/zlib/zlibtclDecls.h b/zlib/zlibtclDecls.h +index c91496f..630abc7 100644 +--- a/zlib/zlibtclDecls.h ++++ b/zlib/zlibtclDecls.h +@@ -16,7 +16,7 @@ + + #include "tcl.h" + #include "zlibtclDeclsMask.h" +-#include "../compat/zlib/zlib.h" ++#include "@GENTOO_PORTAGE_EPREFIX@/usr/include/zlib.h" + #include "zlibtclDeclsUnmask.h" + + /* !BEGIN!: Do not edit below this line. */ |