From 9a75ece6cfd4d9ea868dfa7f916b21b90ed4934d Mon Sep 17 00:00:00 2001 From: Jose Luis Marti Date: Sun, 14 Apr 2024 21:05:27 +0200 Subject: [Android][gnutls] Remove fpending patch --- tools/depends/target/gnutls/Makefile | 4 +--- tools/depends/target/gnutls/android-fpending.patch | 13 ------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 tools/depends/target/gnutls/android-fpending.patch (limited to 'tools') diff --git a/tools/depends/target/gnutls/Makefile b/tools/depends/target/gnutls/Makefile index f60773dce9..052373292b 100644 --- a/tools/depends/target/gnutls/Makefile +++ b/tools/depends/target/gnutls/Makefile @@ -1,8 +1,7 @@ include ../../Makefile.include GNUTLS-VERSION ../../download-files.include DEPS = ../../Makefile.include Makefile ../../download-files.include \ add-dl-as-private-lib.patch \ - 03-support-correct-cisdigit.patch \ - android-fpending.patch + 03-support-correct-cisdigit.patch # disable rpl_malloc and rpl_realloc symbols in glib # causes linking errors in libmicrohttpd and ffmpeg with missing symbols @@ -47,7 +46,6 @@ $(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) cd $(PLATFORM); patch -p1 -i ../add-dl-as-private-lib.patch cd $(PLATFORM); patch -p1 -i ../03-support-correct-cisdigit.patch - cd $(PLATFORM); patch -p1 -i ../android-fpending.patch cd $(PLATFORM); $(AUTORECONF) -vif cd $(PLATFORM); $(CONFIGURE) diff --git a/tools/depends/target/gnutls/android-fpending.patch b/tools/depends/target/gnutls/android-fpending.patch deleted file mode 100644 index a16f671908..0000000000 --- a/tools/depends/target/gnutls/android-fpending.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/src/gl/fpending.c -+++ b/src/gl/fpending.c -@@ -39,7 +39,9 @@ - #if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 - /* GNU libc, BeOS, Haiku, Linux libc5 */ - return fp->_IO_write_ptr - fp->_IO_write_base; --#elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ -+#elif defined __ANDROID__ -+ return fp_->_p - fp_->_bf._base; -+#elif defined __sferror || defined __DragonFly__ - /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin < 1.7.34, Minix 3, Android */ - return fp->_p - fp->_bf._base; - #elif defined __EMX__ /* emx+gcc */ -- cgit v1.2.3