summaryrefslogtreecommitdiffstats
path: root/package/gettext
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-20 12:10:48 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-20 12:10:48 +0000
commit057f971934db590a7dc5c5a9f1800e658aa3375c (patch)
tree19ce03ca825cf47b4003908d5aaaf7b1f6f4a831 /package/gettext
parentc81807a9d71fba9f35eeb7e3f3b56bda4b2e0edd (diff)
downloadbuildroot-057f971934db590a7dc5c5a9f1800e658aa3375c.tar.gz
buildroot-057f971934db590a7dc5c5a9f1800e658aa3375c.zip
- bump version
Diffstat (limited to 'package/gettext')
-rw-r--r--package/gettext/gettext-error_print_progname.patch10
-rw-r--r--package/gettext/gettext.mk9
2 files changed, 11 insertions, 8 deletions
diff --git a/package/gettext/gettext-error_print_progname.patch b/package/gettext/gettext-error_print_progname.patch
index 615a53edd5..189d28b576 100644
--- a/package/gettext/gettext-error_print_progname.patch
+++ b/package/gettext/gettext-error_print_progname.patch
@@ -1,11 +1,13 @@
-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 @@
+--- gettext-0.16.1.oorig/gettext-tools/gnulib-lib/error.h 2006-11-27 18:14:50.000000000 +0100
++++ gettext-0.16.1/gettext-tools/gnulib-lib/error.h 2007-06-20 13:29:32.000000000 +0200
+@@ -50,7 +50,10 @@ extern void error_at_line (int __status,
/* 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);
++#ifndef __UCLIBC__
++extern DLL_VARIABLE
++#endif
+void (*error_print_progname) (void);
/* This variable is incremented each time `error' is called. */
diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk
index d0b177e56f..c631cd7d7e 100644
--- a/package/gettext/gettext.mk
+++ b/package/gettext/gettext.mk
@@ -3,7 +3,7 @@
# gettext
#
#############################################################
-GETTEXT_VER:=0.14.6
+GETTEXT_VER:=0.16.1
GETTEXT_SOURCE:=gettext-$(GETTEXT_VER).tar.gz
GETTEXT_SITE:=http://ftp.gnu.org/pub/gnu/gettext
GETTEXT_DIR:=$(BUILD_DIR)/gettext-$(GETTEXT_VER)
@@ -19,7 +19,7 @@ gettext-source: $(DL_DIR)/$(GETTEXT_SOURCE)
$(GETTEXT_DIR)/.unpacked: $(DL_DIR)/$(GETTEXT_SOURCE)
$(GETTEXT_CAT) $(DL_DIR)/$(GETTEXT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(GETTEXT_DIR) package/gettext/ gettext\*.patch
- touch $(GETTEXT_DIR)/.unpacked
+ touch $@
ifeq ($(strip $(BR2_TOOLCHAIN_EXTERNAL)),y)
IGNORE_EXTERNAL_GETTEXT:=--with-included-gettext
@@ -101,8 +101,9 @@ $(GETTEXT_DIR)/.configured: $(GETTEXT_DIR)/.unpacked
--infodir=/usr/info \
--disable-libasprintf \
$(IGNORE_EXTERNAL_GETTEXT) \
+ $(OPENMP) \
);
- touch $(GETTEXT_DIR)/.configured
+ touch $@
$(GETTEXT_DIR)/$(GETTEXT_BINARY): $(GETTEXT_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(GETTEXT_DIR)
@@ -120,7 +121,7 @@ $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY): $(GETTEXT_DIR)/$(GETTEXT_BINARY)
rm -f $(STAGING_DIR)/bin/autopoint $(STAGING_DIR)/bin/envsubst
rm -f $(STAGING_DIR)/bin/gettext.sh $(STAGING_DIR)/bin/gettextize
rm -f $(STAGING_DIR)/bin/msg* $(STAGING_DIR)/bin/?gettext
- touch -c $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)
+ touch -c $@
gettext: uclibc pkgconfig $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)
OpenPOWER on IntegriCloud