aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/gnutls
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2014-11-24 10:12:39 +0100
committerwsnipex <wsnipex@a1.net>2014-12-20 15:10:37 +0100
commit611f6c82ae6cbfa8fbfa81e58d0bf4be128cc263 (patch)
tree0e345fcf2fcd4c5c1cf209acfeb984d1cc4006f1 /tools/depends/target/gnutls
parent313b9df535ed5d2405bd14437960e747211e5185 (diff)
[depends] bump gnutls to last stable version 3.3.10
Diffstat (limited to 'tools/depends/target/gnutls')
-rw-r--r--tools/depends/target/gnutls/Makefile7
-rw-r--r--tools/depends/target/gnutls/size-max.patch10
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>