summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-12-03 10:58:26 +0000
committerMamoru Komachi <usata@gentoo.org>2004-12-03 10:58:26 +0000
commit0685afc6de699697b12f9d21df743467b66b28eb (patch)
tree25ac46e38ed825b2dc5dac21a3ac48770dfb594f /x11-libs/nucleo
parentFixing bug #73146 (Manifest recommit) (diff)
downloadgentoo-2-0685afc6de699697b12f9d21df743467b66b28eb.tar.gz
gentoo-2-0685afc6de699697b12f9d21df743467b66b28eb.tar.bz2
gentoo-2-0685afc6de699697b12f9d21df743467b66b28eb.zip
Added a patch to fix bug #72934.
Diffstat (limited to 'x11-libs/nucleo')
-rw-r--r--x11-libs/nucleo/ChangeLog6
-rw-r--r--x11-libs/nucleo/files/nucleo-0.1-nv.patch15
-rw-r--r--x11-libs/nucleo/nucleo-0.1_p20041130.ebuild10
3 files changed, 29 insertions, 2 deletions
diff --git a/x11-libs/nucleo/ChangeLog b/x11-libs/nucleo/ChangeLog
index 161207120a9c..4c3f9cdf3728 100644
--- a/x11-libs/nucleo/ChangeLog
+++ b/x11-libs/nucleo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/nucleo
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/nucleo/ChangeLog,v 1.6 2004/12/02 11:34:58 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/nucleo/ChangeLog,v 1.7 2004/12/03 10:58:25 usata Exp $
+
+ 03 Dec 2004; Mamoru KOMACHI <usata@gentoo.org> +files/nucleo-0.1-nv.patch,
+ nucleo-0.1_p20041130.ebuild:
+ Added a patch to fix bug #72934.
*nucleo-0.1_p20041130 (02 Dec 2004)
diff --git a/x11-libs/nucleo/files/nucleo-0.1-nv.patch b/x11-libs/nucleo/files/nucleo-0.1-nv.patch
new file mode 100644
index 000000000000..de62c5396030
--- /dev/null
+++ b/x11-libs/nucleo/files/nucleo-0.1-nv.patch
@@ -0,0 +1,15 @@
+--- glTextureTile.cxx.orig 2004-11-17 17:43:36.000000000 +0900
++++ glTextureTile.cxx 2004-12-03 19:43:59.000000000 +0900
+@@ -32,10 +32,9 @@
+ getTargetName(GLenum target) {
+ switch(target) {
+ case GL_TEXTURE_2D: return "GL_TEXTURE_2D" ;
+-#ifdef GL_TEXTURE_RECTANGLE_EXT
++#if defined(GL_TEXTURE_RECTANGLE_EXT)
+ case GL_TEXTURE_RECTANGLE_EXT: return "GL_TEXTURE_RECTANGLE_EXT" ;
+-#endif
+-#ifdef GL_TEXTURE_RECTANGLE_NV
++#elif defined(GL_TEXTURE_RECTANGLE_NV)
+ case GL_TEXTURE_RECTANGLE_NV: return "GL_TEXTURE_RECTANGLE_NV" ;
+ #endif
+ default: return "<unknown>" ;
diff --git a/x11-libs/nucleo/nucleo-0.1_p20041130.ebuild b/x11-libs/nucleo/nucleo-0.1_p20041130.ebuild
index 5ddd54458d45..8dd672aaf4c8 100644
--- a/x11-libs/nucleo/nucleo-0.1_p20041130.ebuild
+++ b/x11-libs/nucleo/nucleo-0.1_p20041130.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/nucleo/nucleo-0.1_p20041130.ebuild,v 1.1 2004/12/02 11:34:58 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/nucleo/nucleo-0.1_p20041130.ebuild,v 1.2 2004/12/03 10:58:25 usata Exp $
+
+inherit eutils
IUSE=""
@@ -20,6 +22,12 @@ KEYWORDS="~x86 ~ppc"
S="${WORKDIR}/${P/_p*/}"
+src_unpack() {
+ unpack ${A}
+ cd ${S}/nucleo/gl/texture
+ epatch ${FILESDIR}/${P/_p*/}-nv.patch
+}
+
src_compile() {
econf || die "configure failed"
emake || die "make failed"