vp-build/templates/gettext/build.diff
Juan RP eb88ed50d8 gettext: add a patch to make this build in Ubuntu 9.04.
--HG--
extra : convert_revision : 914660fb802bb2076181481b5861c1a32762e796
2009-04-29 16:01:27 +02:00

12 lines
457 B
Diff

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