From: Jan Rękorajski Date: Wed, 6 Nov 2013 20:25:30 +0000 (+0100) Subject: - fix building with current gcc X-Git-Tag: auto/th/SILLY-0.1.0-8 X-Git-Url: http://git.pld-linux.org/?p=packages%2FSILLY.git;a=commitdiff_plain;h=b213070764e81c6e5dececd1f12a40f36d635398 - fix building with current gcc - rel 8 --- diff --git a/SILLY.spec b/SILLY.spec index 4481c51..a1e3728 100644 --- a/SILLY.spec +++ b/SILLY.spec @@ -2,7 +2,7 @@ Summary: Simple Image Loading LibrarY Summary(pl.UTF-8): Simple Image Loading LibrarY - prosta biblioteka do wczytywania obrazów Name: SILLY Version: 0.1.0 -Release: 7 +Release: 8 License: MIT-like Group: Libraries Source0: http://downloads.sourceforge.net/crayzedsgui/%{name}-%{version}.tar.gz @@ -11,6 +11,7 @@ Source1: http://downloads.sourceforge.net/crayzedsgui/%{name}-DOCS-%{version}.ta # Source1-md5: e52e9043b21a9d35a6da66ce9e84d3e1 Patch0: %{name}-link.patch Patch1: %{name}-libpng15.patch +Patch2: build.patch URL: http://www.cegui.org.uk/wiki/index.php/SILLY BuildRequires: autoconf >= 2.59 BuildRequires: automake @@ -69,6 +70,7 @@ Statyczna biblioteka SILLY. %setup -q -b 1 %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %{__libtoolize} diff --git a/build.patch b/build.patch new file mode 100644 index 0000000..4d8d8a4 --- /dev/null +++ b/build.patch @@ -0,0 +1,10 @@ +--- SILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp~ 2013-11-06 21:22:53.000000000 +0100 ++++ SILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp 2013-11-06 21:24:28.625253489 +0100 +@@ -40,6 +40,7 @@ + #endif + + #include "loaders/SILLYPNGImageContext.h" ++#include + #include + // Start section of namespace SILLY + namespace SILLY