diff options
Diffstat (limited to 'tools/depends/target/gnutls')
-rw-r--r-- | tools/depends/target/gnutls/Makefile | 7 | ||||
-rw-r--r-- | tools/depends/target/gnutls/size-max.patch | 10 |
2 files changed, 14 insertions, 3 deletions
diff --git a/tools/depends/target/gnutls/Makefile b/tools/depends/target/gnutls/Makefile index 7e7ec69bcc..df45d17f18 100644 --- a/tools/depends/target/gnutls/Makefile +++ b/tools/depends/target/gnutls/Makefile @@ -3,7 +3,7 @@ DEPS= ../../Makefile.include Makefile # lib name, version LIBNAME=gnutls -VERSION=3.1.14 +VERSION=3.3.10 SOURCE=$(LIBNAME)-$(VERSION) ARCHIVE=$(SOURCE).tar.xz @@ -14,9 +14,9 @@ endif # configuration settings CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \ - ./configure --prefix=$(PREFIX) --disable-shared --without-p11-kit --disable-nls + ./configure --prefix=$(PREFIX) --disable-shared --without-p11-kit --disable-nls --enable-local-libopts -LIBDYLIB=$(PLATFORM)/src/.libs/$(LIBNAME).a +LIBDYLIB=$(PLATFORM)/lib/.libs/lib$(LIBNAME).a CLEAN_FILES=$(ARCHIVE) $(PLATFORM) @@ -28,6 +28,7 @@ $(TARBALLS_LOCATION)/$(ARCHIVE): $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS) rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) + cd $(PLATFORM); patch -p0 < ../size-max.patch cd $(PLATFORM); $(CONFIGURE) $(LIBDYLIB): $(PLATFORM) diff --git a/tools/depends/target/gnutls/size-max.patch b/tools/depends/target/gnutls/size-max.patch new file mode 100644 index 0000000000..f2adfc65e0 --- /dev/null +++ b/tools/depends/target/gnutls/size-max.patch @@ -0,0 +1,10 @@ +--- gl/read-file.c.orig 2014-11-24 10:06:35.473877332 +0100 ++++ gl/read-file.c 2014-11-24 10:03:34.005876607 +0100 +@@ -27,6 +27,7 @@ + + /* Get SIZE_MAX. */ + #include <stdint.h> ++#include <limits.h> + + /* Get malloc, realloc, free. */ + #include <stdlib.h> |