changeset 304:998fcdb80a11

include an important bugfix for package gettext
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 05 Apr 2009 11:31:09 +0200
parents dd981878de18
children d3cbc6a36d1c
files src/gettext.mk
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gettext.mk	Sat Apr 04 11:11:19 2009 +0200
+++ b/src/gettext.mk	Sun Apr 05 11:31:09 2009 +0200
@@ -24,6 +24,12 @@
         --disable-nls
     $(MAKE) -C '$(1)/$(libiconv_SUBDIR)' -j 1 install
 
+    # bugfix for gettext
+    # This problem will be solved in gettext >= 1.8. See:
+    # http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=ecad95f51a11409cc0d30b22913a8ba77d3edf1d
+    sed 's/O_CREAT);/O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);/' \
+    	-i '$(1)/gettext-tools/src/write-catalog.c'
+
     # native build for gettext-tools
     cd '$(1)/gettext-tools' && ./configure \
         --disable-shared \