Hello community,

here is the log from the commit of package libwps for openSUSE:Factory
checked in at Thu Mar 24 16:46:20 CET 2011.



--------
--- libwps/libwps.changes       2010-12-08 21:42:56.000000000 +0100
+++ /mounts/work_src_done/STABLE/libwps/libwps.changes  2011-03-24 
09:01:06.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Mar 24 07:58:40 UTC 2011 - [email protected]
+
+- Add libwps-0.2.0-gcc46.patch: fix compilation with gcc 4.6 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  libwps-0.2.0-gcc46.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libwps.spec ++++++
--- /var/tmp/diff_new_pack.b5fxXu/_old  2011-03-24 16:45:51.000000000 +0100
+++ /var/tmp/diff_new_pack.b5fxXu/_new  2011-03-24 16:45:51.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package libwps (Version 0.2.0)
+# spec file for package libwps
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,11 +22,13 @@
 BuildRequires:  gcc-c++ libwpd-devel >= 0.9.0 pkgconfig
 Summary:        Library for importing the Microsoft Works word processor file 
format
 Version:        0.2.0
-Release:        1
+Release:        6
 License:        LGPLv2.1+
 Group:          System/Libraries
 Url:            http://libwps.sourceforge.net/
 Source:         libwps-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM libwps-0.2.0-gcc46.patch [email protected] -- Fix 
compilation with gcc 4.6
+Patch1:         libwps-0.2.0-gcc46.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %define debug_package_requires libwps-0_2-2 = %{version}-%{release}
 
@@ -91,6 +93,7 @@
 
 %prep
 %setup -q
+%patch1
 
 %build
 %configure --disable-static --docdir=%_docdir/%name

++++++ libwps-0.2.0-gcc46.patch ++++++
--- src/lib/WPS4.cpp    2010-06-16 00:19:39.000000000 +0200
+++ src/lib/WPS4.cpp    2011-03-24 08:55:06.428440089 +0100
@@ -156,11 +156,6 @@
        }
        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);
-       
        int first_fod = FODs->size();
 
         /* Read array of fcLim of FODs.  The fcLim refers to the offset of the

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to