summaryrefslogtreecommitdiff
path: root/packages/gettext
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-05-17 19:24:23 +0000
committerKoen Kooi <koen@openembedded.org>2007-05-17 19:24:23 +0000
commitdd8734fb36d95b8faca5db0a9967f7828fc75433 (patch)
tree326a78a014ab11806f5e2b0060706e755412c1b6 /packages/gettext
parent3ded06f5504f9a7b60b67aa9e280c3d3da2366f8 (diff)
parent09d0c6da109b9c875800dd46ff7d848c153322f4 (diff)
merge of '093b89e2fccb4864b6f56bcb61c6455a90dc384e'
and 'a87cb9fd512dbac5e9ea1f2571e2c946278a28ad'
Diffstat (limited to 'packages/gettext')
-rw-r--r--packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch12
-rw-r--r--packages/gettext/gettext_0.14.1.bb5
2 files changed, 16 insertions, 1 deletions
diff --git a/packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch b/packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch
new file mode 100644
index 0000000000..615a53edd5
--- /dev/null
+++ b/packages/gettext/gettext-0.14.1/gettext-error_print_progname.patch
@@ -0,0 +1,12 @@
+diff -ur gettext-0.14.6/gettext-tools/lib/error.h gettext-0.14.6-patched/gettext-tools/lib/error.h
+--- gettext-0.14.6/gettext-tools/lib/error.h 2005-05-20 16:03:42.000000000 -0500
++++ gettext-0.14.6-patched/gettext-tools/lib/error.h 2007-01-13 20:57:24.422168053 -0600
+@@ -50,7 +50,7 @@
+ /* If NULL, error will flush stdout, then print on stderr the program
+ name, a colon and a space. Otherwise, error will call this
+ function without parameters instead. */
+-extern DLL_VARIABLE void (*error_print_progname) (void);
++void (*error_print_progname) (void);
+
+ /* This variable is incremented each time `error' is called. */
+ extern DLL_VARIABLE unsigned int error_message_count;
diff --git a/packages/gettext/gettext_0.14.1.bb b/packages/gettext/gettext_0.14.1.bb
index 906aba8d53..1cc272bf14 100644
--- a/packages/gettext/gettext_0.14.1.bb
+++ b/packages/gettext/gettext_0.14.1.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "The GNU internationalization library."
HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
SECTION = "libs"
LICENSE = "GPL"
-PR = "r4"
+PR = "r5"
PROVIDES = "virtual/libintl"
SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
@@ -10,6 +10,9 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
file://fixchicken.patch;patch=1;pnum=1 \
file://getline.m4.patch;patch=1"
+SRC_URI_append_linux-uclibc = " file://gettext-error_print_progname.patch;patch=1"
+SRC_URI_append_linux-uclibcgnueabi = " file://gettext-error_print_progname.patch;patch=1"
+
PARALLEL_MAKE = ""
inherit autotools