Hello community, here is the log from the commit of package optipng for openSUSE:Factory checked in at 2013-02-15 18:49:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/optipng (Old) and /work/SRC/openSUSE:Factory/.optipng.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "optipng", Maintainer is "pgaj...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/optipng/optipng.changes 2012-11-28 16:19:22.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.optipng.new/optipng.changes 2013-02-15 18:49:13.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Feb 15 12:35:19 UTC 2013 - pgaj...@suse.com + +- build also agains libpng16 + * libpng16.patch + +------------------------------------------------------------------- New: ---- optipng-libpng16.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ optipng.spec ++++++ --- /var/tmp/diff_new_pack.iEZMPF/_old 2013-02-15 18:49:14.000000000 +0100 +++ /var/tmp/diff_new_pack.iEZMPF/_new 2013-02-15 18:49:14.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package optipng # -# 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 @@ -27,6 +27,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %name-%{version}.tar.gz Source1: macros.optipng +# patch sent at cos...@cs.toronto.edu +Patch0: optipng-libpng16.patch %description OptiPNG is a PNG optimizer that recompresses image files to a smaller @@ -42,6 +44,7 @@ %prep %setup -q +%patch0 -p1 %build export CFLAGS="$RPM_OPT_FLAGS" ++++++ optipng-libpng16.patch ++++++ Index: optipng-0.7.4/src/opngreduc/opngreduc.c =================================================================== --- optipng-0.7.4.orig/src/opngreduc/opngreduc.c +++ optipng-0.7.4/src/opngreduc/opngreduc.c @@ -20,6 +20,8 @@ #include "opngreduc.h" +#include <string.h> + #ifndef OPNG_ASSERT #include <assert.h> #define OPNG_ASSERT(cond) assert(cond) Index: optipng-0.7.4/src/pngxtern/pngxmem.c =================================================================== --- optipng-0.7.4.orig/src/pngxtern/pngxmem.c +++ optipng-0.7.4/src/pngxtern/pngxmem.c @@ -8,6 +8,7 @@ #include "pngxutil.h" +#include <string.h> #ifdef PNG_INFO_IMAGE_SUPPORTED -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org