diff options
author | Peter Gavin <pete@gentoo.org> | 2001-05-29 23:04:13 +0000 |
---|---|---|
committer | Peter Gavin <pete@gentoo.org> | 2001-05-29 23:04:13 +0000 |
commit | 38a2b6bcc7e801d8d0f2bfe9e9e9a6519a73e22e (patch) | |
tree | 4159925fcc9d7864fa5bff32d2e6abf8f062a490 /dev-tcltk | |
parent | Update ppp to version 2.4.1 (diff) | |
download | gentoo-2-38a2b6bcc7e801d8d0f2bfe9e9e9a6519a73e22e.tar.gz gentoo-2-38a2b6bcc7e801d8d0f2bfe9e9e9a6519a73e22e.tar.bz2 gentoo-2-38a2b6bcc7e801d8d0f2bfe9e9e9a6519a73e22e.zip |
added wine-20010418, with winesetuptk which provides a simple tcl/tk based setup interface for wine; also added new tcl/tk package plus itcl which is required for winesetuptk. now I can play starcraft! :)
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/itcl/files/digest-itcl-3.2 | 1 | ||||
-rw-r--r-- | dev-tcltk/itcl/files/itcl-3.2-gentoo.diff | 33 | ||||
-rw-r--r-- | dev-tcltk/itcl/itcl-3.2.ebuild | 34 |
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-tcltk/itcl/files/digest-itcl-3.2 b/dev-tcltk/itcl/files/digest-itcl-3.2 new file mode 100644 index 000000000000..ca001f8b04ab --- /dev/null +++ b/dev-tcltk/itcl/files/digest-itcl-3.2 @@ -0,0 +1 @@ +MD5 b41ed909969eaa5f0a06ab698393760f itcl3.2.tar.gz diff --git a/dev-tcltk/itcl/files/itcl-3.2-gentoo.diff b/dev-tcltk/itcl/files/itcl-3.2-gentoo.diff new file mode 100644 index 000000000000..1821124c95f2 --- /dev/null +++ b/dev-tcltk/itcl/files/itcl-3.2-gentoo.diff @@ -0,0 +1,33 @@ +diff -ur itcl3.2.orig/itcl/generic/itcl_class.c itcl3.2/itcl/generic/itcl_class.c +--- itcl3.2.orig/itcl/generic/itcl_class.c Mon Aug 28 23:58:00 2000 ++++ itcl3.2/itcl/generic/itcl_class.c Tue May 29 12:00:19 2001 +@@ -960,7 +960,7 @@ + * it--as it is being resolved again by the compiler. + */ + cmdPtr = (Command*)mfunc->accessCmd; +- if (!cmdPtr || cmdPtr->deleted) { ++ if (!cmdPtr || (cmdPtr->flags & CMD_IS_DELETED)) { + mfunc->accessCmd = NULL; + + if ((flags & TCL_LEAVE_ERR_MSG) != 0) { +diff -ur itcl3.2.orig/itcl/generic/itcl_ensemble.c itcl3.2/itcl/generic/itcl_ensemble.c +--- itcl3.2.orig/itcl/generic/itcl_ensemble.c Mon Aug 28 23:58:00 2000 ++++ itcl3.2/itcl/generic/itcl_ensemble.c Tue May 29 12:05:33 2001 +@@ -819,7 +819,7 @@ + cmdPtr->clientData = NULL; + cmdPtr->deleteProc = DeleteEnsemble; + cmdPtr->deleteData = cmdPtr->objClientData; +- cmdPtr->deleted = 0; ++ cmdPtr->flags &= ~CMD_IS_DELETED; + cmdPtr->importRefPtr = NULL; + + ensPart->cmdPtr = cmdPtr; +@@ -896,7 +896,7 @@ + cmdPtr->clientData = NULL; + cmdPtr->deleteProc = deleteProc; + cmdPtr->deleteData = (ClientData)clientData; +- cmdPtr->deleted = 0; ++ cmdPtr->flags &= ~CMD_IS_DELETED; + cmdPtr->importRefPtr = NULL; + + ensPart->cmdPtr = cmdPtr; diff --git a/dev-tcltk/itcl/itcl-3.2.ebuild b/dev-tcltk/itcl/itcl-3.2.ebuild new file mode 100644 index 000000000000..e72bd010a327 --- /dev/null +++ b/dev-tcltk/itcl/itcl-3.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Your Name <your email> +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/itcl-3.2.ebuild,v 1.1 2001/05/29 23:04:13 pete Exp $ + +#P= +A=itcl${PV}.tar.gz +S=${WORKDIR}/itcl${PV} +DESCRIPTION="Object Oriented Enhancements for Tcl/Tk" +SRC_URI="http://dev.scriptics.com/ftp/itcl/${A}" +HOMEPAGE="http://dev.scriptics.com/ftp/itcl/" + +DEPEND=">=dev-lang/tcl-tk-8.4.2" + +src_unpack() { + unpack ${A} + cd ${S} + try patch -p1 < ${FILESDIR}/${PF}-gentoo.diff +} + +src_compile() { + try ./configure --prefix=/usr --host=${CHOST} + try make CFLAGS_DEFAULT=\""${CFLAGS}"\" +} + +src_install () { + try make prefix=${D}/usr install + rm ${D}/usr/lib/iwidgets + ln -s iwidgets3.0.1 ${D}/usr/lib/iwidgets + dodoc CHANGES INCOMPATIBLE README TODO + cd ${S}/doc ; docinto doc + dodoc README +} + |