diff options
author | Rechi <Rechi@users.noreply.github.com> | 2019-06-13 14:22:31 +0200 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2019-06-13 14:22:31 +0200 |
commit | 21c887401dfc0a5e0ba1343599db74196b1f5bb2 (patch) | |
tree | 40a948258a271e3faf7ab491bfb5cb4bc1c79574 | |
parent | 11ba33fb2edf137498a0c364d73069ab3e1d35e5 (diff) |
[depends] refresh gnutls patches
-rw-r--r-- | tools/depends/target/gnutls/Makefile | 2 | ||||
-rw-r--r-- | tools/depends/target/gnutls/size-max.patch | 13 |
2 files changed, 7 insertions, 8 deletions
diff --git a/tools/depends/target/gnutls/Makefile b/tools/depends/target/gnutls/Makefile index 5eb41e45e4..d5e7dbb99d 100644 --- a/tools/depends/target/gnutls/Makefile +++ b/tools/depends/target/gnutls/Makefile @@ -30,7 +30,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); patch -p1 -i ../size-max.patch cd $(PLATFORM); patch -p1 -i ../02-darwin-getentropy.patch cd $(PLATFORM); $(AUTORECONF) -vif cd $(PLATFORM); $(CONFIGURE) diff --git a/tools/depends/target/gnutls/size-max.patch b/tools/depends/target/gnutls/size-max.patch index 4cd927bf37..fd4acfd977 100644 --- a/tools/depends/target/gnutls/size-max.patch +++ b/tools/depends/target/gnutls/size-max.patch @@ -1,16 +1,15 @@ ---- 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 +--- a/gl/read-file.c ++++ b/gl/read-file.c @@ -27,6 +27,7 @@ - + /* Get SIZE_MAX. */ #include <stdint.h> +#include <limits.h> - + /* Get malloc, realloc, free. */ #include <stdlib.h> - ---- src/gl/read-file.c.orig 2014-11-24 10:06:35.473877332 +0100 -+++ src/gl/read-file.c 2014-11-24 10:03:34.005876607 +0100 +--- a/src/gl/read-file.c ++++ b/src/gl/read-file.c @@ -27,6 +27,7 @@ /* Get SIZE_MAX. */ |