summaryrefslogtreecommitdiff
path: root/packages/gettext/0.19.7/0000-Fix-linker-error-redefinition-of-vasprintf.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-09-21 07:56:07 (GMT)
committerChris Packham <judge.packham@gmail.com>2021-09-21 09:24:31 (GMT)
commit793b2503458b874e58c9d7fafc68686ecb9fd071 (patch)
treee4094b478f5e109d1b21c6b134890d492f1514eb /packages/gettext/0.19.7/0000-Fix-linker-error-redefinition-of-vasprintf.patch
parente4221734830d982a5974132cdd77607b9d2ca1bf (diff)
gettext: Remove obsolete versions
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - gettext-0.19.7 Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/gettext/0.19.7/0000-Fix-linker-error-redefinition-of-vasprintf.patch')
-rw-r--r--packages/gettext/0.19.7/0000-Fix-linker-error-redefinition-of-vasprintf.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/packages/gettext/0.19.7/0000-Fix-linker-error-redefinition-of-vasprintf.patch b/packages/gettext/0.19.7/0000-Fix-linker-error-redefinition-of-vasprintf.patch
deleted file mode 100644
index 5e63290..0000000
--- a/packages/gettext/0.19.7/0000-Fix-linker-error-redefinition-of-vasprintf.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-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"