1
0

Accepting request 178504 from home:no_se:branches:Base:System

Version update

OBS-URL: https://build.opensuse.org/request/show/178504
OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=68
This commit is contained in:
Dirk Mueller 2013-06-11 11:46:48 +00:00 committed by Git OBS Bridge
parent eee2997b81
commit 30a3f5cf60
8 changed files with 37 additions and 75 deletions

View File

@ -1,42 +0,0 @@
Index: gettext-0.18.1.1/gettext-runtime/gnulib-lib/stdio.in.h
===================================================================
--- gettext-0.18.1.1.orig/gettext-runtime/gnulib-lib/stdio.in.h
+++ gettext-0.18.1.1/gettext-runtime/gnulib-lib/stdio.in.h
@@ -141,7 +141,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not
so any use of gets warrants an unconditional warning. Assume it is
always declared, since it is required by C89. */
#undef gets
+#if HAVE_RAW_DECL_GETS
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
#if @GNULIB_FOPEN@
# if @REPLACE_FOPEN@
Index: gettext-0.18.1.1/gettext-tools/gnulib-lib/stdio.in.h
===================================================================
--- gettext-0.18.1.1.orig/gettext-tools/gnulib-lib/stdio.in.h
+++ gettext-0.18.1.1/gettext-tools/gnulib-lib/stdio.in.h
@@ -141,7 +141,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not
so any use of gets warrants an unconditional warning. Assume it is
always declared, since it is required by C89. */
#undef gets
+#if HAVE_RAW_DECL_GETS
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
#if @GNULIB_FOPEN@
# if @REPLACE_FOPEN@
Index: gettext-0.18.1.1/gettext-tools/libgettextpo/stdio.in.h
===================================================================
--- gettext-0.18.1.1.orig/gettext-tools/libgettextpo/stdio.in.h
+++ gettext-0.18.1.1/gettext-tools/libgettextpo/stdio.in.h
@@ -141,7 +141,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not
so any use of gets warrants an unconditional warning. Assume it is
always declared, since it is required by C89. */
#undef gets
+#if HAVE_RAW_DECL_GETS
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
#if @GNULIB_FOPEN@
# if @REPLACE_FOPEN@

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93ac71a7afa5b70c1b1032516663658c51e653087f42a3fc8044752c026443e9
size 15139737

3
gettext-0.18.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32fc1b85fc249ab81bfc37b942a992c7a34f2e1101357ce0d4591341b9164a0a
size 15901092

View File

@ -1,13 +0,0 @@
Index: gettext-runtime/intl/eval-plural.h
===================================================================
--- gettext-runtime/intl/eval-plural.h.orig 2010-12-20 18:47:11.544133539 +0100
+++ gettext-runtime/intl/eval-plural.h 2010-12-20 18:47:11.952132512 +0100
@@ -16,6 +16,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
USA. */
+#include <signal.h>
+
#ifndef STATIC
#define STATIC static
#endif

View File

@ -22,9 +22,10 @@ BuildRequires: libtool
BuildRequires: mono-devel
BuildRequires: perl-libintl-perl
BuildRequires: tcl
BuildRequires: gcc-c++
Requires: mono
Url: http://www.gnu.org/software/gettext/
Version: 0.18.1.1
Version: 0.18.2.1
Release: 0
Summary: Native Language Support (NLS) for C#
License: LGPL-2.1+
@ -37,11 +38,9 @@ Source2: suse-start-po-mode.el
Source3: gettext-linkdupes.sh
Patch: gettext-0.12.1-sigfpe.patch
Patch2: gettext-0.12.1-gettextize.patch
Patch3: gettext-codecleanup.patch
Patch4: gettext-po-mode.diff
Patch5: gettext-initialize_vars.patch
Patch9: gettext-needlessly_init_vars.patch
Patch10: getext-stdio.in.patch
%description
Mono with its 'resgen' program uses a design that Microsoft created and
@ -69,11 +68,9 @@ reliably than 'resgen'.
%setup -q -n gettext-%{version}
%patch
%patch2
%patch3
%patch4
%patch5
%patch9
%patch10 -p1
%build
export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"

