[packages/wv] - rel 12; build fixed

arekm arekm at pld-linux.org
Sun Nov 3 20:21:22 CET 2013


commit 139ef96baf5224b3f9ba339cc4e7dd27c2229b0a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Nov 3 20:21:19 2013 +0100

    - rel 12; build fixed

 wv-format.patch | 11 +++++++++++
 wv.spec         |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/wv.spec b/wv.spec
index f9f9eab..f427f67 100644
--- a/wv.spec
+++ b/wv.spec
@@ -7,12 +7,13 @@ Summary(pl.UTF-8):	Konwerter dokumentów MS Worda do HTML
 Summary(pt_BR.UTF-8):	Conversor de arquivos formato Word (6/7/8/9) para html
 Name:		wv
 Version:	1.2.4
-Release:	11
+Release:	12
 License:	GPL
 Group:		Applications/Text
 Source0:	http://downloads.sourceforge.net/wvware/%{name}-%{version}.tar.gz
 # Source0-md5:	c1861c560491f121e12917fa76970ac5
 Patch0:		%{name}-pc.patch
+Patch1:		%{name}-format.patch
 URL:		http://wvware.sourceforge.net/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -88,6 +89,7 @@ Pakiet zawiera statyczne biblioteki wv.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/wv-format.patch b/wv-format.patch
new file mode 100644
index 0000000..376ff28
--- /dev/null
+++ b/wv-format.patch
@@ -0,0 +1,11 @@
+--- wv-1.2.4/wvRTF.c~	2005-04-24 18:21:46.000000000 +0200
++++ wv-1.2.4/wvRTF.c	2013-11-03 20:19:08.968968766 +0100
+@@ -192,7 +192,7 @@
+     rtf_output_char ('{');
+ 
+     /* font color */
+-    rtf_output (rtfColors[ud->cCol]);
++    rtf_output ("%s", rtfColors[ud->cCol]);
+ 
+     /* font face */
+     rtf_output ("\\f%d", ud->cFont);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wv.git/commitdiff/139ef96baf5224b3f9ba339cc4e7dd27c2229b0a



More information about the pld-cvs-commit mailing list