summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext/gettext-0.18.1.1/autotools.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/gettext/gettext-0.18.1.1/autotools.patch')
-rw-r--r--meta/recipes-core/gettext/gettext-0.18.1.1/autotools.patch64
1 files changed, 64 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.18.1.1/autotools.patch b/meta/recipes-core/gettext/gettext-0.18.1.1/autotools.patch
new file mode 100644
index 0000000000..e4545fda3e
--- /dev/null
+++ b/meta/recipes-core/gettext/gettext-0.18.1.1/autotools.patch
@@ -0,0 +1,64 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: gettext-0.17/gettext-runtime/man/Makefile.am
4===================================================================
5--- gettext-0.17.orig/gettext-runtime/man/Makefile.am 2007-10-07 21:37:36.000000000 +0200
6+++ gettext-0.17/gettext-runtime/man/Makefile.am 2008-05-09 22:46:37.000000000 +0200
7@@ -158,8 +158,7 @@
8 $(MAN2HTML) $(srcdir)/bind_textdomain_codeset.3.in | sed -e '/CreationDate:/d' > t-$@
9 mv t-$@ $@
10
11-install-html-local:
12- $(mkdir_p) $(DESTDIR)$(htmldir)
13+install-html: installdirs-html
14 for file in $(man_HTML); do \
15 if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
16 $(INSTALL_DATA) $$dir/$$file $(DESTDIR)$(htmldir)/$$file; \
17Index: gettext-0.17/gettext-tools/man/Makefile.am
18===================================================================
19--- gettext-0.17.orig/gettext-tools/man/Makefile.am 2007-10-28 00:18:37.000000000 +0200
20+++ gettext-0.17/gettext-tools/man/Makefile.am 2008-05-09 22:46:37.000000000 +0200
21@@ -186,8 +186,7 @@
22 $(MAN2HTML) `if test -f autopoint.1; then echo .; else echo $(srcdir); fi`/autopoint.1 | sed -e '/CreationDate:/d' > t-$@
23 mv t-$@ $@
24
25-install-html-local:
26- $(mkdir_p) $(DESTDIR)$(htmldir)
27+install-html: installdirs-html
28 for file in $(man_HTML); do \
29 if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
30 $(INSTALL_DATA) $$dir/$$file $(DESTDIR)$(htmldir)/$$file; \
31Index: gettext-0.17/gettext-runtime/libasprintf/configure.ac
32===================================================================
33--- gettext-0.17.orig/gettext-runtime/libasprintf/configure.ac 2008-05-09 22:53:42.000000000 +0200
34+++ gettext-0.17/gettext-runtime/libasprintf/configure.ac 2008-05-09 22:53:54.000000000 +0200
35@@ -1,5 +1,5 @@
36 dnl Configuration for the GNU libasprintf library
37-dnl Copyright (C) 2002-2006 Free Software Foundation, Inc.
38+dnl Copyright (C) 2002-2007 Free Software Foundation, Inc.
39 dnl
40 dnl This program is free software: you can redistribute it and/or modify
41 dnl it under the terms of the GNU General Public License as published by
42@@ -54,8 +54,7 @@
43 dnl Checks for typedefs, structures, and compiler characteristics.
44 AC_C_INLINE
45 AC_TYPE_SIZE_T
46-gl_AC_TYPE_LONG_LONG
47-gt_TYPE_LONGDOUBLE
48+AC_TYPE_LONG_LONG_INT
49 gt_TYPE_WCHAR_T
50 gt_TYPE_WINT_T
51 AC_CHECK_TYPE([ptrdiff_t], ,
52@@ -79,8 +78,11 @@
53 AC_SUBST([ALLOCA_H])
54
55 AC_CHECK_FUNCS([snprintf vasprintf wcslen])
56-AC_CHECK_DECLS([_snprintf])
57+dnl Use the _snprintf function only if it is declared (because on NetBSD it
58+dnl is defined as a weak alias of snprintf; we prefer to use the latter).
59+AC_CHECK_DECLS([_snprintf], , , [#include <stdio.h>])
60 gt_PRINTF_POSIX
61+gl_EOVERFLOW
62
63 dnl Check for tools needed for formatting the documentation.
64 ac_aux_dir_abs=`cd $ac_aux_dir && pwd`