packages: libwps/libwps.spec, libwps/libwps-werror.patch (NEW) - rel 4; fix...
arekm
arekm at pld-linux.org
Mon Sep 12 09:40:51 CEST 2011
Author: arekm Date: Mon Sep 12 07:40:51 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 4; fix build with werror
---- Files affected:
packages/libwps:
libwps.spec (1.13 -> 1.14) , libwps-werror.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libwps/libwps.spec
diff -u packages/libwps/libwps.spec:1.13 packages/libwps/libwps.spec:1.14
--- packages/libwps/libwps.spec:1.13 Mon Sep 12 09:29:55 2011
+++ packages/libwps/libwps.spec Mon Sep 12 09:40:46 2011
@@ -3,11 +3,12 @@
Summary(pl.UTF-8): Biblioteka importu dokumentów MS Works
Name: libwps
Version: 0.2.0
-Release: 3
+Release: 4
License: LGPL v2+
Group: Libraries
Source0: http://downloads.sourceforge.net/libwps/%{name}-%{version}.tar.gz
# Source0-md5: b569376fb0aefc5284b10a695bd2daa6
+Patch0: %{name}-werror.patch
URL: http://libwps.sourceforge.net/
BuildRequires: automake
BuildRequires: doxygen
@@ -71,6 +72,7 @@
%prep
%setup -q
+%patch0 -p1
%build
cp -f /usr/share/automake/config.sub .
@@ -121,6 +123,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.14 2011/09/12 07:40:46 arekm
+- rel 4; fix build with werror
+
Revision 1.13 2011/09/12 07:29:55 arekm
- release 3
================================================================
Index: packages/libwps/libwps-werror.patch
diff -u /dev/null packages/libwps/libwps-werror.patch:1.1
--- /dev/null Mon Sep 12 09:40:51 2011
+++ packages/libwps/libwps-werror.patch Mon Sep 12 09:40:46 2011
@@ -0,0 +1,27 @@
+--- libwps-0.2.0/configure.in~ 2008-04-14 09:55:28.000000000 +0200
++++ libwps-0.2.0/configure.in 2011-09-12 09:36:33.511331605 +0200
+@@ -202,8 +202,8 @@
+
+ else
+ if test x"$GCC" = xyes; then
+- CFLAGS="$CFLAGS -Wall -Werror -pedantic"
+- CXXFLAGS="$CXXFLAGS -Wall -Werror -pedantic"
++ CFLAGS="$CFLAGS -Wall -pedantic"
++ CXXFLAGS="$CXXFLAGS -Wall -pedantic"
+ fi
+ fi
+
+--- libwps-0.2.0/src/lib/WPS4.cpp~ 2010-06-16 00:19:39.000000000 +0200
++++ libwps-0.2.0/src/lib/WPS4.cpp 2011-09-12 09:39:25.561840062 +0200
+@@ -156,10 +156,7 @@
+ }
+ input->seek(page_offset, WPX_SEEK_SET);
+
+- uint32_t fcFirst; /* Byte number of first character covered by this page
+- of formatting information */
+-
+- fcFirst = readU32(input);
++ readU32(input);
+
+ int first_fod = FODs->size();
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libwps/libwps.spec?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list