Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/build/pkgs/libpng/patches/pngconf.h.patch
8821 views
1
--- src/pngconf.h 2009-02-14 22:59:26.000000000 +0100
2
+++ src.new/pngconf.h 2013-12-21 13:59:30.898443798 +0100
3
@@ -311,6 +311,12 @@
4
# define PNG_SETJMP_SUPPORTED
5
#endif
6
7
+
8
+#if !(defined(PNG_SKIP_SETJMP_CHECK) && PNG_SKIP_SETJMP_CHECK)
9
+
10
+/* This is an attempt to get libfreetype 2.5.2 compiled (in sage) with
11
+ *this* version of libpng */
12
+
13
#ifdef PNG_SETJMP_SUPPORTED
14
/* This is an attempt to force a single setjmp behaviour on Linux. If
15
* the X config stuff didn't define _BSD_SOURCE we wouldn't need this.
16
@@ -343,6 +349,8 @@
17
# endif /* __linux__ */
18
#endif /* PNG_SETJMP_SUPPORTED */
19
20
+#endif /* !(defined(PNG_SKIP_SETJMP_CHECK) && PNG_SKIP_SETJMP_CHECK) */
21
+
22
#ifdef BSD
23
# include <strings.h>
24
#else
25
26