summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-03 04:48:56 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-03 04:48:56 +0000
commit7d4dab8e885a67938291e514d8022cbd02dae717 (patch)
tree46b00ea0a1fcd5edc07e820cd681384eed8f4874
parentMake setup.py executable before calling (diff)
downloadgentoo-2-7d4dab8e885a67938291e514d8022cbd02dae717.tar.gz
gentoo-2-7d4dab8e885a67938291e514d8022cbd02dae717.tar.bz2
gentoo-2-7d4dab8e885a67938291e514d8022cbd02dae717.zip
fix building with -fno-implicit-templates #90819
(Portage version: 2.0.51.21)
-rw-r--r--sys-libs/ncurses/files/ncurses-5.4-c++-templates.patch17
-rw-r--r--sys-libs/ncurses/ncurses-5.4-r5.ebuild3
-rw-r--r--sys-libs/ncurses/ncurses-5.4-r6.ebuild3
-rw-r--r--sys-libs/ncurses/ncurses-5.4.20050319.ebuild3
4 files changed, 23 insertions, 3 deletions
diff --git a/sys-libs/ncurses/files/ncurses-5.4-c++-templates.patch b/sys-libs/ncurses/files/ncurses-5.4-c++-templates.patch
new file mode 100644
index 000000000000..60c4b716e2de
--- /dev/null
+++ b/sys-libs/ncurses/files/ncurses-5.4-c++-templates.patch
@@ -0,0 +1,17 @@
+Fix building with -fno-implicit-templates.
+
+http://bugs.gentoo.org/show_bug.cgi?id=90819
+
+Patch by Mike Frysinger (C++ sucks btw)
+
+--- c++/demo.cc
++++ c++/demo.cc
+@@ -152,6 +152,8 @@
+ return FALSE;
+ }
+ };
++template class MyAction<UserData>;
++template class NCURSES_IMPEXP NCursesUserItem<UserData>;
+
+ class QuitItem : public NCursesMenuItem
+ {
diff --git a/sys-libs/ncurses/ncurses-5.4-r5.ebuild b/sys-libs/ncurses/ncurses-5.4-r5.ebuild
index 0afbcbb91382..41803a556857 100644
--- a/sys-libs/ncurses/ncurses-5.4-r5.ebuild
+++ b/sys-libs/ncurses/ncurses-5.4-r5.ebuild
@@ -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/sys-libs/ncurses/ncurses-5.4-r5.ebuild,v 1.23 2005/03/22 18:52:33 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.4-r5.ebuild,v 1.24 2005/05/03 04:48:55 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -30,6 +30,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${P}-xterm.patch
epatch "${FILESDIR}"/${P}-share-sed.patch #42336
+ epatch "${FILESDIR}"/${P}-c++-templates.patch #90819
}
src_compile() {
diff --git a/sys-libs/ncurses/ncurses-5.4-r6.ebuild b/sys-libs/ncurses/ncurses-5.4-r6.ebuild
index b84a5e173c74..583e1bc359b1 100644
--- a/sys-libs/ncurses/ncurses-5.4-r6.ebuild
+++ b/sys-libs/ncurses/ncurses-5.4-r6.ebuild
@@ -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/sys-libs/ncurses/ncurses-5.4-r6.ebuild,v 1.6 2005/05/01 17:17:56 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.4-r6.ebuild,v 1.7 2005/05/03 04:48:55 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -30,6 +30,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${P}-xterm.patch
epatch "${FILESDIR}"/${P}-share-sed.patch #42336
+ epatch "${FILESDIR}"/${P}-c++-templates.patch #90819
}
src_compile() {
diff --git a/sys-libs/ncurses/ncurses-5.4.20050319.ebuild b/sys-libs/ncurses/ncurses-5.4.20050319.ebuild
index 20c0d04fdaa3..5e8d47448201 100644
--- a/sys-libs/ncurses/ncurses-5.4.20050319.ebuild
+++ b/sys-libs/ncurses/ncurses-5.4.20050319.ebuild
@@ -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/sys-libs/ncurses/ncurses-5.4.20050319.ebuild,v 1.1 2005/04/28 23:08:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.4.20050319.ebuild,v 1.2 2005/05/03 04:48:55 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -35,6 +35,7 @@ src_unpack() {
cd "${S}"
epatch "${WORKDIR}"/${MY_P}-${PV_SNAP}-patch.sh
epatch "${FILESDIR}"/${MY_P}-share-sed.patch #42336
+ epatch "${FILESDIR}"/${MY_P}-c++-templates.patch #90819
}
src_compile() {