vp-build/templates/gettext/patches/fix_open_mode.diff
Juan RP 85a7ceb76f Move all patches to templates/$pkgname/patches.
There's no need to set patch_files/patch_args anymore, all patches
in this directory will be applied with -Np0 and they have .diff
or .patch (and .gz/.bz2) extension.

--HG--
extra : convert_revision : 8d516c033fe34db94ebbcc84c246e84fc96ed901
2009-10-15 16:07:47 +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);