aboutsummaryrefslogtreecommitdiff
path: root/patches/gettext/0.19.6/110-Fix-linker-error-redefinition-of-vasprintf.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-12-04 00:54:25 -0800
committerAlexey Neyman <stilor@att.net>2016-12-06 10:33:20 -0800
commit31e2a8776da537a32790b318d3c944a80247f15d (patch)
tree18bfedf9f3194d538c71ff63b137ce3bfd46d399 /patches/gettext/0.19.6/110-Fix-linker-error-redefinition-of-vasprintf.patch
parentf3fcb8d2f8d02f5d405bbca4c8f5f2b52fef4a6a (diff)
downloadcrosstool-ng-31e2a8776da537a32790b318d3c944a80247f15d.tar.gz
crosstool-ng-31e2a8776da537a32790b318d3c944a80247f15d.tar.bz2
crosstool-ng-31e2a8776da537a32790b318d3c944a80247f15d.zip
Rename gettext 0.19.6 patches to 0.19.7.
120-*.patch needed an update; others copied verbatim. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/gettext/0.19.6/110-Fix-linker-error-redefinition-of-vasprintf.patch')
-rw-r--r--patches/gettext/0.19.6/110-Fix-linker-error-redefinition-of-vasprintf.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/patches/gettext/0.19.6/110-Fix-linker-error-redefinition-of-vasprintf.patch b/patches/gettext/0.19.6/110-Fix-linker-error-redefinition-of-vasprintf.patch
deleted file mode 100644
index dacdfb1e..00000000
--- a/patches/gettext/0.19.6/110-Fix-linker-error-redefinition-of-vasprintf.patch
+++ /dev/null
@@ -1,31 +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(+)
-
-diff --git a/gettext-runtime/libasprintf/autosprintf.cc b/gettext-runtime/libasprintf/autosprintf.cc
-index ca318f7..2526210 100644
---- 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"
---
-1.8.4
-