Update to libpng-1.6.37.
This commit is contained in:
parent
158a82493c
commit
7457cf2357
|
@ -1,35 +1,57 @@
|
|||
diff -Paur --no-dereference -- libpng.upstream/config.sub libpng/config.sub
|
||||
--- libpng.upstream/config.sub
|
||||
+++ libpng/config.sub
|
||||
@@ -1337,7 +1337,7 @@
|
||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
||||
| -sym* | -kopensolaris* \
|
||||
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||
- | -aos* | -aros* \
|
||||
+ | -aos* | -aros* | -sortix* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||
diff -Paur --no-dereference -- libpng.upstream/libpng.pc.in libpng/libpng.pc.in
|
||||
--- libpng.upstream/libpng.pc.in
|
||||
+++ libpng/libpng.pc.in
|
||||
@@ -6,6 +6,6 @@
|
||||
Name: libpng
|
||||
Description: Loads and saves PNG files
|
||||
Version: @PNGLIB_VERSION@
|
||||
-Libs: -L${libdir} -lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
|
||||
+Libs: -L${libdir} -lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ -lz -lm
|
||||
Libs.private: @LIBS@
|
||||
Cflags: -I${includedir}
|
||||
diff -Paur --no-dereference -- libpng.upstream/Makefile.in libpng/Makefile.in
|
||||
--- libpng.upstream/Makefile.in
|
||||
+++ libpng/Makefile.in
|
||||
@@ -1428,8 +1428,6 @@
|
||||
diff -Paur --no-dereference -- libpng.upstream/contrib/libtests/pngvalid.c libpng/contrib/libtests/pngvalid.c
|
||||
--- libpng.upstream/contrib/libtests/pngvalid.c
|
||||
+++ libpng/contrib/libtests/pngvalid.c
|
||||
@@ -18,10 +18,7 @@
|
||||
* transformations performed by libpng.
|
||||
*/
|
||||
|
||||
# do evil things to libpng to cause libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ to be used
|
||||
install-exec-hook:
|
||||
- cd $(DESTDIR)$(bindir); rm -f libpng-config
|
||||
- cd $(DESTDIR)$(bindir); $(LN_S) $(PNGLIB_BASENAME)-config libpng-config
|
||||
@set -x;\
|
||||
cd $(DESTDIR)$(libdir);\
|
||||
for ext in a la so so.@PNGLIB_MAJOR@@PNGLIB_MINOR@.@PNGLIB_RELEASE@ sl dylib dll.a; do\
|
||||
-#define _POSIX_SOURCE 1
|
||||
-#define _ISOC99_SOURCE 1 /* For floating point */
|
||||
-#define _GNU_SOURCE 1 /* For the floating point exception extension */
|
||||
-#define _BSD_SOURCE 1 /* For the floating point exception extension */
|
||||
+/* PATCH: Get feenableexcept without any feature macros. */
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
diff -Paur --no-dereference -- libpng.upstream/contrib/libtests/timepng.c libpng/contrib/libtests/timepng.c
|
||||
--- libpng.upstream/contrib/libtests/timepng.c
|
||||
+++ libpng/contrib/libtests/timepng.c
|
||||
@@ -22,6 +22,10 @@
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
|
||||
+#if !defined(FILENAME_MAX) && defined(__sortix__)
|
||||
+#define FILENAME_MAX 256
|
||||
+#endif
|
||||
+
|
||||
#include <time.h>
|
||||
|
||||
#if defined(HAVE_CONFIG_H) && !defined(PNG_NO_CONFIG_H)
|
||||
diff -Paur --no-dereference -- libpng.upstream/contrib/tools/pngcp.c libpng/contrib/tools/pngcp.c
|
||||
--- libpng.upstream/contrib/tools/pngcp.c
|
||||
+++ libpng/contrib/tools/pngcp.c
|
||||
@@ -70,6 +70,10 @@
|
||||
#include <limits.h>
|
||||
#include <assert.h>
|
||||
|
||||
+#if !defined(FILENAME_MAX) && defined(__sortix__)
|
||||
+#define FILENAME_MAX 256
|
||||
+#endif
|
||||
+
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
diff -Paur --no-dereference -- libpng.upstream/contrib/tools/pngfix.c libpng/contrib/tools/pngfix.c
|
||||
--- libpng.upstream/contrib/tools/pngfix.c
|
||||
+++ libpng/contrib/tools/pngfix.c
|
||||
@@ -18,6 +18,10 @@
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
|
||||
+#if !defined(FILENAME_MAX) && defined(__sortix__)
|
||||
+#define FILENAME_MAX 256
|
||||
+#endif
|
||||
+
|
||||
#define implies(x,y) assert(!(x) || (y))
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
NAME=libpng
|
||||
BUILD_LIBRARIES=libz
|
||||
VERSION=1.5.13
|
||||
VERSION=1.6.37
|
||||
DISTNAME=$NAME-$VERSION
|
||||
COMPRESSION=tar.xz
|
||||
ARCHIVE=$DISTNAME.$COMPRESSION
|
||||
SHA256SUM=b843f9cb01d10ae22acd9aaf58aceaa4a6aeb9cf78943b41588004b271257aee
|
||||
SHA256SUM=505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca
|
||||
UPSTREAM_SITE=https://download.sourceforge.net/libpng
|
||||
UPSTREAM_ARCHIVE=$ARCHIVE
|
||||
LICENSE=Libpng
|
||||
BUILD_SYSTEM=configure
|
||||
CONFIGURE_ARGS='--with-binconfigs=no'
|
||||
CONFIGURE_ARGS='--with-binconfigs=no --disable-unversioned-libpng-config'
|
||||
POST_INSTALL=tix-eradicate-libtool-la
|
||||
RELEASE_SEARCH_PAGE=http://libpng.org/pub/png/libpng.html
|
||||
|
|
Loading…
Reference in New Issue