Update to 0.19.2-4

This commit is contained in:
Daiki Ueno 2014-10-03 13:00:45 +09:00
parent 83b4c21414
commit ec75cf4e8a
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,14 @@
diff --git a/gettext-tools/src/x-c.c b/gettext-tools/src/x-c.c
index 479b8e8..a5978c9 100644
--- a/gettext-tools/src/x-c.c
+++ b/gettext-tools/src/x-c.c
@@ -996,7 +996,8 @@ literalstring_parse (const char *string, lex_pos_ty *pos,
for (n = 0, j = 0; j < 3; ++j)
{
n = n * 8 + c - '0';
- switch (*++p)
+ c = *++p;
+ switch (c)
{
default:
break;

View File

@ -6,13 +6,15 @@
Summary: GNU libraries and utilities for producing multi-lingual messages
Name: gettext
Version: 0.19.2
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv3+ and LGPLv2+
Group: Development/Tools
URL: http://www.gnu.org/software/gettext/
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.xz
Source2: msghack.py
Source3: msghack.1
# backport from upstream
Patch0: gettext-fix-octal-char-escape.patch
# removal of openmp.m4
BuildRequires: autoconf >= 2.62
BuildRequires: automake
@ -134,6 +136,7 @@ Emacs.
%prep
%setup -q
%patch0 -p1 -b .fix-octal-char-escape.patch
%build
@ -329,6 +332,9 @@ fi
%{_emacs_sitelispdir}/%{name}/*.el
%changelog
* Fri Oct 3 2014 Daiki Ueno <dueno@redhat.com> - 0.19.2-4
- apply patch to fix C octal character escape handling (Closes: #1147535)
* Tue Sep 02 2014 Dennis Gilmore <dennis@ausil.us> - 0.19.2-3
- rebuild for libunistring soname bump