diff options
author | Sven Wegener <swegener@gentoo.org> | 2006-09-18 21:37:47 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2006-09-18 21:37:47 +0000 |
commit | 5e860069b3745049c21314f522ab14023b11eb2d (patch) | |
tree | 302523ee9e3fbeab46583ed42dd8845403907240 /x11-misc/3dfb | |
parent | Version bump to 3.2.5 (diff) | |
download | gentoo-2-5e860069b3745049c21314f522ab14023b11eb2d.tar.gz gentoo-2-5e860069b3745049c21314f522ab14023b11eb2d.tar.bz2 gentoo-2-5e860069b3745049c21314f522ab14023b11eb2d.zip |
Fix building with gcc-4.1, thanks to Ian S. <rhican@gmail.com> in bug #147984.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'x11-misc/3dfb')
-rw-r--r-- | x11-misc/3dfb/3dfb-0.6.1.ebuild | 13 | ||||
-rw-r--r-- | x11-misc/3dfb/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/3dfb/files/0.6.1-gcc41.patch | 12 | ||||
-rw-r--r-- | x11-misc/3dfb/files/digest-3dfb-0.6.1 | 2 |
4 files changed, 31 insertions, 4 deletions
diff --git a/x11-misc/3dfb/3dfb-0.6.1.ebuild b/x11-misc/3dfb/3dfb-0.6.1.ebuild index e947c0c442ed..090603e2b554 100644 --- a/x11-misc/3dfb/3dfb-0.6.1.ebuild +++ b/x11-misc/3dfb/3dfb-0.6.1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/3dfb/3dfb-0.6.1.ebuild,v 1.5 2005/10/06 21:53:20 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/3dfb/3dfb-0.6.1.ebuild,v 1.6 2006/09/18 21:37:47 swegener Exp $ + +inherit eutils DESCRIPTION="3D File Browser" HOMEPAGE="http://sourceforge.net/projects/dz3d/" @@ -17,6 +19,13 @@ RDEPEND=">=dev-libs/glib-2 DEPEND="${RDEPEND} dev-util/pkgconfig" +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/0.6.1-gcc41.patch +} + src_install() { make DESTDIR="${D}" install || die "make install failed" diff --git a/x11-misc/3dfb/ChangeLog b/x11-misc/3dfb/ChangeLog index 57c10d92a7b5..7020aff02bcf 100644 --- a/x11-misc/3dfb/ChangeLog +++ b/x11-misc/3dfb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/3dfb -# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/3dfb/ChangeLog,v 1.6 2004/09/07 23:12:51 swegener Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/3dfb/ChangeLog,v 1.7 2006/09/18 21:37:47 swegener Exp $ + + 18 Sep 2006; Sven Wegener <swegener@gentoo.org> +files/0.6.1-gcc41.patch, + 3dfb-0.6.1.ebuild: + Fix building with gcc-4.1, thanks to Ian S. <rhican@gmail.com> in bug #147984. 08 Sep 2004; Sven Wegener <swegener@gentoo.org> -3dfb-0.5.5.ebuild, 3dfb-0.6.1.ebuild: diff --git a/x11-misc/3dfb/files/0.6.1-gcc41.patch b/x11-misc/3dfb/files/0.6.1-gcc41.patch new file mode 100644 index 000000000000..2a964f66c21d --- /dev/null +++ b/x11-misc/3dfb/files/0.6.1-gcc41.patch @@ -0,0 +1,12 @@ +diff -Nur 3dfb-0.6.1.orig/src/gui.cpp 3dfb-0.6.1/src/gui.cpp +--- 3dfb-0.6.1.orig/src/gui.cpp 2004-07-28 22:32:21.000000000 +0000 ++++ 3dfb-0.6.1/src/gui.cpp 2006-09-18 21:35:01.271923722 +0000 +@@ -70,7 +70,7 @@ + + + static fileMap fileMap; +-static levelLocation levels[fileMap.maxLevels]; ++static levelLocation levels[1024]; + + + diff --git a/x11-misc/3dfb/files/digest-3dfb-0.6.1 b/x11-misc/3dfb/files/digest-3dfb-0.6.1 index 60f26f59e88b..ce695e2b3244 100644 --- a/x11-misc/3dfb/files/digest-3dfb-0.6.1 +++ b/x11-misc/3dfb/files/digest-3dfb-0.6.1 @@ -1 +1,3 @@ MD5 90f42a25f5fa4572faedcb00c20a8eb4 3dfb-0.6.1.tar.gz 102343 +RMD160 2782d3984367aad07e3c53bcdb240e53b6ffa1c6 3dfb-0.6.1.tar.gz 102343 +SHA256 94321725651711a7f7e61f8c479e519985f980e788dfa6a840300d8a41dacf3f 3dfb-0.6.1.tar.gz 102343 |