Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=731e29380c2b11c324cdb4e0fd2d2a9cf3b0526c

commit 731e29380c2b11c324cdb4e0fd2d2a9cf3b0526c
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Tue Sep 9 16:40:53 2008 +0200

openexr-1.4.0a-3-i686
- rebuild with gcc-4.3

diff --git a/source/xapps/openexr/FrugalBuild b/source/xapps/openexr/FrugalBuild
index 9fdda61..9f49fb4 100644
--- a/source/xapps/openexr/FrugalBuild
+++ b/source/xapps/openexr/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=openexr
pkgver=1.4.0a
-pkgrel=2
+pkgrel=3
pkgdesc="OpenEXR is a high dynamic-range (HDR) image file format."
url="http://www.openexr.com";
depends=('mesa' 'libsm' 'fltk' 'libgl' 'libstdc++' 'libdrm' 'libxcb' 'libxmu' 
'libxrender')
@@ -11,20 +11,9 @@ groups=('xapps')
archs=('i686' 'x86_64')
up2date="lynx -dump http://download.savannah.gnu.org/releases/openexr/|grep  
'openexr-\(.*\).tar.gz'|grep -v images| Flasttar"
source=(http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz \
-       openexr-1.4.0a-asneeded.patch)
-
-build()
-{
-       Fcd $pkgname-${pkgver//a/}
-       Fpatchall
-       aclocal || Fdie
-       autoconf || Fdie
-       libtoolize --copy --force || Fdie
-       automake || Fdie
-       Fmake
-       Fmakeinstall
-}
-
-sha1sums=('d7f2188b677ea28cafb104f2ace6c0f50b5aadee'\
-          'b63fdc2492a5bedb2b50f71b8bc4ae771356fcaf')
+       openexr-1.4.0a-asneeded.patch gcc43.patch)
+sha1sums=('d7f2188b677ea28cafb104f2ace6c0f50b5aadee' \
+          'b63fdc2492a5bedb2b50f71b8bc4ae771356fcaf' \
+          'ea73ace41a7dcaf4ea6d5b7d50df41acb6ae4cd5')
+_F_cd_path=$pkgname-${pkgver//a/}
# optimization OK
diff --git a/source/xapps/openexr/gcc43.patch b/source/xapps/openexr/gcc43.patch
new file mode 100644
index 0000000..f5fa837
--- /dev/null
+++ b/source/xapps/openexr/gcc43.patch
@@ -0,0 +1,22 @@
+diff -Naur openexr-1.6.1-orig/exrenvmap/main.cpp 
openexr-1.6.1/exrenvmap/main.cpp
+--- openexr-1.6.1-orig/exrenvmap/main.cpp      2007-04-24 19:07:51.000000000 
-0600
++++ openexr-1.6.1/exrenvmap/main.cpp   2008-01-12 20:28:56.000000000 -0600
+@@ -43,6 +43,7 @@
+ #include <makeLatLongMap.h>
+ #include <ImfEnvmap.h>
+ #include <iostream>
++#include <cstring>
+ #include <exception>
+ #include <stdlib.h>
+
+diff -Naur openexr-1.6.1-orig/exrmaketiled/main.cpp 
openexr-1.6.1/exrmaketiled/main.cpp
+--- openexr-1.6.1-orig/exrmaketiled/main.cpp   2007-04-24 19:08:45.000000000 
-0600
++++ openexr-1.6.1/exrmaketiled/main.cpp        2008-01-12 20:28:14.000000000 
-0600
+@@ -45,6 +45,7 @@
+ #include <iostream>
+ #include <exception>
+ #include <string>
++#include <cstring>
+ #include <stdlib.h>
+
+ using namespace Imf;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to