From fc725977d492a55f6398edcfc34774c7fdf08ee8297a975988ec118fb8bec2a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 21 May 2014 08:56:03 +0000 Subject: [PATCH] Accepting request 234880 from home:sumski:branches:graphics Added fix-header-include.patch; make libmng_types header usable to outside packages/libraries this shall be needed for OF:staging:D OBS-URL: https://build.opensuse.org/request/show/234880 OBS-URL: https://build.opensuse.org/package/show/graphics/libmng?expand=0&rev=15 --- fix-header-include.patch | 10 ++++++++++ libmng.changes | 6 ++++++ libmng.spec | 3 +++ 3 files changed, 19 insertions(+) create mode 100644 fix-header-include.patch diff --git a/fix-header-include.patch b/fix-header-include.patch new file mode 100644 index 0000000..be45a08 --- /dev/null +++ b/fix-header-include.patch @@ -0,0 +1,10 @@ +--- libmng-2.0.2.orig/libmng_types.h 2013-01-20 04:45:24.000000000 +0100 ++++ libmng-2.0.2/libmng_types.h 2014-05-20 19:10:09.460790466 +0200 +@@ -204,6 +204,7 @@ + #define HAVE_BOOLEAN + typedef int boolean; + #endif ++#include + #include + #endif /* MNG_INCLUDE_IJG6B */ + diff --git a/libmng.changes b/libmng.changes index 33cae2f..b869f86 100644 --- a/libmng.changes +++ b/libmng.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 20 17:12:33 UTC 2014 - hrvoje.senjan@gmail.com + +- Added fix-header-include.patch; make libmng_types header usable + to outside packages/libraries + ------------------------------------------------------------------- Sat May 17 21:56:29 UTC 2014 - hrvoje.senjan@gmail.com diff --git a/libmng.spec b/libmng.spec index 069d666..dfa9e99 100644 --- a/libmng.spec +++ b/libmng.spec @@ -38,6 +38,8 @@ Url: http://www.libmng.com/ Source0: http://downloads.sourceforge.net/project/%{name}/%{name}-devel/%{version}/%{name}-%{version}.tar.xz Source1: baselibs.conf Patch0: libmng-1.0.9-dont-leak-zlib-streams.diff +# PATCH-FIX-UPSTREAM fix-header-include.patch -- make libmng_types header usable to outside packages/libraries +Patch1: fix-header-include.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -77,6 +79,7 @@ This package contains the static library and the header files. %prep %setup -q %patch0 +%patch1 -p1 %build # This is not zlib licensed and unused, just as a caution, bnc#744320