Hello community,

here is the log from the commit of package libwpd for openSUSE:Factory
checked in at Thu Apr 21 13:39:22 CEST 2011.



--------
--- libwpd/libwpd.changes       2010-12-07 14:46:57.000000000 +0100
+++ /mounts/work_src_done/STABLE/libwpd/libwpd.changes  2011-03-16 
12:12:24.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Mar 16 09:32:59 UTC 2011 - [email protected]
+
+- Add missing includes to fix compilation with gcc 4.6
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  gcc46.patch

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

Other differences:
------------------
++++++ libwpd.spec ++++++
--- /var/tmp/diff_new_pack.86qRAN/_old  2011-04-21 13:39:03.000000000 +0200
+++ /var/tmp/diff_new_pack.86qRAN/_new  2011-04-21 13:39:03.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package libwpd (Version 0.9.0)
+# spec file for package libwpd
 #
-# 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
@@ -25,9 +25,11 @@
 Group:          System/Libraries
 AutoReqProv:    on
 Version:        0.9.0
-Release:        1
+Release:        6
 Summary:        Library for Importing WordPerfect (tm) Documents
 Source:         libwpd-%{version}.tar.bz2
+# PATCH-FIX-OPENSUSE gcc46.patch -- Add missing includes to fix compilation 
with gcc 4.6
+Patch:          gcc46.patch
 Url:            http://libwpd.sourceforge.net
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %define debug_package_requires libwpd-0_9-9 = %{version}-%{release}
@@ -126,6 +128,7 @@
 
 %prep
 %setup -q
+%patch
 
 %build
 %configure --disable-static --docdir=%_docdir/%name

++++++ gcc46.patch ++++++
--- src/lib/WP5GraphicsInformationPacket.h      2010-08-26 13:35:21.000000000 
+0200
+++ src/lib/WP5GraphicsInformationPacket.h      2011-03-16 10:25:18.918009010 
+0100
@@ -28,6 +28,7 @@
 #include "WP5GeneralPacketData.h"
 #include "WPXMemoryStream.h"
 #include "WPXBinaryData.h"
+#include <cstddef>
 #include <vector>
 
 class WP5GraphicsInformationPacket : public WP5GeneralPacketData
--- src/lib/WPXOLEStream.cpp    2010-08-26 13:35:21.000000000 +0200
+++ src/lib/WPXOLEStream.cpp    2011-03-16 10:31:09.626009026 +0100
@@ -600,7 +600,7 @@
     unsigned p = i * 128;
     
     // would be < 32 if first char in the name isn't printable
-    unsigned prefix = 32;
+    // unsigned prefix = 32;
     
     // parse name of this entry, which stored as Unicode 16-bit
     std::string name;
@@ -612,7 +612,7 @@
     // first char isn't printable ? remove it...
     if( buffer[p] < 32 )
     { 
-      prefix = buffer[0]; 
+      //prefix = buffer[0]; 
       name.erase( 0,1 ); 
     }
     

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



Remember to have fun...

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

Reply via email to