summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-pda/pilot-link/files/pilot-link-0.12.3-png.patch')
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.3-png.patch78
1 files changed, 0 insertions, 78 deletions
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.3-png.patch b/app-pda/pilot-link/files/pilot-link-0.12.3-png.patch
deleted file mode 100644
index 4de7b3a46b7..00000000000
--- a/app-pda/pilot-link/files/pilot-link-0.12.3-png.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-diff -Naur pilot-link-0.12.3.orig/configure.ac pilot-link-0.12.3/configure.ac
---- pilot-link-0.12.3.orig/configure.ac 2007-11-09 20:36:37.000000000 +0100
-+++ pilot-link-0.12.3/configure.ac 2007-12-19 21:38:27.000000000 +0100
-@@ -225,42 +225,44 @@
- AC_ARG_WITH(libpng,
- [ --with-libpng Prefix where libpng is installed])
-
-- case $with_libpng in
-- /*)
-- PNG_CFLAGS="-I$withval/include"
-- PNG_LIBS="-L$withval/lib"
-- ;;
-- esac
-+ if test "x$with_libpng" != "xno"; then
-
-- save_CFLAGS="$CFLAGS"
-- save_CPPFLAGS="$CPPFLAGS"
-- save_LDFLAGS="$LDFLAGS"
-- CFLAGS="$CFLAGS $PNG_CFLAGS"
-- CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
-- LDFLAGS="$LDFLAGS $PNG_LIBS"
--
-- AC_CHECK_LIB(png, main, [have_png=yes; PNG_LIBS="$PNG_LIBS -lpng"],[have_png=no],[-lm])
-- if test "$have_png" = yes; then
-- AC_CHECK_HEADER(png.h, , have_png=no)
-+ case $with_libpng in
-+ /*)
-+ PNG_CFLAGS="-I$withval/include"
-+ PNG_LIBS="-L$withval/lib"
-+ ;;
-+ esac
-+
-+ save_CFLAGS="$CFLAGS"
-+ save_CPPFLAGS="$CPPFLAGS"
-+ save_LDFLAGS="$LDFLAGS"
-+ CFLAGS="$CFLAGS $PNG_CFLAGS"
-+ CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
-+ LDFLAGS="$LDFLAGS $PNG_LIBS"
-+
-+ AC_CHECK_LIB(png, main, [have_png=yes; PNG_LIBS="$PNG_LIBS -lpng"],[have_png=no],[-lm])
- if test "$have_png" = yes; then
-- AC_MSG_CHECKING(for png setjmp support)
-- AC_EGREP_CPP(yes,
-- [#include <png.h>
-- #ifdef PNG_SETJMP_SUPPORTED
-- yes
-- #endif], , have_png=no)
-- AC_MSG_RESULT($have_png)
-+ AC_CHECK_HEADER(png.h, , have_png=no)
- if test "$have_png" = yes; then
-- AC_DEFINE(HAVE_PNG, 1, [Define if we have PNG support])
-- have_png=yes
-- msg_png=yes
-+ AC_MSG_CHECKING(for png setjmp support)
-+ AC_EGREP_CPP(yes,
-+ [#include <png.h>
-+ #ifdef PNG_SETJMP_SUPPORTED
-+ yes
-+ #endif], , have_png=no)
-+ AC_MSG_RESULT($have_png)
-+ if test "$have_png" = yes; then
-+ AC_DEFINE(HAVE_PNG, 1, [Define if we have PNG support])
-+ have_png=yes
-+ msg_png=yes
-+ fi
- fi
- fi
-+ CFLAGS="$save_CFLAGS"
-+ CPPFLAGS="$save_CPPFLAGS"
-+ LDFLAGS="$save_LDFLAGS"
- fi
--
-- CFLAGS="$save_CFLAGS"
-- CPPFLAGS="$save_CPPFLAGS"
-- LDFLAGS="$save_LDFLAGS"
- else
- have_png="none"
- PNG_CFLAGS=