From e0f8250ecc4240e9d85feda8d7ad7692cd8a2620 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Tue, 18 Jan 2011 23:09:30 +0100 Subject: libgaiagraphics-0.4-1.fc13.src.rpm --- libgaiagraphics_libgeotiff.patch | 52 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 libgaiagraphics_libgeotiff.patch (limited to 'libgaiagraphics_libgeotiff.patch') diff --git a/libgaiagraphics_libgeotiff.patch b/libgaiagraphics_libgeotiff.patch new file mode 100644 index 0000000..63737b0 --- /dev/null +++ b/libgaiagraphics_libgeotiff.patch @@ -0,0 +1,52 @@ +--- libgaiagraphics-0.4/configure.ac 2010-11-12 15:08:31.000000000 +0100 ++++ libgaiagraphics-0.4_libgeotiff/configure.ac 2010-12-26 02:02:10.651546399 +0100 +@@ -23,11 +23,11 @@ + AC_CHECK_HEADERS(unistd.h,, [AC_MSG_ERROR([cannot find unistd.h, bailing out])]) + AC_CHECK_HEADERS(jpeglib.h,, [AC_MSG_ERROR([cannot find jpeglib.h, bailing out])]) + AC_CHECK_HEADERS(jerror.h,, [AC_MSG_ERROR([cannot find jerror.h, bailing out])]) +-AC_CHECK_HEADERS(geotiff.h,, [AC_MSG_ERROR([cannot find geotiff.h, bailing out])]) +-AC_CHECK_HEADERS(xtiffio.h,, [AC_MSG_ERROR([cannot find xtiffio.h, bailing out])]) +-AC_CHECK_HEADERS(geo_tiffp.h,, [AC_MSG_ERROR([cannot find geo_tiffp.h, bailing out])]) +-AC_CHECK_HEADERS(geovalues.h,, [AC_MSG_ERROR([cannot find geovalues.h, bailing out])]) +-AC_CHECK_HEADERS(geo_normalize.h,, [AC_MSG_ERROR([cannot find geo_normalize.h, bailing out])]) ++AC_CHECK_HEADERS(libgeotiff/geotiff.h,, [AC_MSG_ERROR([cannot find geotiff.h, bailing out])]) ++AC_CHECK_HEADERS(libgeotiff/xtiffio.h,, [AC_MSG_ERROR([cannot find xtiffio.h, bailing out])]) ++AC_CHECK_HEADERS(libgeotiff/geo_tiffp.h,, [AC_MSG_ERROR([cannot find geo_tiffp.h, bailing out])]) ++AC_CHECK_HEADERS(libgeotiff/geovalues.h,, [AC_MSG_ERROR([cannot find geovalues.h, bailing out])]) ++AC_CHECK_HEADERS(libgeotiff/geo_normalize.h,, [AC_MSG_ERROR([cannot find geo_normalize.h, bailing out])]) + + # Checks for programs. + AC_PROG_CXX +@@ -70,6 +70,10 @@ + AC_SUBST(LIBCAIRO_CFLAGS) + AC_SUBST(LIBCAIRO_LIBS) + ++PKG_CHECK_MODULES([LIBGEOTIFF], [libgeotiff], , AC_MSG_ERROR(['libgeotiff' is required but it doesn't seems to be installed on this system.])) ++AC_SUBST(LIBGEOTIFF_CFLAGS) ++AC_SUBST(LIBGEOTIFF_LIBS) ++ + AC_CONFIG_FILES([Makefile \ + headers/Makefile \ + src/Makefile \ +--- libgaiagraphics-0.4/Makefile.in 2010-11-12 15:12:54.000000000 +0100 ++++ libgaiagraphics-0.4_libgeotiff/Makefile.in 2010-12-26 02:10:30.014563710 +0100 +@@ -121,6 +121,8 @@ + LIBOBJS = @LIBOBJS@ + LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ + LIBPNG_LIBS = @LIBPNG_LIBS@ ++LIBGEOTIFF_CFLAGS = @LIBGEOTIFF_CFLAGS@ ++LIBGEOTIFF_LIBS = @LIBGEOTIFF_LIBS@ + LIBS = @LIBS@ + LIBTOOL = @LIBTOOL@ + LN_S = @LN_S@ +--- libgaiagraphics-0.4/src/Makefile.in 2010-11-12 15:12:54.000000000 +0100 ++++ libgaiagraphics-0.4_nochnichtok/src/Makefile.in 2010-12-26 03:38:53.007688314 +0100 +@@ -195,7 +195,7 @@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + AM_CFLAGS = -D_LARGE_FILE=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 \ +- @LIBPNG_CFLAGS@ @LIBCAIRO_CFLAGS@ ++ @LIBPNG_CFLAGS@ @LIBCAIRO_CFLAGS@ @LIBGEOTIFF_CFLAGS@ + + INCLUDES = @CFLAGS@ -I$(top_srcdir)/headers + lib_LTLIBRARIES = libgaiagraphics.la -- cgit