summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2002-09-09 21:53:26 +0000
committerMichael Cummings <mcummings@gentoo.org>2002-09-09 21:53:26 +0000
commit0227fa76a3c8d98584a051b7ab9d11704c8f0448 (patch)
tree29e1ea66f948bb8475e173b0b7af78a656c1b595 /dev-perl/Curses
parentThis test eclass has been tested on all platforms and is no longer (diff)
downloadgentoo-2-0227fa76a3c8d98584a051b7ab9d11704c8f0448.tar.gz
gentoo-2-0227fa76a3c8d98584a051b7ab9d11704c8f0448.tar.bz2
gentoo-2-0227fa76a3c8d98584a051b7ab9d11704c8f0448.zip
These are syntax fixes for the new perl eclass. The new perl eclass uses a corrected makemaker for perl.
Diffstat (limited to 'dev-perl/Curses')
-rw-r--r--dev-perl/Curses/ChangeLog8
-rw-r--r--dev-perl/Curses/Curses-1.06-r1.ebuild26
-rw-r--r--dev-perl/Curses/files/Curses-1.06-p5.8-fixes.diff44
-rw-r--r--dev-perl/Curses/files/digest-Curses-1.06-r11
4 files changed, 78 insertions, 1 deletions
diff --git a/dev-perl/Curses/ChangeLog b/dev-perl/Curses/ChangeLog
index e73f01bb1869..d1e85569dbda 100644
--- a/dev-perl/Curses/ChangeLog
+++ b/dev-perl/Curses/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for dev-perl/Curses
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Curses/ChangeLog,v 1.2 2002/07/31 12:17:51 cselkirk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Curses/ChangeLog,v 1.3 2002/09/09 21:53:26 mcummings Exp $
+*Curses-1.06-r1 (29 Aug 2002)
+
+ 29 Aug 2002; <mcummings@gentoo.org> Curses-1.06-r1.ebuild: This patched
+ version is courtesy the hard work of Nicholas Wourms and addresses changes
+ in the Curses package
+
*Curses-1.06 (6 May 2002)
31 Jul 2002; Calum Selkirk <cselkirk@gentoo.org> Curses-1.06.ebuild :
diff --git a/dev-perl/Curses/Curses-1.06-r1.ebuild b/dev-perl/Curses/Curses-1.06-r1.ebuild
new file mode 100644
index 000000000000..b14ee4e826cc
--- /dev/null
+++ b/dev-perl/Curses/Curses-1.06-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Curses/Curses-1.06-r1.ebuild,v 1.1 2002/09/09 21:53:26 mcummings Exp $
+
+inherit perl-module
+
+DESCRIPTION="Curses interface modules for Perl"
+HOMEPAGE="http://cpan.valueclick.com/authors/id/W/WP/WPS/${P}.readme"
+SRC_URI="http://cpan.valueclick.com/authors/id/W/WP/WPS/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Artistic"
+KEYWORDS="x86 ppc sparc sparc64"
+
+DEPEND="${DEPEND}
+ >=sys-libs/ncurses-5"
+
+mymake="/usr"
+myconf="${myconf} PANELS MENUS GEN"
+
+#This patch may or may not be backwards compatible with perl-5.6.1
+#Add gaurd as necessary...
+src_unpack() {
+ unpack ${A}
+ patch -p0 <${FILESDIR}/Curses-1.06-p5.8-fixes.diff || die
+}
diff --git a/dev-perl/Curses/files/Curses-1.06-p5.8-fixes.diff b/dev-perl/Curses/files/Curses-1.06-p5.8-fixes.diff
new file mode 100644
index 000000000000..a75be95f81e4
--- /dev/null
+++ b/dev-perl/Curses/files/Curses-1.06-p5.8-fixes.diff
@@ -0,0 +1,44 @@
+diff -Naurp Curses-1.06.old/Curses.c Curses-1.06/Curses.c
+--- Curses-1.06.old/Curses.c Wed Jul 25 13:10:38 2001
++++ Curses-1.06/Curses.c Wed Aug 28 17:00:40 2002
+@@ -272,7 +272,7 @@ c_sv2window(sv, argnum)
+ SV *sv;
+ int argnum;
+ {
+- if (Perl_sv_isa(sv, "Curses::Window")) {
++ if (sv_isa( sv, "Curses::Window")) {
+ WINDOW *ret = (WINDOW *)SvIV((SV*)SvRV(sv));
+ return ret;
+ }
+diff -Naurp Curses-1.06.old/CursesFun.c Curses-1.06/CursesFun.c
+--- Curses-1.06.old/CursesFun.c Wed Jul 25 14:09:35 2001
++++ Curses-1.06/CursesFun.c Wed Aug 28 17:03:28 2002
+@@ -1276,8 +1276,8 @@ XS(XS_Curses_newterm)
+ c_exactargs("newterm", items, 3);
+ {
+ char * type = ST(0) != &PL_sv_undef ? (char *)SvPV(ST(0),PL_na) : NULL;
+- FILE * outfd = IoIFP(sv_2io(ST(1)));
+- FILE * infd = IoIFP(sv_2io(ST(2)));
++ FILE * outfd = PerlIO_findFILE(IoIFP(sv_2io(ST(1))));
++ FILE * infd = PerlIO_findFILE(IoIFP(sv_2io(ST(2))));
+ SCREEN * ret = newterm(type, outfd, infd);
+
+ ST(0) = sv_newmortal();
+@@ -3450,7 +3450,7 @@ XS(XS_Curses_putwin)
+ c_exactargs("putwin", items, 2);
+ {
+ WINDOW *win = c_sv2window(ST(0), 0);
+- FILE * filep = IoIFP(sv_2io(ST(1)));
++ FILE * filep = PerlIO_findFILE(IoIFP(sv_2io(ST(1))));
+ int ret = putwin(win, filep);
+
+ ST(0) = sv_newmortal();
+@@ -3469,7 +3469,7 @@ XS(XS_Curses_getwin)
+ #ifdef C_GETWIN
+ c_exactargs("getwin", items, 1);
+ {
+- FILE * filep = IoIFP(sv_2io(ST(0)));
++ FILE * filep = PerlIO_findFILE(IoIFP(sv_2io(ST(0))));
+ WINDOW * ret = getwin(filep);
+
+ ST(0) = sv_newmortal();
diff --git a/dev-perl/Curses/files/digest-Curses-1.06-r1 b/dev-perl/Curses/files/digest-Curses-1.06-r1
new file mode 100644
index 000000000000..12676945ccb1
--- /dev/null
+++ b/dev-perl/Curses/files/digest-Curses-1.06-r1
@@ -0,0 +1 @@
+MD5 569c7966f2e591676f7eb09e5b7a84c0 Curses-1.06.tar.gz 75923