Hello community,

here is the log from the commit of package qpdf for openSUSE:Factory checked in 
at 2013-01-04 11:38:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qpdf (Old)
 and      /work/SRC/openSUSE:Factory/.qpdf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qpdf", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/qpdf/qpdf.changes        2013-01-02 
13:01:12.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qpdf.new/qpdf.changes   2013-01-04 
11:38:15.000000000 +0100
@@ -1,0 +2,10 @@
+Thu Jan  3 21:47:29 UTC 2013 - [email protected]
+
+- Detect binary attachments better (qpdf-ppc64.patch)
+  This fix eliminates a false test failure on some platforms and makes
+  the binary test work properly whether characters with the high bit
+  set, when treated as integers, are negative or not.
+- pass --enable-show-failed-test-output to configure, to see 
+  detailed failure reason in build log.
+
+-------------------------------------------------------------------

New:
----
  qpdf-ppc64.patch

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

Other differences:
------------------
++++++ qpdf.spec ++++++
--- /var/tmp/diff_new_pack.THi25L/_old  2013-01-04 11:38:16.000000000 +0100
+++ /var/tmp/diff_new_pack.THi25L/_new  2013-01-04 11:38:16.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package qpdf
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -24,6 +24,8 @@
 Group:          Development/Libraries/C and C++
 Url:            http://qpdf.sourceforge.net/
 Source:         
http://sourceforge.net/projects/qpdf/files/qpdf/%{version}/qpdf-%{version}.tar.gz
+#PATCH-FIX-UPSTREAM upstream commit 9261f3b -- [email protected]
+Patch0:         qpdf-ppc64.patch
 BuildRequires:  gcc-c++
 BuildRequires:  pcre-devel
 BuildRequires:  pkgconfig
@@ -57,11 +59,13 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
 %configure --disable-static --disable-test-compare-images \
-           --docdir='${datarootdir}'/doc/packages/%{name}
+           --docdir='${datarootdir}'/doc/packages/%{name} \
+           --enable-show-failed-test-output
 make %{?_smp_mflags}
 
 %check

++++++ qpdf-ppc64.patch ++++++
Index: qpdf-4.0.0/qpdf/test_driver.cc
===================================================================
--- qpdf-4.0.0.orig/qpdf/test_driver.cc
+++ qpdf-4.0.0/qpdf/test_driver.cc
@@ -1188,7 +1188,7 @@ void runtest(int n, char const* filename
             bool is_binary = false;
             for (size_t i = 0; i < data.size(); ++i)
             {
-                if (data[i] < 0)
+                if ((data[i] < 0) || (data[i] > 126))
                 {
                     is_binary = true;
                     break;
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to