From 931e2daf6e1608f3f98b6e6c4b815e53135045be Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Thu, 26 Sep 2019 00:02:01 -0700 Subject: Add gettext 0.20.1 Two patches from 0.18.8.1 were dropped: - one changing the declaration of environ is no longer needed, the corresponding files no longer have this declaration - one with Woe32 fixes for -O0 may need to be re-added but only after I find what configuration breaks without it; gettext sources overwent a massive restructuring so this patch should not be applied without testing. Signed-off-by: Alexey Neyman diff --git a/packages/gettext/0.19.7/version.desc b/packages/gettext/0.19.7/version.desc index fcfe389..1945106 100644 --- a/packages/gettext/0.19.7/version.desc +++ b/packages/gettext/0.19.7/version.desc @@ -1 +1,2 @@ obsolete='yes' +archive_formats='.tar.xz .tar.lz .tar.gz' diff --git a/packages/gettext/0.19.8.1/version.desc b/packages/gettext/0.19.8.1/version.desc index e69de29..9f75f6b 100644 --- a/packages/gettext/0.19.8.1/version.desc +++ b/packages/gettext/0.19.8.1/version.desc @@ -0,0 +1 @@ +archive_formats='.tar.xz .tar.lz .tar.gz' diff --git a/packages/gettext/0.20.1/0000-Fix-linker-error-redefinition-of-vasprintf.patch b/packages/gettext/0.20.1/0000-Fix-linker-error-redefinition-of-vasprintf.patch new file mode 100644 index 0000000..5e63290 --- /dev/null +++ b/packages/gettext/0.20.1/0000-Fix-linker-error-redefinition-of-vasprintf.patch @@ -0,0 +1,26 @@ +From a76649dae62768d0af7017b3fc0ca5f891588c78 Mon Sep 17 00:00:00 2001 +From: Andoni Morales Alastruey +Date: Wed, 29 Feb 2012 10:44:43 +0100 +Subject: [PATCH] Fix linker error: redefinition of vasprintf + +This might not be the best patch, but it works for us +The link error was: +.libs/autosprintf.o:autosprintf.cc:(.text$vasprintf[_vasprintf]+0x0): multiple definition of `_vasprintf' +.libs/lib-asprintf.o:lib-asprintf.c:(.text+0x4621): first defined here +--- + gettext-runtime/libasprintf/autosprintf.cc | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/gettext-runtime/libasprintf/autosprintf.cc ++++ b/gettext-runtime/libasprintf/autosprintf.cc +@@ -19,8 +19,10 @@ + This must come before because may include + , and once has been included, it's too late. */ + #ifndef _GNU_SOURCE ++#ifndef _WIN32 + # define _GNU_SOURCE 1 + #endif ++#endif + + /* Specification. */ + #include "autosprintf.h" diff --git a/packages/gettext/0.20.1/chksum b/packages/gettext/0.20.1/chksum new file mode 100644 index 0000000..608e188 --- /dev/null +++ b/packages/gettext/0.20.1/chksum @@ -0,0 +1,8 @@ +md5 gettext-0.20.1.tar.xz 9ed9e26ab613b668e0026222a9c23639 +sha1 gettext-0.20.1.tar.xz 62f4a6a2fd5f80bfd0e66c497a04094fa3e07b90 +sha256 gettext-0.20.1.tar.xz 53f02fbbec9e798b0faaf7c73272f83608e835c6288dd58be6c9bb54624a3800 +sha512 gettext-0.20.1.tar.xz 82ffa5a28068272d0587262f8d9269f9629c601da5d122b6645c9c4cf98bfe4149df01bb58522ccf8fe25b931672e18551d7fb34de1cbf6a0463a87f9f8ee221 +md5 gettext-0.20.1.tar.gz bb5b0c0caa028105f3ca1905ddc306e2 +sha1 gettext-0.20.1.tar.gz 2aa01db95b064d7f5d1a46de34a2cc6a57eadf36 +sha256 gettext-0.20.1.tar.gz 66415634c6e8c3fa8b71362879ec7575e27da43da562c798a8a2f223e6e47f5c +sha512 gettext-0.20.1.tar.gz af6d74986da285df0bdd59524bdf01bb12db448e5ea659dda3b60b660c4a9063c80e8c74cc8751334e065e98348ee0db0079e43c67d485a15e86ae236115fe06 diff --git a/packages/gettext/0.20.1/version.desc b/packages/gettext/0.20.1/version.desc new file mode 100644 index 0000000..e69de29 diff --git a/packages/gettext/package.desc b/packages/gettext/package.desc index 8805ae2..99d493f 100644 --- a/packages/gettext/package.desc +++ b/packages/gettext/package.desc @@ -3,5 +3,5 @@ repository='git https://git.savannah.gnu.org/git/gettext.git' # a separate package and depend on it in case of devel builds? bootstrap='./autogen.sh' mirrors='$(CT_Mirrors GNU gettext)' -archive_formats='.tar.xz .tar.lz .tar.gz' +archive_formats='.tar.xz .tar.gz' signature_format='packed/.sig' -- cgit v0.10.2-6-g49f6