[packages/SILLY] - fix building with current gcc - rel 8

baggins baggins at pld-linux.org
Wed Nov 6 21:25:53 CET 2013


commit b213070764e81c6e5dececd1f12a40f36d635398
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Nov 6 21:25:30 2013 +0100

    - fix building with current gcc
    - rel 8

 SILLY.spec  |  4 +++-
 build.patch | 10 ++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
---
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 <string.h>
+ #include <png.h>
+ // Start section of namespace SILLY
+ namespace SILLY
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/SILLY.git/commitdiff/b213070764e81c6e5dececd1f12a40f36d635398



More information about the pld-cvs-commit mailing list