openexr: gcc43 fix

This commit is contained in:
Danny Rawlins 2008-10-14 17:52:56 +11:00
parent 1ccc548093
commit 55a00fe278
3 changed files with 27 additions and 1 deletions

View File

@ -1 +1,2 @@
e3ddb75aed84993a48ef5f2ee3380726 openexr-1.6.1-gcc43.patch
11951f164f9c872b183df75e66de145a openexr-1.6.1.tar.gz

View File

@ -7,11 +7,14 @@
name=openexr
version=1.6.1
release=1
source=(http://download.savannah.nongnu.org/releases/openexr/openexr-$version.tar.gz)
source=(http://download.savannah.nongnu.org/releases/openexr/openexr-$version.tar.gz
openexr-1.6.1-gcc43.patch)
build() {
cd openexr-$version
patch -p 1 -i $SRC/openexr-1.6.1-gcc43.patch
./configure \
--prefix=/usr \
--disable-static

View File

@ -0,0 +1,22 @@
diff -pruN openexr-1.6.1.orig/exrenvmap/main.cpp openexr-1.6.1/exrenvmap/main.cpp
--- openexr-1.6.1.orig/exrenvmap/main.cpp 2008-10-14 17:49:40.878618666 +1100
+++ openexr-1.6.1/exrenvmap/main.cpp 2008-10-14 17:49:56.662548230 +1100
@@ -43,6 +43,7 @@
#include <makeLatLongMap.h>
#include <ImfEnvmap.h>
#include <iostream>
+#include <cstring>
#include <exception>
#include <stdlib.h>
diff -pruN openexr-1.6.1.orig/exrmaketiled/main.cpp openexr-1.6.1/exrmaketiled/main.cpp
--- openexr-1.6.1.orig/exrmaketiled/main.cpp 2008-10-14 17:49:40.885493556 +1100
+++ openexr-1.6.1/exrmaketiled/main.cpp 2008-10-14 17:49:56.662548230 +1100
@@ -45,6 +45,7 @@
#include <iostream>
#include <exception>
#include <string>
+#include <cstring>
#include <stdlib.h>
using namespace Imf;