From 89ac2170ac2ad3c127520211a511b386654a1b8dd5e92236e583a2f7dd44a9a7 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 10 Mar 2007 22:53:44 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fvwm2?expand=0&rev=7 --- fvwm-2.5.21-utf_encoding.patch | 11 +++++++++++ fvwm2.changes | 6 ++++++ fvwm2.spec | 7 ++++++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 fvwm-2.5.21-utf_encoding.patch diff --git a/fvwm-2.5.21-utf_encoding.patch b/fvwm-2.5.21-utf_encoding.patch new file mode 100644 index 0000000..ac6a38a --- /dev/null +++ b/fvwm-2.5.21-utf_encoding.patch @@ -0,0 +1,11 @@ +--- libs/FlocaleCharset.c ++++ libs/FlocaleCharset.c +@@ -522,7 +522,7 @@ + } + + if (FLCXOMCharsetList_num > 0 && FLCXOMCharsetList[0]) +- FLCXOMCharset = FLCXOMCharsetList[0]; ++ FLCXOMCharset = FLCXOMCharsetList[FLCXOMCharsetList_num - 1]; + #endif + } + diff --git a/fvwm2.changes b/fvwm2.changes index f96c708..cd80d34 100644 --- a/fvwm2.changes +++ b/fvwm2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 9 18:40:31 CET 2007 - lmichnovic@suse.cz + +- Fixed corrupted characters in sax2 test mode for some locales + [#251639] (*utf_encoding.patch) + ------------------------------------------------------------------- Wed Feb 28 14:58:04 CET 2007 - lmichnovic@suse.cz diff --git a/fvwm2.spec b/fvwm2.spec index 172d57c..0486937 100644 --- a/fvwm2.spec +++ b/fvwm2.spec @@ -18,7 +18,7 @@ Provides: fvwmicns windowmanager xpmroot Obsoletes: fvwm xpmroot Autoreqprov: on Version: 2.5.21 -Release: 4 +Release: 6 Summary: Improved Version of FVWM Window Manager URL: http://www.fvwm.org Source0: fvwm-2.5.21.tar.bz2 @@ -33,6 +33,7 @@ Patch0: fvwm-configure.patch Patch1: fvwm-%{version}-gcc-warnings.patch Patch2: fvwm-%{version}-ia64.patch Patch3: fvwm-%{version}-sv_SE.patch +Patch4: fvwm-%{version}-utf_encoding.patch %description FVWM is a virtual desktop window manager for the X Window System. @@ -68,6 +69,7 @@ Authors: %patch1 %patch2 %patch3 +%patch4 find . -name *sv_SE* |xargs rename sv_SE sv mkdir icons tar -C icons -j -x -v -f $RPM_SOURCE_DIR/fvwm_icons.tar.bz2 @@ -162,6 +164,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Fri Mar 09 2007 - lmichnovic@suse.cz +- Fixed corrupted characters in sax2 test mode for some locales + [#251639] (*utf_encoding.patch) * Wed Feb 28 2007 - lmichnovic@suse.cz - renamed sv_SE to sv, (sv_SE.patch) [#248751] - removed xorg-x11 from Requires and Buildrequires since