diff options
author | fuzzard <fuzzard@users.noreply.github.com> | 2022-02-14 19:58:38 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 19:58:38 +1000 |
commit | 95fa337a4c271e81638b7f5b78f029331319c316 (patch) | |
tree | 9d1c5c2d5eb5df41b1d432e43b9beb16317cc5a7 /tools/depends | |
parent | ffc73676b6a766b8b1fa6cfe17d3c7bacfce9d94 (diff) | |
parent | 0c87cae8c1e7f6783fc83e09a6d2b5ecb9823baf (diff) |
Merge pull request #20984 from fuzzard/depends_libgpg-error
[tools/depends][target] bump libgpg-error 1.44
Diffstat (limited to 'tools/depends')
4 files changed, 15 insertions, 159 deletions
diff --git a/tools/depends/target/libgpg-error/LIBGPG-ERROR-VERSION b/tools/depends/target/libgpg-error/LIBGPG-ERROR-VERSION new file mode 100644 index 0000000000..0c49be7e65 --- /dev/null +++ b/tools/depends/target/libgpg-error/LIBGPG-ERROR-VERSION @@ -0,0 +1,5 @@ +LIBNAME=libgpg-error +VERSION=1.44 +SOURCE=$(LIBNAME)-$(VERSION) +ARCHIVE=$(SOURCE).tar.bz2 +SHA512=a0eef310b9d44532d1ae6e7266226ea3e82d908aa31f775a026e56a7f8303b78adfdceb3ae5a40f7d242987635e764c539a024ce8dc0d66590e1a3fa50f6b784 diff --git a/tools/depends/target/libgpg-error/Makefile b/tools/depends/target/libgpg-error/Makefile index 40b26c3f3f..63825f09ab 100644 --- a/tools/depends/target/libgpg-error/Makefile +++ b/tools/depends/target/libgpg-error/Makefile @@ -1,30 +1,22 @@ -include ../../Makefile.include -DEPS = ../../Makefile.include Makefile tvos_remove-fork.patch libgpg-error-1.36-gawk5-support.patch ../../download-files.include - -# lib name, version -LIBNAME=libgpg-error -VERSION=1.36 -SOURCE=$(LIBNAME)-$(VERSION) -ARCHIVE=$(SOURCE).tar.bz2 -SHA512=6e5f853f77dc04f0091d94b224cab8e669042450f271b78d0ea0219658d059c9cab1ab0eaa020a4227f451520b417fc340b85971a6f5e144fa69be57e15df346 -include ../../download-files.include +include ../../Makefile.include LIBGPG-ERROR-VERSION ../../download-files.include +DEPS = ../../Makefile.include Makefile LIBGPG-ERROR-VERSION ../../download-files.include \ + tvos_remove-fork.patch # configuration settings CONFIGURE=./configure --prefix=$(PREFIX) \ - --disable-doc \ - --disable-tests \ - --disable-languages \ - --disable-nls --disable-shared + --disable-doc \ + --disable-tests \ + --disable-languages \ + --disable-nls \ + --disable-shared LIBDYLIB=$(PLATFORM)/src/.libs/$(LIBNAME).a all: .installed-$(PLATFORM) - $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) - cd $(PLATFORM); patch -p1 -i ../libgpg-error-1.36-gawk5-support.patch ifeq ($(TARGET_PLATFORM),appletvos) cd $(PLATFORM); patch -p1 -i ../tvos_remove-fork.patch endif diff --git a/tools/depends/target/libgpg-error/libgpg-error-1.36-gawk5-support.patch b/tools/depends/target/libgpg-error/libgpg-error-1.36-gawk5-support.patch deleted file mode 100644 index f0fd6b86c1..0000000000 --- a/tools/depends/target/libgpg-error/libgpg-error-1.36-gawk5-support.patch +++ /dev/null @@ -1,141 +0,0 @@ -From 7865041c77f4f7005282f10f9b6666b19072fbdf Mon Sep 17 00:00:00 2001 -From: NIIBE Yutaka <gniibe@fsij.org> -Date: Mon, 15 Apr 2019 15:10:44 +0900 -Subject: [PATCH] awk: Prepare for Gawk 5.0. - -* src/Makefile.am: Use pkg_namespace (instead of namespace). -* src/mkerrnos.awk: Likewise. -* lang/cl/mkerrcodes.awk: Don't escape # in regexp. -* src/mkerrcodes.awk, src/mkerrcodes1.awk, src/mkerrcodes2.awk: Ditto. - --- - -In Gawk 5.0, regexp routines are replaced by Gnulib implementation, -which only allows escaping specific characters. - -GnuPG-bug-id: 4459 -Reported-by: Marius Schamschula -Signed-off-by: NIIBE Yutaka <gniibe@fsij.org> ---- - lang/cl/mkerrcodes.awk | 2 +- - src/Makefile.am | 2 +- - src/mkerrcodes.awk | 2 +- - src/mkerrcodes1.awk | 2 +- - src/mkerrcodes2.awk | 2 +- - src/mkerrnos.awk | 2 +- - src/mkstrtable.awk | 10 +++++----- - 7 files changed, 11 insertions(+), 11 deletions(-) - ---- a/lang/cl/mkerrcodes.awk -+++ b/lang/cl/mkerrcodes.awk -@@ -122,7 +122,7 @@ - } - - !header { -- sub (/\#.+/, ""); -+ sub (/#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -293,7 +293,7 @@ - - errnos-sym.h: Makefile mkstrtable.awk errnos.in - $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \ -- -v prefix=GPG_ERR_ -v namespace=errnos_ \ -+ -v prefix=GPG_ERR_ -v pkg_namespace=errnos_ \ - $(srcdir)/errnos.in >$@ - - ---- a/src/mkerrcodes.awk -+++ b/src/mkerrcodes.awk -@@ -85,7 +85,7 @@ - } - - !header { -- sub (/\#.+/, ""); -+ sub (/#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) ---- a/src/mkerrcodes1.awk -+++ b/src/mkerrcodes1.awk -@@ -81,7 +81,7 @@ - } - - !header { -- sub (/\#.+/, ""); -+ sub (/#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) ---- a/src/mkerrcodes2.awk -+++ b/src/mkerrcodes2.awk -@@ -91,7 +91,7 @@ - } - - !header { -- sub (/\#.+/, ""); -+ sub (/#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) ---- a/src/mkerrnos.awk -+++ b/src/mkerrnos.awk -@@ -83,7 +83,7 @@ - } - - !header { -- sub (/\#.+/, ""); -+ sub (/#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) ---- a/src/mkstrtable.awk -+++ b/src/mkstrtable.awk -@@ -77,7 +77,7 @@ - # - # The variable prefix can be used to prepend a string to each message. - # --# The variable namespace can be used to prepend a string to each -+# The variable pkg_namespace can be used to prepend a string to each - # variable and macro name. - - BEGIN { -@@ -102,7 +102,7 @@ - print "/* The purpose of this complex string table is to produce"; - print " optimal code with a minimum of relocations. */"; - print ""; -- print "static const char " namespace "msgstr[] = "; -+ print "static const char " pkg_namespace "msgstr[] = "; - header = 0; - } - else -@@ -110,7 +110,7 @@ - } - - !header { -- sub (/\#.+/, ""); -+ sub (/#.+/, ""); - sub (/[ ]+$/, ""); # Strip trailing space and tab characters. - - if (/^$/) -@@ -150,7 +150,7 @@ - else - print " gettext_noop (\"" last_msgstr "\");"; - print ""; -- print "static const int " namespace "msgidx[] ="; -+ print "static const int " pkg_namespace "msgidx[] ="; - print " {"; - for (i = 0; i < coded_msgs; i++) - print " " pos[i] ","; -@@ -158,7 +158,7 @@ - print " };"; - print ""; - print "static GPG_ERR_INLINE int"; -- print namespace "msgidxof (int code)"; -+ print pkg_namespace "msgidxof (int code)"; - print "{"; - print " return (0 ? 0"; - diff --git a/tools/depends/target/libgpg-error/tvos_remove-fork.patch b/tools/depends/target/libgpg-error/tvos_remove-fork.patch index 333f1fac77..23baed3ebb 100644 --- a/tools/depends/target/libgpg-error/tvos_remove-fork.patch +++ b/tools/depends/target/libgpg-error/tvos_remove-fork.patch @@ -27,7 +27,7 @@ _gpgrt_post_syscall (); if (*pid == (pid_t)(-1)) { -@@ -813,7 +813,7 @@ +@@ -818,7 +818,7 @@ return _gpg_err_code_from_syserror (); _gpgrt_pre_syscall (); @@ -36,7 +36,7 @@ _gpgrt_post_syscall (); if (pid == (pid_t)(-1)) { -@@ -830,7 +830,7 @@ +@@ -835,7 +835,7 @@ if (setsid() == -1 || chdir ("/")) _exit (1); |