forked from pool/gettext-runtime
This commit is contained in:
parent
4bc647d252
commit
53f6f2336f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 14:43:27 CET 2007 - pth@suse.de
|
||||
|
||||
- Add patch from upstreams to add the missing mode for the open call.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 23 14:47:34 CET 2007 - pth@suse.de
|
||||
|
||||
|
@ -18,7 +18,7 @@ License: LGPL v2.1 or later
|
||||
Group: Development/Tools/Other
|
||||
AutoReqProv: on
|
||||
Version: 0.17
|
||||
Release: 2
|
||||
Release: 7
|
||||
Summary: Native Language Support (NLS) for C#
|
||||
PreReq: %{install_info_prereq}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -35,6 +35,7 @@ Patch6: gettext-0.15-docdir.diff
|
||||
Patch7: gettext-autotools.patch
|
||||
Patch8: gettext-gl_AC_TYPE_LONG_LONG.patch
|
||||
Patch9: gettext-needlessly_init_vars.patch
|
||||
Patch10: gettext-open_missing_mode.patch
|
||||
|
||||
%description
|
||||
Mono with its 'resgen' program uses a design that Microsoft created and
|
||||
@ -74,6 +75,7 @@ Authors:
|
||||
%patch7
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
pushd gettext-tools/misc
|
||||
tar xfz archive.tar.gz
|
||||
find . -name gettext.m4,v -print0 | xargs -0 perl -spi -e 's/\(int\) /\(long\) /g'
|
||||
@ -128,6 +130,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%_libdir/gettext/msgunfmt.net.exe
|
||||
|
||||
%changelog
|
||||
* Tue Dec 04 2007 - pth@suse.de
|
||||
- Add patch from upstreams to add the missing mode for the open call.
|
||||
* Fri Nov 23 2007 - pth@suse.de
|
||||
- Remove the patch for disabling a test.
|
||||
* Fri Nov 16 2007 - pth@suse.de
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 14:43:46 CET 2007 - pth@suse.de
|
||||
|
||||
- Add patch from upstreams to add the missing mode for the open call.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 23 14:48:47 CET 2007 - pth@suse.de
|
||||
|
||||
|
@ -17,7 +17,7 @@ License: LGPL v2.1 or later
|
||||
Group: Development/Tools/Other
|
||||
AutoReqProv: on
|
||||
Version: 0.17
|
||||
Release: 2
|
||||
Release: 6
|
||||
Summary: Java Support for Native Language Support (NLS)
|
||||
PreReq: %{install_info_prereq}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -34,6 +34,7 @@ Patch6: gettext-0.15-docdir.diff
|
||||
Patch7: gettext-autotools.patch
|
||||
Patch8: gettext-gl_AC_TYPE_LONG_LONG.patch
|
||||
Patch9: gettext-needlessly_init_vars.patch
|
||||
Patch10: gettext-open_missing_mode.patch
|
||||
|
||||
%description
|
||||
This package includes the tools needed to support message catalogs in
|
||||
@ -58,6 +59,7 @@ Authors:
|
||||
%patch7
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
pushd gettext-tools/misc
|
||||
tar xfz archive.tar.gz
|
||||
find . -name gettext.m4,v -print0 | xargs -0 perl -spi -e 's/\(int\) /\(long\) /g'
|
||||
@ -132,6 +134,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%_libdir/gettext/gnu.gettext.GetURL
|
||||
|
||||
%changelog
|
||||
* Tue Dec 04 2007 - pth@suse.de
|
||||
- Add patch from upstreams to add the missing mode for the open call.
|
||||
* Fri Nov 23 2007 - pth@suse.de
|
||||
- Remove the patch for disabling a test.
|
||||
* Fri Nov 16 2007 - pth@suse.de
|
||||
|
40
gettext-open_missing_mode.patch
Normal file
40
gettext-open_missing_mode.patch
Normal file
@ -0,0 +1,40 @@
|
||||
2007-11-07 Jim Meyering <meyering@redhat.com>
|
||||
Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* write-catalog.c (msgdomain_list_print): Fix open() call.
|
||||
|
||||
*** gettext-tools/src/write-catalog.c.bak 2007-10-07 21:37:39.000000000 +0200
|
||||
--- gettext-tools/src/write-catalog.c 2007-11-07 12:39:29.000000000 +0100
|
||||
***************
|
||||
*** 1,5 ****
|
||||
/* GNU gettext - internationalization aids
|
||||
! Copyright (C) 1995-1998, 2000-2006 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
--- 1,5 ----
|
||||
/* GNU gettext - internationalization aids
|
||||
! Copyright (C) 1995-1998, 2000-2007 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
***************
|
||||
*** 220,226 ****
|
||||
/* Open the output file. */
|
||||
if (!to_stdout)
|
||||
{
|
||||
! fd = open (filename, O_WRONLY | O_CREAT);
|
||||
if (fd < 0)
|
||||
{
|
||||
const char *errno_description = strerror (errno);
|
||||
--- 220,228 ----
|
||||
/* Open the output file. */
|
||||
if (!to_stdout)
|
||||
{
|
||||
! fd = open (filename, O_WRONLY | O_CREAT | O_TRUNC,
|
||||
! /* 0666 in portable POSIX notation: */
|
||||
! S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
|
||||
if (fd < 0)
|
||||
{
|
||||
const char *errno_description = strerror (errno);
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 14:42:03 CET 2007 - pth@suse.de
|
||||
|
||||
- Add patch from upstreams to add the missing mode for the open call.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 23 14:43:11 CET 2007 - pth@suse.de
|
||||
|
||||
|
@ -22,7 +22,7 @@ Group: Development/Tools/Other
|
||||
Provides: gettext = %{version}
|
||||
Obsoletes: gettext < %{version}
|
||||
Version: 0.17
|
||||
Release: 2
|
||||
Release: 6
|
||||
Summary: Tools for Native Language Support (NLS)
|
||||
PreReq: %{install_info_prereq}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -39,6 +39,7 @@ Patch6: gettext-0.15-docdir.diff
|
||||
Patch7: gettext-autotools.patch
|
||||
Patch8: gettext-gl_AC_TYPE_LONG_LONG.patch
|
||||
Patch9: gettext-needlessly_init_vars.patch
|
||||
Patch10: gettext-open_missing_mode.patch
|
||||
|
||||
%description
|
||||
This package contains the intl library as well as tools that ease the
|
||||
@ -58,9 +59,10 @@ Authors:
|
||||
%package -n gettext-tools
|
||||
Summary: Tools for Native Language Support (NLS)
|
||||
Group: Development/Tools/Other
|
||||
Requires: %{name} = %{version} cvs
|
||||
Provides: gettext-devel = %{version}
|
||||
Obsoletes: gettext-devel < %{version}
|
||||
Requires: %{name} = %{version}, cvs
|
||||
PreReq: info
|
||||
Provides: gettext-devel <= 0.16.1
|
||||
Obsoletes: gettext-devel <= 0.16.1
|
||||
|
||||
%description -n gettext-tools
|
||||
This package contains the `intl' library as well as tools that ease the
|
||||
@ -88,6 +90,7 @@ Authors:
|
||||
%patch7
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
pushd gettext-tools/misc
|
||||
tar xfz archive.tar.gz
|
||||
find . -name gettext.m4,v -print0 | xargs -0 perl -spi -e 's/\(int\) /\(long\) /g'
|
||||
@ -249,6 +252,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%_datadir/aclocal/*
|
||||
|
||||
%changelog
|
||||
* Tue Dec 04 2007 - pth@suse.de
|
||||
- Add patch from upstreams to add the missing mode for the open call.
|
||||
* Fri Nov 23 2007 - pth@suse.de
|
||||
- Reenable msgmerge-compendium-5 now that gcc has been fixed.
|
||||
- Change Provides/Obsoletes to match guidelines
|
||||
|
Loading…
Reference in New Issue
Block a user