From 098749df5182476807f3cfd54929aa43d21616e0 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Thu, 28 Feb 2008 13:46:22 +0000 Subject: Clean up patches and applying of them. --- package/libpng/libpng-remove-setjmp-error.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 package/libpng/libpng-remove-setjmp-error.patch (limited to 'package/libpng/libpng-remove-setjmp-error.patch') diff --git a/package/libpng/libpng-remove-setjmp-error.patch b/package/libpng/libpng-remove-setjmp-error.patch new file mode 100644 index 000000000..19df516d2 --- /dev/null +++ b/package/libpng/libpng-remove-setjmp-error.patch @@ -0,0 +1,17 @@ +diff -ur libpng-1.2.16/pngconf.h libpng-1.2.16-patched/pngconf.h +--- libpng-1.2.16/pngconf.h 2007-01-31 07:22:33.000000000 -0600 ++++ libpng-1.2.16-patched/pngconf.h 2008-02-27 17:40:23.707516659 -0600 +@@ -310,13 +310,6 @@ + # define PNG_SAVE_BSD_SOURCE + # undef _BSD_SOURCE + # endif +-# ifdef _SETJMP_H +- /* If you encounter a compiler error here, see the explanation +- * near the end of INSTALL. +- */ +- __png.h__ already includes setjmp.h; +- __dont__ include it again.; +-# endif + # endif /* __linux__ */ + + /* include setjmp.h for error handling */ -- cgit v1.2.3