OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [email protected]
  Module: openpkg-src                      Date:   24-Jun-2009 22:58:27
  Branch: HEAD                             Handle: 2009062421582700

  Modified files:
    openpkg-src/gettext     gettext.patch gettext.spec

  Log:
    apply fix for open(2) call

  Summary:
    Revision    Changes     Path
    1.13        +15 -3      openpkg-src/gettext/gettext.patch
    1.75        +1  -1      openpkg-src/gettext/gettext.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gettext/gettext.patch
  ============================================================================
  $ cvs diff -u -r1.12 -r1.13 gettext.patch
  --- openpkg-src/gettext/gettext.patch 7 Nov 2007 07:54:59 -0000       1.12
  +++ openpkg-src/gettext/gettext.patch 24 Jun 2009 20:58:27 -0000      1.13
  @@ -1,6 +1,6 @@
   Index: gettext-runtime/intl/libgnuintl.h.in
   --- gettext-runtime/intl/libgnuintl.h.in.orig        2007-11-02 01:23:43 
+0100
  -+++ gettext-runtime/intl/libgnuintl.h.in     2007-11-07 08:24:35 +0100
  ++++ gettext-runtime/intl/libgnuintl.h.in     2009-06-24 22:51:37 +0200
   @@ -88,7 +88,7 @@
       If he doesn't, we choose the method.  A third possible method is
       _INTL_REDIRECT_ASM, supported only by GCC.  */
  @@ -21,7 +21,7 @@
    # define _INTL_MAY_RETURN_STRING_ARG(n)
   Index: gettext-runtime/intl/plural-exp.c
   --- gettext-runtime/intl/plural-exp.c.orig   2007-10-13 17:51:52 +0200
  -+++ gettext-runtime/intl/plural-exp.c        2007-11-07 08:25:11 +0100
  ++++ gettext-runtime/intl/plural-exp.c        2009-06-24 22:51:37 +0200
   @@ -27,7 +27,7 @@
    
    #include "plural-exp.h"
  @@ -33,7 +33,7 @@
    /* These structs are the constant expression for the germanic plural
   Index: gettext-tools/gnulib-lib/execute.c
   --- gettext-tools/gnulib-lib/execute.c.orig  2007-10-07 22:29:19 +0200
  -+++ gettext-tools/gnulib-lib/execute.c       2007-11-07 08:24:35 +0100
  ++++ gettext-tools/gnulib-lib/execute.c       2009-06-24 22:51:37 +0200
   @@ -196,6 +196,9 @@
         dependent which error is reported which way.  We treat both cases as
         equivalent.  */
  @@ -44,3 +44,15 @@
      sigset_t blocked_signals;
      posix_spawn_file_actions_t actions;
      bool actions_allocated;
  +Index: gettext-tools/src/write-catalog.c
  +--- gettext-tools/src/write-catalog.c.orig   2007-10-07 21:37:39 +0200
  ++++ gettext-tools/src/write-catalog.c        2009-06-24 22:51:37 +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);
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/gettext/gettext.spec
  ============================================================================
  $ cvs diff -u -r1.74 -r1.75 gettext.spec
  --- openpkg-src/gettext/gettext.spec  18 Apr 2009 13:10:39 -0000      1.74
  +++ openpkg-src/gettext/gettext.spec  24 Jun 2009 20:58:27 -0000      1.75
  @@ -32,7 +32,7 @@
   Group:        Charset
   License:      GPL
   Version:      0.17
  -Release:      20080101
  +Release:      20090624
   
   #   list of sources
   Source0:      ftp://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.gz
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to