diff --git a/libquicktime-libpng16.patch b/libquicktime-libpng16.patch new file mode 100644 index 0000000..076d209 --- /dev/null +++ b/libquicktime-libpng16.patch @@ -0,0 +1,12 @@ +Index: libquicktime-1.2.4/plugins/png/qtpng.c +=================================================================== +--- libquicktime-1.2.4.orig/plugins/png/qtpng.c ++++ libquicktime-1.2.4/plugins/png/qtpng.c +@@ -25,6 +25,7 @@ + #include "lqt_private.h" + #include + #include ++#include + #include + #include "qtpng.h" + diff --git a/libquicktime.changes b/libquicktime.changes index e16e920..1419876 100644 --- a/libquicktime.changes +++ b/libquicktime.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 18 12:56:46 UTC 2013 - pgajdos@suse.com + +- builds also with libpng16 + * libpng16.patch + ------------------------------------------------------------------- Fri Mar 30 00:03:18 UTC 2012 - pascal.bleser@opensuse.org diff --git a/libquicktime.spec b/libquicktime.spec index 621fefe..af70e98 100644 --- a/libquicktime.spec +++ b/libquicktime.spec @@ -1,7 +1,7 @@ # # spec file for package libquicktime # -# 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 @@ -29,6 +29,8 @@ Url: http://libquicktime.sf.net Source0: http://prdownloads.sourceforge.net/libquicktime/libquicktime-%{version}.tar.gz Source1: COPYING Patch0: %{name}-1.2.2-dont_disable_deprecated.patch +# build also with libpng16, patch sent to amp@singingwizard.org, plaum@ipf.uni-stuttgart.de, kraxel@bytesex.org +Patch1: libquicktime-libpng16.patch BuildRequires: Mesa-devel BuildRequires: alsa-devel BuildRequires: doxygen @@ -86,6 +88,7 @@ Tools for reading/writing quicktime movie files. %prep %setup -q %patch0 +%patch1 -p1 # Replace licence with wrong FSF address cp -v %{S:1} .