From f34d444c34cf9690f279e01f83af9da7d7de4ce2d18360180f7b8eed6e98fb22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 18 Mar 2013 13:11:37 +0000 Subject: [PATCH] Accepting request 159799 from home:pgajdos:libpng16 - builds also with libpng16 * libpng16.patch OBS-URL: https://build.opensuse.org/request/show/159799 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquicktime?expand=0&rev=48 --- libquicktime-libpng16.patch | 12 ++++++++++++ libquicktime.changes | 6 ++++++ libquicktime.spec | 5 ++++- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 libquicktime-libpng16.patch 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} .