summaryrefslogtreecommitdiffstats
path: root/package/libpng/libpng-remove-setjmp-error.patch
blob: 6d0d8f7f2f0edfe20f61a98768ea19c6546a49e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -ur libpng-1.2.25/pngconf.h libpng-1.2.25-patched/pngconf.h
--- libpng-1.2.25/pngconf.h	2008-02-18 16:31:05.000000000 -0600
+++ libpng-1.2.25-patched/pngconf.h	2008-03-05 07:30:22.900478085 -0600
@@ -319,13 +319,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.
-      */
-         __pngconf.h__ already includes setjmp.h;
-         __dont__ include it again.;
-#    endif
 #  endif /* __linux__ */
 
    /* include setjmp.h for error handling */