From eb88ed50d840dcacbdeb4e374de20e891f39c2c8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 29 Apr 2009 16:01:27 +0200 Subject: [PATCH] gettext: add a patch to make this build in Ubuntu 9.04. --HG-- extra : convert_revision : 914660fb802bb2076181481b5861c1a32762e796 --- templates/gettext/build.diff | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 templates/gettext/build.diff diff --git a/templates/gettext/build.diff b/templates/gettext/build.diff new file mode 100644 index 00000000000..38da508b914 --- /dev/null +++ b/templates/gettext/build.diff @@ -0,0 +1,11 @@ +--- gettext-tools/src/write-catalog.c.orig 2009-04-29 15:59:51.212345437 +0200 ++++ gettext-tools/src/write-catalog.c 2009-04-29 16:00:26.023855357 +0200 +@@ -220,7 +220,7 @@ message catalog has plural form translat + /* Open the output file. */ + if (!to_stdout) + { +- fd = open (filename, O_WRONLY | O_CREAT); ++ fd = open (filename, O_WRONLY | O_CREAT, 0755); + if (fd < 0) + { + const char *errno_description = strerror (errno);