Path: blob/master/build/pkgs/libpng/patches/pngconf.h.patch
8821 views
--- src/pngconf.h 2009-02-14 22:59:26.000000000 +01001+++ src.new/pngconf.h 2013-12-21 13:59:30.898443798 +01002@@ -311,6 +311,12 @@3# define PNG_SETJMP_SUPPORTED4#endif56+7+#if !(defined(PNG_SKIP_SETJMP_CHECK) && PNG_SKIP_SETJMP_CHECK)8+9+/* This is an attempt to get libfreetype 2.5.2 compiled (in sage) with10+ *this* version of libpng */11+12#ifdef PNG_SETJMP_SUPPORTED13/* This is an attempt to force a single setjmp behaviour on Linux. If14* the X config stuff didn't define _BSD_SOURCE we wouldn't need this.15@@ -343,6 +349,8 @@16# endif /* __linux__ */17#endif /* PNG_SETJMP_SUPPORTED */1819+#endif /* !(defined(PNG_SKIP_SETJMP_CHECK) && PNG_SKIP_SETJMP_CHECK) */20+21#ifdef BSD22# include <strings.h>23#else242526