summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-03-04 12:43:33 +0100
committerJustin Lecher <jlec@gentoo.org>2013-03-04 12:43:33 +0100
commit95256b1cc2e15e79b4a18c4058735f47e1a1956e (patch)
treeed3d672e2808ef5f89220f2e44d8547650c43728 /media-gfx
parentMerge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/betagarden (diff)
downloadbetagarden-95256b1cc2e15e79b4a18c4058735f47e1a1956e.tar.gz
betagarden-95256b1cc2e15e79b4a18c4058735f47e1a1956e.tar.bz2
betagarden-95256b1cc2e15e79b4a18c4058735f47e1a1956e.zip
media-gfx/u3d: Add fix for gcc-4.7
Package-Manager: portage-2.2.0_alpha165
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/u3d/ChangeLog8
-rw-r--r--media-gfx/u3d/Manifest24
-rw-r--r--media-gfx/u3d/files/u3d-1.4.3-gcc4.7.patch16
-rw-r--r--media-gfx/u3d/u3d-1.4.3.ebuild9
4 files changed, 32 insertions, 25 deletions
diff --git a/media-gfx/u3d/ChangeLog b/media-gfx/u3d/ChangeLog
new file mode 100644
index 0000000..89dc40a
--- /dev/null
+++ b/media-gfx/u3d/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for media-gfx/u3d
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 04 Mar 2013; Justin Lecher <jlec@gentoo.org> u3d-1.4.3.ebuild,
+ +files/u3d-1.4.3-gcc4.7.patch:
+ Add fix for gcc-4.7
+
diff --git a/media-gfx/u3d/Manifest b/media-gfx/u3d/Manifest
index 1a2642b..941c914 100644
--- a/media-gfx/u3d/Manifest
+++ b/media-gfx/u3d/Manifest
@@ -1,23 +1 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-DIST u3d-1.4.3.tar.gz 15076431 RMD160 115c8b4ad2becdc6726e83539601fad17fa6e873 SHA1 30b415eabf89cb149cdc3841a7f92689edf816dc SHA256 8486f35d627c985dde20304aeed298181a6e551684144add5d45d71551e4f196
-EBUILD u3d-1.4.3.ebuild 968 RMD160 83ae946a55fa807916d4c8d2327110fd04603f63 SHA1 46930014537a4c899ff6066e5575fc34529e4ea8 SHA256 e989fe44f5d74d1b94e1dbc784e629f0a9869420aeee8f8b02036a5f6b5171a3
-MISC metadata.xml 259 RMD160 3b597be682b1ef9e91a3c85c5050910da81922bd SHA1 6cde4e236e30d88aff6065fd96f6f9c4a305bccc SHA256 f6b98cad9aa358f49b4894db896d5e7f0bf57bc67ad62d0485adbc6d6e9b4dc4
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQIcBAEBCAAGBQJPqaPbAAoJEOf+E+/4L5LmmI8P/R15NZrWkPbTg5KVNBzXCmS8
-GQthF5ioHt8GBocTqJDTUNErBbGFIPiG66Ddlo4Y9poFvXK5fZsvb8dRhULRIe7D
-5r83Hu34CQ8SG3GjMVw0OYd2NTq2gFWNDqdNdRUx9iJB1FErnIZupJA2hQ9vNs0X
-ByqYjjNgwTYlAKCJhE6JE4P2HmjSPYb+d8NLAqZ/hKTjwxg1tA3HlbwIb0x1sRk6
-BH2JEYRHWXZQ3dJRHuZLvYgv5NGfGxrPcsBzlHkzw/3RzQyUkEz2ZT+LZvvLfR0i
-MVj8MGvBIlnQfrWJ+n8Os/vdCpF9vzEcEbI1fT8l3gPb9CDPDyMriKfw3Cy/j0TT
-op3Y4/Iut735ISSY9sJsxNtMsxQouqqcs9yhnn4fXJjX5i6FJae9xGyRqiOIyZHJ
-rus//MMNRCdeYsqRslBp2jDYkLclVaZOKwTjQkH21nllMQcgs/dQnFjJnCRXAP/g
-oY+nV2GQvf3arHFn7AyVc0UbFRHCWvW31IvO89ke7bvfCDu773BKgJx3TVtzLRJE
-f3qnYu6t2pOE26xo0DNbq8knDyVyhGXqbqQnyEpTPaaL4iKHlRJBcQdL+Ny93YUU
-DvCvFMXn0u37VNoa77VbAtHy2aI9XVivd0Yrf9oRVVtjkdRS2ZrYMVG/+gLfgCyg
-JkOpG4byXSFYKwmmmFoU
-=OrhY
------END PGP SIGNATURE-----
+DIST u3d-1.4.3.tar.gz 15076431 SHA256 8486f35d627c985dde20304aeed298181a6e551684144add5d45d71551e4f196 SHA512 bdd73fd38357d65b197ed3c856e679dfad9b3c685a5abf69e9b9bad3aca62b2f3e7bc7dffeec47431fa57147e721a2362acd3100f8d2d6acb84105d41f154e4c WHIRLPOOL c1262932b1805dfd5c6c12a423dfdc1d18511de1b0c8995c8b8d27c8a74200123e6c32a47924667ec2dbfd36d9c63686a2e0ef6c90e6362e5436681e07fc78a7
diff --git a/media-gfx/u3d/files/u3d-1.4.3-gcc4.7.patch b/media-gfx/u3d/files/u3d-1.4.3-gcc4.7.patch
new file mode 100644
index 0000000..c991186
--- /dev/null
+++ b/media-gfx/u3d/files/u3d-1.4.3-gcc4.7.patch
@@ -0,0 +1,16 @@
+ RTL/Component/Include/IFXAttributes.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/RTL/Component/Include/IFXAttributes.h b/RTL/Component/Include/IFXAttributes.h
+index c6832c1..8d071c8 100644
+--- a/RTL/Component/Include/IFXAttributes.h
++++ b/RTL/Component/Include/IFXAttributes.h
+@@ -22,6 +22,8 @@
+ Declaration of IFXAttributes template
+ */
+
++#include <string.h>
++
+ #ifndef __IFXATTRIBUTES_H__
+ #define __IFXATTRIBUTES_H__
+
diff --git a/media-gfx/u3d/u3d-1.4.3.ebuild b/media-gfx/u3d/u3d-1.4.3.ebuild
index 3323215..1953817 100644
--- a/media-gfx/u3d/u3d-1.4.3.ebuild
+++ b/media-gfx/u3d/u3d-1.4.3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI=5
inherit cmake-utils multilib
@@ -24,6 +24,10 @@ RDEPEND="${DEPEND}"
MYCMAKEARGS="-DU3D_SHARED=ON -DBUILD_SHARED_LIBS=ON"
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc4.7.patch
+)
+
src_prepare() {
sed \
-e "s:LIB_DESTINATION u3d:LIB_DESTINATION $(get_libdir):g" \
@@ -33,4 +37,5 @@ src_prepare() {
-e "s:SAMPLE_DESTINATION u3d/samples:SAMPLE_DESTINATION share/${PN}/samples:g" \
-e "s:DOC_DESTINATION u3d/docs:DOC_DESTINATION share/docs/${P}:g" \
-i CMakeLists.txt
+ base_src_prepare
}