- fix building with current gcc auto/th/SILLY-0.1.0-8
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 6 Nov 2013 20:25:30 +0000 (21:25 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 6 Nov 2013 20:25:30 +0000 (21:25 +0100)
- rel 8

SILLY.spec
build.patch [new file with mode: 0644]

index 4481c51..a1e3728 100644 (file)
@@ -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 (file)
index 0000000..4d8d8a4
--- /dev/null
@@ -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
This page took 0.047826 seconds and 4 git commands to generate.