[jhbuild] update gettext to 0.17 (#562690)
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild] update gettext to 0.17 (#562690)
- Date: Tue, 21 Apr 2009 16:52:06 -0400 (EDT)
commit 95fcfabeef6f6138f09e449824d863385ef7a8a8
Author: Björn Lindqvist <bjourne gmail com>
Date: Tue Apr 21 22:48:52 2009 +0200
update gettext to 0.17 (#562690)
Gettext 0.17 is required by gst-plugins-good, but it may not build so this
also adds a patch (stolen from gentoo bug tracker).
---
modulesets/bootstrap.modules | 4 +++-
patches/gettext-0.17-open.patch | 14 ++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/modulesets/bootstrap.modules b/modulesets/bootstrap.modules
index 6f9efeb..5bdb9b0 100644
--- a/modulesets/bootstrap.modules
+++ b/modulesets/bootstrap.modules
@@ -15,7 +15,9 @@
<autotools id="gettext" autogen-sh="configure">
<branch repo="ftp.gnu.org"
module="gettext/gettext-0.17.tar.gz" version="0.17"
- size="11640890" md5sum="58a2bc6d39c0ba57823034d55d65d606" />
+ size="11640890" md5sum="58a2bc6d39c0ba57823034d55d65d606">
+ <patch file = "gettext-0.17-open.patch" strip="2"/>
+ </branch>
</autotools>
<autotools id="m4" autogen-sh="configure">
diff --git a/patches/gettext-0.17-open.patch b/patches/gettext-0.17-open.patch
new file mode 100644
index 0000000..45e68cf
--- /dev/null
+++ b/patches/gettext-0.17-open.patch
@@ -0,0 +1,14 @@
+http://bugs.gentoo.org/show_bug.cgi?id=232081
+
+diff -Nru /var/tmp/portage/sys-devel/gettext-0.17-r1/work/gettext-0.17/gettext-tools/src/write-catalog.c /root/hardened/gettext-0.17/gettext-tools/src/write-catalog.c
+--- /gettext-0.17/gettext-tools/src/write-catalog.c 2007-10-07 21:37:39.000000000 +0200
++++ /gettext-0.17/gettext-tools/src/write-catalog.c 2008-06-16 00:28:11.000000000 +0200
+@@ -220,7 +220,7 @@
+ /* Open the output file. */
+ if (!to_stdout)
+ {
+- fd = open (filename, O_WRONLY | O_CREAT);
++ fd = open (filename, O_WRONLY | O_CREAT, S_IRUSR|S_IWUSR);
+ if (fd < 0)
+ {
+ const char *errno_description = strerror (errno);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]