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
This commit is contained in:
parent
9f9c449ad2
commit
60e0c49b7e
10
fix-header-include.patch
Normal file
10
fix-header-include.patch
Normal file
@ -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 <stdio.h>
|
||||
#include <jpeglib.h>
|
||||
#endif /* MNG_INCLUDE_IJG6B */
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user