]> git.pld-linux.org Git - packages/exact-image.git/commitdiff
- fix building with gcc 4.7 auto/th/exact-image-0.8.5-4
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 12 Nov 2012 23:07:20 +0000 (00:07 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 12 Nov 2012 23:07:20 +0000 (00:07 +0100)
- rel 4

exact-image-gcc47.patch [new file with mode: 0644]
exact-image.spec

diff --git a/exact-image-gcc47.patch b/exact-image-gcc47.patch
new file mode 100644 (file)
index 0000000..b4a45fa
--- /dev/null
@@ -0,0 +1,10 @@
+--- exact-image-0.8.5/edisplay/edisplay.cc~    2010-10-18 17:33:02.000000000 +0200
++++ exact-image-0.8.5/edisplay/edisplay.cc     2012-11-13 00:05:37.644168959 +0100
+@@ -31,6 +31,7 @@
+ #include <algorithm>
+ #include <iostream>
+ #include <sstream>
++#include <unistd.h>
+ #include "ArgumentList.hh"
+ using namespace Utility;
index 636a9f808eb6d59dc862e54cf36a61fefd2070ea..10a7a0d1b65d308dc8a00c5dc9f597d24a7016e5 100644 (file)
@@ -1,12 +1,13 @@
 Summary:       A fast, modern and generic image processing library
 Name:          exact-image
 Version:       0.8.5
-Release:       3
+Release:       4
 License:       GPL v2
 Group:         Applications/Graphics
 Source0:       http://dl.exactcode.de/oss/exact-image/%{name}-%{version}.tar.bz2
 # Source0-md5: 54c5dc9afd86ec573e7e2e9a80f45c71
 Patch0:                %{name}-libs.patch
+Patch1:                %{name}-gcc47.patch
 URL:           http://www.exactcode.de/site/open_source/exactimage/
 BuildRequires: OpenEXR-devel >= 1.2.0
 BuildRequires: agg-devel >= 2.3
@@ -35,6 +36,7 @@ alternative to ImageMagick.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 ./configure --prefix=%{_prefix} --without-libpng --without-php \
This page took 0.085156 seconds and 4 git commands to generate.