Hello community,

here is the log from the commit of package libcdr for openSUSE:Factory checked 
in at 2013-07-27 15:47:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcdr (Old)
 and      /work/SRC/openSUSE:Factory/.libcdr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcdr"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcdr/libcdr.changes    2013-06-05 
11:53:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libcdr.new/libcdr.changes       2013-07-27 
15:47:20.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Jul 26 07:06:40 UTC 2013 - fst...@suse.com
+
+- Performance regression fix
+  * Add patch to unconditionally use WPX_SEEK_END
+  * Depend on libwpd-devel >= 0.9.5 that has WPX_SEEK_END
+
+-------------------------------------------------------------------

New:
----
  libcdr-0.0.14-wpx_seek_end.patch

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

Other differences:
------------------
++++++ libcdr.spec ++++++
--- /var/tmp/diff_new_pack.bZiFFf/_old  2013-07-27 15:47:21.000000000 +0200
+++ /var/tmp/diff_new_pack.bZiFFf/_new  2013-07-27 15:47:21.000000000 +0200
@@ -28,7 +28,7 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libicu-devel
 BuildRequires:  liblcms2-devel
-BuildRequires:  libwpd-devel >= 0.9.0
+BuildRequires:  libwpd-devel >= 0.9.5
 BuildRequires:  libwpg-devel >= 0.2.0
 BuildRequires:  pkgconfig
 BuildRequires:  xz
@@ -39,7 +39,8 @@
 Version:        0.0.14
 Release:        0
 Url:            http://www.freedesktop.org/wiki/Software/libcdr
-Source:         http://dev-www.libreoffice.org/src/libcdr-%{version}.tar.xz
+Source0:        http://dev-www.libreoffice.org/src/libcdr-%{version}.tar.xz
+Patch0:         libcdr-0.0.14-wpx_seek_end.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -92,6 +93,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .wpx_seek_end
 
 %build
 %configure --disable-static --docdir=%_docdir/%name

++++++ libcdr-0.0.14-wpx_seek_end.patch ++++++
--- a/src/lib/CDRZipStream.cpp
+++ b/src/lib/CDRZipStream.cpp
@@ -160,11 +160,7 @@ WPXInputStream 
*libcdr::CDRZipStream::getDocumentOLEStream(const char *name)
 
 bool libcdr::CDRZipStreamImpl::findCentralDirectoryEnd()
 {
-#if defined(LIBWPD_STREAM_VERSION_MAJOR) && 
defined(LIBWPD_STREAM_VERSION_MINOR) && defined(LIBWPD_STREAM_VERSION_REVISION) 
\
-  && (LIBWPD_STREAM_VERSION_MAJOR > 0 || (LIBWPD_STREAM_VERSION_MAJOR == 0 && 
(LIBWPD_STREAM_VERSION_MINOR > 9 \
-  || (LIBWPD_STREAM_VERSION_MINOR == 9 && LIBWPD_STREAM_VERSION_REVISION >= 
5))))
   if (m_cdir_offset || m_input->seek(-1024, WPX_SEEK_END))
-#endif
     m_input->seek(m_cdir_offset, WPX_SEEK_SET);
   try
   {
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to