View File

@ -24,7 +24,7 @@ BuildRequires: libtool
BuildRequires: perl-libintl-perl
BuildRequires: tcl
Url: http://www.gnu.org/software/gettext/
Version: 0.18.1.1
Version: 0.18.2.1
Release: 0
Summary: Java Support for Native Language Support (NLS)
License: LGPL-2.1+
@ -37,11 +37,9 @@ Source2: suse-start-po-mode.el
Source3: gettext-linkdupes.sh
Patch: gettext-0.12.1-sigfpe.patch
Patch2: gettext-0.12.1-gettextize.patch
Patch3: gettext-codecleanup.patch
Patch4: gettext-po-mode.diff
Patch5: gettext-initialize_vars.patch
Patch9: gettext-needlessly_init_vars.patch
Patch10: getext-stdio.in.patch
%description
This package includes the tools needed to support message catalogs in
@ -52,11 +50,9 @@ java+swing.
%setup -q -n gettext-%{version}
%patch
%patch2
%patch3
%patch4
%patch5
%patch9
%patch10 -p1
%build
export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Sat Jun 8 08:39:07 UTC 2013 - christoph.miebach@web.de
- Update to version 0.18.2.1: Version 0.18.2 - December 2012
+ xgettext now understands the block comment syntax of Guile 2.0.
+ libgettextpo library:
* The initial msgstr of a new message is now "", not NULL.
* Bug fixes in the functions po_message_is_range,
po_file_check_all, po_message_check_all.
+ Installation options:
The configure options --with-xz and --with-bzip2 can be used to
specify alternate compression methods for the archive used by
the 'autopoint' program. These options, together with
--with-git, allow to trade dependencies against installed
package size. --with-xz has the highest compression rate,
followed by --with-git, followed by --with-bzip2.
+ Autoconf macros:
* The autoconf macros installed by 'gettextize' now work with
the forthcoming Automake 1.14 and require Autoconf version
2.60 or newer.
+ Portability:
* Building on MacOS X 10.7, Cygwin 1.7.10, and newer 64-bit
mingw is now supported.
- Remove obsolete patches:
+ getext-stdio.in.patch
+ gettext-codecleanup.patch
-------------------------------------------------------------------
Fri May 31 07:47:08 UTC 2013 - coolo@suse.com

View File

@ -19,7 +19,7 @@
%define pacname gettext
Name: gettext-runtime
Version: 0.18.1.1
Version: 0.18.2.1
Release: 0
BuildRequires: gcc-c++
BuildRequires: libtool
@ -41,18 +41,16 @@ License: GPL-3.0+ and LGPL-2.0+
Group: Development/Tools/Other
PreReq: %{install_info_prereq}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.gz
Source0: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.gz
Source1: gettext-rpmlintrc
Source2: suse-start-po-mode.el
Source3: gettext-linkdupes.sh
Source4: baselibs.conf
Patch: gettext-0.12.1-sigfpe.patch
Patch2: gettext-0.12.1-gettextize.patch
Patch3: gettext-codecleanup.patch
Patch4: gettext-po-mode.diff
Patch5: gettext-initialize_vars.patch
Patch9: gettext-needlessly_init_vars.patch
Patch10: getext-stdio.in.patch
%description
This package contains the intl library as well as tools that ease the
@ -88,11 +86,9 @@ binary catalogs.
%setup -q -n %{pacname}-%{version}
%patch
%patch2
%patch3
%patch4
%patch5
%patch9
%patch10 -p1
%build
# expect a couple "You should update your `aclocal.m4' by running aclocal."
@ -250,7 +246,7 @@ rm -rf %{buildroot}
%_datadir/%pacname/msgunfmt.tcl
%_datadir/%pacname/javaversion.class
%_datadir/%pacname/styles
%_datadir/%pacname/archive.dir.tar.gz
%_datadir/%pacname/archive.dir.tar.xz
%_datadir/aclocal/*
%changelog