Hello community,

here is the log from the commit of package libharu for openSUSE:Factory checked 
in at 2013-04-10 20:25:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libharu (Old)
 and      /work/SRC/openSUSE:Factory/.libharu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libharu", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/libharu/libharu.changes  2013-03-08 
11:20:50.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libharu.new/libharu.changes     2013-04-10 
20:26:44.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Apr  9 09:09:34 UTC 2013 - pgaj...@suse.com
+
+- builds also with libpng16
+  * png16.patch
+
+-------------------------------------------------------------------

New:
----
  libharu-2.2.1-png16.patch

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

Other differences:
------------------
++++++ libharu.spec ++++++
--- /var/tmp/diff_new_pack.K8vDPn/_old  2013-04-10 20:26:45.000000000 +0200
+++ /var/tmp/diff_new_pack.K8vDPn/_new  2013-04-10 20:26:45.000000000 +0200
@@ -18,8 +18,8 @@
 
 Name:           libharu
 Version:        2.2.1
-%define libver  2_2_1
 Release:        0
+%define libver  2_2_1
 Summary:        Cross platform library for generating PDF files
 License:        Zlib
 Group:          System/Libraries
@@ -28,6 +28,8 @@
 Source1:        %{name}-rpmlintrc
 # PATCH-FIX-UPSTREAM libharu-2.2.1-png15.patch -- fix build with libpng 1.5.0, 
commit e5bf8b01f6
 Patch0:         libharu-2.2.1-png15.patch
+# PATCH-FIX-UPSTREAM libharu-2.2.1-png16.patch -- fix build with libpng 1.6.1, 
sent to t...@daylessday.org
+Patch1:         libharu-2.2.1-png16.patch
 BuildRequires:  libpng-devel
 BuildRequires:  zlib-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -74,6 +76,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 # fix wrong-file-end-of-line-encoding
 sed -i 's/\r$//' README
 

++++++ libharu-2.2.1-png16.patch ++++++
Index: libharu-2.2.1/src/hpdf_image_png.c
===================================================================
--- libharu-2.2.1.orig/src/hpdf_image_png.c
+++ libharu-2.2.1/src/hpdf_image_png.c
@@ -21,6 +21,7 @@
 
 #ifndef LIBHPDF_HAVE_NOPNGLIB
 #include <png.h>
+#include <string.h>
 
 static void
 PngErrorFunc  (png_structp       png_ptr,
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to