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 <stilor@att.net>
This commit is contained in:
Alexey Neyman 2019-09-26 00:02:01 -07:00
parent b4f317a4a5
commit 931e2daf6e
6 changed files with 37 additions and 1 deletions

View File

@ -1 +1,2 @@
obsolete='yes'
archive_formats='.tar.xz .tar.lz .tar.gz'

View File

@ -0,0 +1 @@
archive_formats='.tar.xz .tar.lz .tar.gz'

View File

@ -0,0 +1,26 @@
From a76649dae62768d0af7017b3fc0ca5f891588c78 Mon Sep 17 00:00:00 2001
From: Andoni Morales Alastruey <ylatuya@gmail.com>
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 <config.h> because <config.h> may include
<features.h>, and once <features.h> has been included, it's too late. */
#ifndef _GNU_SOURCE
+#ifndef _WIN32
# define _GNU_SOURCE 1
#endif
+#endif
/* Specification. */
#include "autosprintf.h"

8
packages/gettext/0.20.1/chksum vendored Normal file
View File

@ -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

0
packages/gettext/0.20.1/version.desc vendored Normal file
View File

View File

@ -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'