diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 22:53:54 +0100 |
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 22:53:54 +0100 |
| commit | ef3b84d78197acbd45d73a9b1ae44b47b5904290 (patch) | |
| tree | c964dc8184163c1afbc345ea922177f3c15f2d80 /links/patches/001-libpng.patch | |
| parent | 59168bedd25cd2d3e91feccc15fdcbfac59b60ea (diff) | |
| download | qipackages-fork-ef3b84d78197acbd45d73a9b1ae44b47b5904290.tar.gz | |
backport SDL driver into links2 & fixed build system
Diffstat (limited to 'links/patches/001-libpng.patch')
| -rw-r--r-- | links/patches/001-libpng.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/links/patches/001-libpng.patch b/links/patches/001-libpng.patch new file mode 100644 index 0000000..74daa1b --- /dev/null +++ b/links/patches/001-libpng.patch @@ -0,0 +1,22 @@ +--- a/configure.in 2010-09-22 03:19:02.547735166 +0200 ++++ b/configure.in 2010-09-22 03:19:39.237745564 +0200 +@@ -580,14 +580,15 @@ + LIBS="$LIBPNG12_LIBS $LIBS" + fi + fi +- AC_CHECK_HEADERS(png.h libpng/png.h) ++# AC_CHECK_HEADERS(png.h libpng/png.h) ++ AC_DEFINE(HAVE_PNG_H, [], [foo]) + AC_HAVE_FUNCS(png_create_info_struct) + if test "$ac_cv_func_png_create_info_struct" != yes; then + AC_CHECK_LIB(png, png_create_info_struct) + fi +- if test "$ac_cv_header_png_h" != yes -a "$ac_cv_header_libpng_png_h" != yes || test "$ac_cv_func_png_create_info_struct" != yes -a "$ac_cv_lib_png_png_create_info_struct" != yes; then +- AC_ERROR([You need libpng to compile Links in graphics mode]) +- fi ++# if test "$ac_cv_header_png_h" != yes -a "$ac_cv_header_libpng_png_h" != yes || test "$ac_cv_func_png_create_info_struct" != yes -a "$ac_cv_lib_png_png_create_info_struct" != yes; then ++# AC_ERROR([You need libpng to compile Links in graphics mode]) ++# fi + + AC_HAVE_FUNCS(png_set_rgb_to_gray) + AC_HAVE_FUNCS(png_get_image_width png_get_image_height png_get_gAMA png_get_color_type png_get_bit_depth png_set_strip_alpha png_get_valid png_get_sRGB) |
