gettext: add a patch to make this build in Ubuntu 9.04.

--HG--
extra : convert_revision : 914660fb802bb2076181481b5861c1a32762e796
This commit is contained in:
Juan RP 2009-04-29 16:01:27 +02:00
parent 40da1cf190
commit eb88ed50d8

View File

@ -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);