summaryrefslogtreecommitdiffstats
path: root/package/libpng/libpng-remove-setjmp-error.patch
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2008-02-28 13:46:22 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2008-02-28 13:46:22 +0000
commit098749df5182476807f3cfd54929aa43d21616e0 (patch)
tree066d26424932398100ec0115c882c509e3931c7e /package/libpng/libpng-remove-setjmp-error.patch
parentbafa6d62cd6d7b7a0a2032ed8293cc2e1c4cab48 (diff)
downloadbuildroot-novena-098749df5182476807f3cfd54929aa43d21616e0.tar.gz
buildroot-novena-098749df5182476807f3cfd54929aa43d21616e0.zip
Clean up patches and applying of them.
Diffstat (limited to 'package/libpng/libpng-remove-setjmp-error.patch')
-rw-r--r--package/libpng/libpng-remove-setjmp-error.patch17
1 files changed, 17 insertions, 0 deletions
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 */