openexr gcc4 fix
authorHanno Boeck <hanno@gentoo.org>
Sat, 22 Oct 2005 22:57:43 +0000 (22:57 +0000)
committerHanno Boeck <hanno@gentoo.org>
Sat, 22 Oct 2005 22:57:43 +0000 (22:57 +0000)
Package-Manager: portage-2.0.53_rc6

media-libs/openexr/ChangeLog
media-libs/openexr/Manifest
media-libs/openexr/files/openexr-1.2.2-gcc4.patch [new file with mode: 0644]
media-libs/openexr/openexr-1.2.2-r1.ebuild

index 3172092fe489fca90eb4b995318217b56a295c16..05d900b02e39ce838c9c44330b26c3250b4d15ba 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for media-libs/openexr
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/openexr/ChangeLog,v 1.27 2005/09/12 12:18:46 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openexr/ChangeLog,v 1.28 2005/10/22 22:57:43 hanno Exp $
+
+  22 Oct 2005; Hanno Boeck <hanno@gentoo.org>
+  +files/openexr-1.2.2-gcc4.patch, openexr-1.2.2-r1.ebuild:
+  Fix for gcc4.
 
   12 Sep 2005; Aron Griffis <agriffis@gentoo.org> openexr-1.2.2.ebuild:
   Mark 1.2.2 stable on alpha
index 2a194c1a8cfaeb9d78f657ff47b8a33630173341..5ff6f15a9f22b5299cb51529d9b58a6c51f43734 100644 (file)
@@ -1,9 +1,20 @@
-MD5 c9c0d28408bc3c035ac3d1de86ea72ac openexr-1.2.2.ebuild 1005
-MD5 ecbccc321ed77269259d02d45e9af467 openexr-1.2.2-r1.ebuild 1619
-MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158
-MD5 a31350247591f598c5dc499c814b7c10 ChangeLog 3663
-MD5 6f69b195aab90aaa3d98f058bc0f584d openexr-1.0.7.ebuild 1006
-MD5 ae16061f11f8add38c447314c0f8724c files/digest-openexr-1.2.2 66
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 42bc823bb4d3bb80a755861bedc0902c ChangeLog 3783
 MD5 21ea9ea0c3fabd1e25cd34b7de57dc62 files/digest-openexr-1.0.7 66
-MD5 dd45e17d712e65d12cb5a8cb704fc11c files/openexr-1.0.7-gentoo.patch 993
+MD5 ae16061f11f8add38c447314c0f8724c files/digest-openexr-1.2.2 66
 MD5 ae16061f11f8add38c447314c0f8724c files/digest-openexr-1.2.2-r1 66
+MD5 dd45e17d712e65d12cb5a8cb704fc11c files/openexr-1.0.7-gentoo.patch 993
+MD5 bc17a0faf5bb747f36271992bc598a15 files/openexr-1.2.2-gcc4.patch 311
+MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158
+MD5 6f69b195aab90aaa3d98f058bc0f584d openexr-1.0.7.ebuild 1006
+MD5 cf302ab9e9b6094b081093ae2a12aa51 openexr-1.2.2-r1.ebuild 1661
+MD5 c9c0d28408bc3c035ac3d1de86ea72ac openexr-1.2.2.ebuild 1005
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDWsQ5r2QksT29OyARAnzcAJ0YM+zPde7QU/WbCC0w0l0AXXKVlgCfc8ci
+OMAnWc/9yIHoztGzqHPwU+g=
+=E2o8
+-----END PGP SIGNATURE-----
diff --git a/media-libs/openexr/files/openexr-1.2.2-gcc4.patch b/media-libs/openexr/files/openexr-1.2.2-gcc4.patch
new file mode 100644 (file)
index 0000000..5395cff
--- /dev/null
@@ -0,0 +1,11 @@
+diff -u -r /tmp/OpenEXR-1.2.2/exrmaketiled/Image.h ./exrmaketiled/Image.h
+--- /tmp/OpenEXR-1.2.2/exrmaketiled/Image.h    2004-06-04 06:11:23.000000000 +0200
++++ ./exrmaketiled/Image.h     2005-08-08 20:29:50.000000000 +0200
+@@ -49,6 +49,7 @@
+ #include <string>
+ #include <map>
+ 
++class Image;
+ 
+ class ImageChannel
+ {
index d97e31b701c705369a22411609f6e6875c375106..f6e6138cfc5de36e6692fe96859c6c942626a29f 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/openexr/openexr-1.2.2-r1.ebuild,v 1.3 2005/09/10 13:04:08 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openexr/openexr-1.2.2-r1.ebuild,v 1.4 2005/10/22 22:57:43 hanno Exp $
 
 inherit eutils
 
@@ -35,6 +35,8 @@ src_unpack() {
        unpack ${A}
        sed -i -e "s:OpenEXR-@OPENEXR_VERSION@:\$\(P\):" ${S}/IlmImfExamples/Makefile.in
        sed -i -e "s:NVSDK_CXXFLAGS=\"\":NVSDK_CXXFLAGS=\"-DUNIX\":" ${S}/acinclude.m4
+
+       epatch ${FILESDIR}/openexr-1.2.2-gcc4.patch
 }
 
 src_compile() {