forked from pool/gettext-runtime
Accepting request 181182 from home:gberh:branches:Base:System
- add gettext-fix-tcl-u-escape-sequences.patch in order to fix the handling of Tcl \u escape sequences (bnc#826422) - add gettext-fix-tcl-u-escape-sequences.patch in order to fix the handling of Tcl \u escape sequences (bnc#826422) OBS-URL: https://build.opensuse.org/request/show/181182 OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=81
This commit is contained in:
parent
5e041d2313
commit
3e6c59df18
24
gettext-fix-tcl-u-escape-sequences.patch
Normal file
24
gettext-fix-tcl-u-escape-sequences.patch
Normal file
@ -0,0 +1,24 @@
|
||||
Index: gettext-0.18.2.1/gettext-tools/src/x-tcl.c
|
||||
===================================================================
|
||||
--- gettext-0.18.2.1.orig/gettext-tools/src/x-tcl.c
|
||||
+++ gettext-0.18.2.1/gettext-tools/src/x-tcl.c
|
||||
@@ -517,7 +517,10 @@ do_getc_escaped ()
|
||||
{
|
||||
c = phase1_getc ();
|
||||
if (c == EOF || !c_isxdigit ((unsigned char) c))
|
||||
- break;
|
||||
+ {
|
||||
+ phase1_ungetc (c);
|
||||
+ break;
|
||||
+ }
|
||||
|
||||
if (c >= '0' && c <= '9')
|
||||
n = (n << 4) + (c - '0');
|
||||
@@ -526,7 +529,6 @@ do_getc_escaped ()
|
||||
else if (c >= 'a' && c <= 'f')
|
||||
n = (n << 4) + (c - 'a' + 10);
|
||||
}
|
||||
- phase1_ungetc (c);
|
||||
return (i > 0 ? n : 'u');
|
||||
}
|
||||
case '0': case '1': case '2': case '3': case '4':
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 25 09:09:00 UTC 2013 - gber@opensuse.org
|
||||
|
||||
- add gettext-fix-tcl-u-escape-sequences.patch in order to fix
|
||||
the handling of Tcl \u escape sequences (bnc#826422)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 19 08:12:19 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
@ -63,6 +63,7 @@ Patch4: gettext-po-mode.diff
|
||||
Patch5: gettext-initialize_vars.patch
|
||||
Patch9: gettext-needlessly_init_vars.patch
|
||||
Patch10: gettext-configure.patch
|
||||
Patch11: gettext-fix-tcl-u-escape-sequences.patch
|
||||
|
||||
%description
|
||||
This package contains the intl library as well as tools that ease the
|
||||
@ -109,6 +110,7 @@ binary catalogs.
|
||||
%patch5
|
||||
%patch9
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
|
||||
%build
|
||||
# expect a couple "You should update your `aclocal.m4' by running aclocal."
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 25 09:09:00 UTC 2013 - gber@opensuse.org
|
||||
|
||||
- add gettext-fix-tcl-u-escape-sequences.patch in order to fix
|
||||
the handling of Tcl \u escape sequences (bnc#826422)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 19 08:12:19 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
@ -63,6 +63,7 @@ Patch4: gettext-po-mode.diff
|
||||
Patch5: gettext-initialize_vars.patch
|
||||
Patch9: gettext-needlessly_init_vars.patch
|
||||
Patch10: gettext-configure.patch
|
||||
Patch11: gettext-fix-tcl-u-escape-sequences.patch
|
||||
|
||||
%description
|
||||
This package contains the intl library as well as tools that ease the
|
||||
@ -109,6 +110,7 @@ binary catalogs.
|
||||
%patch5
|
||||
%patch9
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
|
||||
%build
|
||||
# expect a couple "You should update your `aclocal.m4' by running aclocal."
|
||||
|
Loading…
Reference in New Issue
Block a user