From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 15 05:00:12 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31C4916A403 for ; Thu, 15 Mar 2007 05:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 11FB313C458 for ; Thu, 15 Mar 2007 05:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2F50B6Y074683 for ; Thu, 15 Mar 2007 05:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2F50BdT074680; Thu, 15 Mar 2007 05:00:11 GMT (envelope-from gnats) Resent-Date: Thu, 15 Mar 2007 05:00:11 GMT Resent-Message-Id: <200703150500.l2F50BdT074680@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Tournoij Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CB0216A401 for ; Thu, 15 Mar 2007 04:53:26 +0000 (UTC) (envelope-from carpetsmoker@glitch.carpetsmoker.net) Received: from glitch.carpetsmoker.net (carpetsmoker.xs4all.nl [82.93.23.199]) by mx1.freebsd.org (Postfix) with ESMTP id 99E5813C458 for ; Thu, 15 Mar 2007 04:53:13 +0000 (UTC) (envelope-from carpetsmoker@glitch.carpetsmoker.net) Received: by glitch.carpetsmoker.net (Postfix, from userid 1001) id 8E4EEB82B; Thu, 15 Mar 2007 05:53:07 +0100 (CET) Message-Id: <20070315045307.8E4EEB82B@glitch.carpetsmoker.net> Date: Thu, 15 Mar 2007 05:53:07 +0100 (CET) From: Martin Tournoij To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/110313: X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Tournoij List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 05:00:12 -0000 >Number: 110313 >Category: ports >Synopsis: >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 15 05:00:11 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Martin Tournoij >Release: FreeBSD 6.2-RELEASE-p1 i386 >Organization: >Environment: FreeBSD glitch.carpetsmoker.net 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Thu Feb 15 20:56:16 CET 2007 carpetsmoker@glitch.carpetsmoker.net:/usr/obj/nfs/tinderbox/jails/6.2/src/sys/GENERICri386 >Description: - Use TCL/TK 8.4 - Take maintainership >How-To-Repeat: >Fix: --- patch-e93 begins here --- diff -urN --exclude CVS /usr/ports/editors/e93/Makefile ./Makefile --- /usr/ports/editors/e93/Makefile Thu Dec 21 06:39:28 2006 +++ ./Makefile Thu Mar 15 05:00:22 2007 @@ -7,18 +7,25 @@ PORTNAME= e93 PORTVERSION= 1.3.4 -CATEGORIES= editors tcl82 tk82 -MASTER_SITES= ftp://ftp.e93.org/pub/ +PORTREVISION= 1 +CATEGORIES= editors tcl84 tk84 +MASTER_SITES= ftp://ftp.e93.org/pub/ \ + http://www.crpetsmoker.net/distfiles/ \ + http://www.xs4all.nl/~tournoij/distfiles/ DISTNAME= ${PORTNAME}-1.3r4X EXTRACT_SUFX= .tgz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= carpetsmoker@xs4all.nl COMMENT= A nifty editor based on Tcl/Tk -LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 \ - tk82.1:${PORTSDIR}/x11-toolkits/tk82 - +USE_TCL= yes +USE_TK= yes WRKSRC= ${WRKDIR}/${PORTNAME} + +post-patch: + @${REINPLACE_CMD} 's|wish|wish${TK_VER}|' ${WRKSRC}/e93r + @${REINPLACE_CMD} 's|CFLAGS=|CFLAGS+=$$(TK_INCLUDE) -I${LOCALBASE}/include |' \ + ${WRKSRC}/Makefile ${WRKSRC}/xgui/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/e93 ${PREFIX}/bin diff -urN --exclude CVS /usr/ports/editors/e93/files/patch-ae ./files/patch-ae --- /usr/ports/editors/e93/files/patch-ae Sat Sep 30 02:39:19 2000 +++ ./files/patch-ae Thu Jan 1 01:00:00 1970 @@ -1,44 +0,0 @@ ---- machdef.mk.orig Fri Sep 29 02:47:44 2000 -+++ machdef.mk Fri Sep 29 02:50:54 2000 -@@ -27,33 +27,32 @@ - # - # e93 will install its single executable "e93" in $PREFIX/bin - # and it will place a directory called "e93lib" in $PREFIX/lib --PREFIX=/usr/local - - - # The following lines may need to be altered if the Tcl - # files are located elsewhere on your system: --TCL_INCLUDE=-I/usr/local/include --TCL_LIB=-L/usr/local/lib -+TCL_INCLUDE=-I${LOCALBASE}/include/tcl8.2 -+TCL_LIB=-L${LOCALBASE}/lib - # uncomment and change if you want to link with specific versions of Tcl/Tk --#TCL_VERSION=8.3 -+TCL_VERSION=82 -+TK_INCLUDE=-I${LOCALBASE}/include/tk8.2 - - - # The following lines may need to be altered if the X include and library - # files are located elsewhere on your system: --X_INCLUDE=-I/usr/X11R6/include --X_LIB=-L/usr/X11R6/lib -+X_INCLUDE=-I${X11BASE}/include -+X_LIB=-L${X11BASE}/lib - - - # if your system needs some extra libraries, add them here: --EXTRALIBS=-lm -ldl -+EXTRALIBS=-lm - - # Uncomment this line if running Solaris: - #MACHINESPEC=-DSOLARIS - - # set compiler to use --CC=gcc - - - # set some compiler options --OPTIONS=-O2 -Wall -x c++ -g -+OPTIONS=-Wall -x c++ - #OPTIONS = -Wall -O2 -x c++ -mcpu=21164a -Wa,-m21164a -g diff -urN --exclude CVS /usr/ports/editors/e93/files/patch-af ./files/patch-af --- /usr/ports/editors/e93/files/patch-af Sat Sep 30 02:39:19 2000 +++ ./files/patch-af Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- Makefile.orig Sun Sep 24 18:33:49 2000 -+++ Makefile Sun Sep 24 18:34:49 2000 -@@ -21,7 +21,7 @@ - # Include machine/platform specific information - include machdef.mk - --CFLAGS=-I. $(TCL_INCLUDE) $(X_INCLUDE) $(OPTIONS) $(MACHINESPEC) -+CFLAGS+=-I. $(TCL_INCLUDE) ${TK_INCLUDE} $(X_INCLUDE) $(OPTIONS) $(MACHINESPEC) - - OBJECTS = \ - e93.o \ diff -urN --exclude CVS /usr/ports/editors/e93/files/patch-ag ./files/patch-ag --- /usr/ports/editors/e93/files/patch-ag Sat Sep 30 02:39:19 2000 +++ ./files/patch-ag Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- xgui/Makefile.orig Sun Sep 24 23:32:13 2000 -+++ xgui/Makefile Sun Sep 24 23:32:30 2000 -@@ -17,7 +17,7 @@ - # Include machine/platform specific information into the build - include ../machdef.mk - --CFLAGS=-I. $(TCL_INCLUDE) $(X_INCLUDE) $(OPTIONS) $(MACHINESPEC) -DPREFIX=\"$(PREFIX)\" -+CFLAGS+=-I. $(TCL_INCLUDE) $(TK_INCLUDE) $(X_INCLUDE) $(OPTIONS) $(MACHINESPEC) -DPREFIX=\"$(PREFIX)\" - - OBJECTS = \ - globals.o \ diff -urN --exclude CVS /usr/ports/editors/e93/files/patch-ah ./files/patch-ah --- /usr/ports/editors/e93/files/patch-ah Sat Sep 30 02:39:19 2000 +++ ./files/patch-ah Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- e93r.orig Fri Sep 29 03:29:30 2000 -+++ e93r Fri Sep 29 03:33:59 2000 -@@ -25,7 +25,7 @@ - - # NOTE: you may have to adjust the wish to e.g. /usr/local/bin/wish8.3 - # restart using wish \ --exec wish "$0" "$@" -+exec wish8.2 "$0" "$@" - - # check presence of another e93 - set e93present "" diff -urN --exclude CVS /usr/ports/editors/e93/files/patch-channels.c ./files/patch-channels.c --- /usr/ports/editors/e93/files/patch-channels.c Thu Dec 21 06:39:28 2006 +++ ./files/patch-channels.c Thu Jan 1 01:00:00 1970 @@ -1,20 +0,0 @@ ---- ./channels.c.orig Sat May 29 12:01:41 2004 -+++ ./channels.c Wed Dec 20 14:35:21 2006 -@@ -54,7 +54,7 @@ - return(TCL_OK); // nothing for us to do, but this proc must exist - } - --static int StdoutOutputProc(ClientData clientData,const char *buf,int charsToWrite,int *errorCode) -+static int StdoutOutputProc(ClientData clientData,char *buf,int charsToWrite,int *errorCode) - // Writes the given output on the IO channel. Returns count of how - // many characters were actually written, and an error indication. - { -@@ -76,7 +76,7 @@ - return(charsWritten); - } - --static int StderrOutputProc(ClientData clientData,const char *buf,int charsToWrite,int *errorCode) -+static int StderrOutputProc(ClientData clientData,char *buf,int charsToWrite,int *errorCode) - // Writes the given output on the IO channel. Returns count of how - // many characters were actually written, and an error indication. - { diff -urN --exclude CVS /usr/ports/editors/e93/files/patch-machdef.mk ./files/patch-machdef.mk --- /usr/ports/editors/e93/files/patch-machdef.mk Thu Jan 1 01:00:00 1970 +++ ./files/patch-machdef.mk Wed Mar 14 20:15:20 2007 @@ -0,0 +1,44 @@ +--- machdef.mk.orig Fri Sep 29 02:47:44 2000 ++++ machdef.mk Fri Sep 29 02:50:54 2000 +@@ -27,33 +27,32 @@ + # + # e93 will install its single executable "e93" in $PREFIX/bin + # and it will place a directory called "e93lib" in $PREFIX/lib +-PREFIX=/usr/local + + + # The following lines may need to be altered if the Tcl + # files are located elsewhere on your system: +-TCL_INCLUDE=-I/usr/local/include +-TCL_LIB=-L/usr/local/lib ++TCL_INCLUDE=-I${LOCALBASE}/include/tcl8.4 ++TCL_LIB=-L${LOCALBASE}/lib + # uncomment and change if you want to link with specific versions of Tcl/Tk +-#TCL_VERSION=8.3 ++TCL_VERSION=84 ++TK_INCLUDE=-I${LOCALBASE}/include/tk8.4 + + + # The following lines may need to be altered if the X include and library + # files are located elsewhere on your system: +-X_INCLUDE=-I/usr/X11R6/include +-X_LIB=-L/usr/X11R6/lib ++X_INCLUDE=-I${X11BASE}/include ++X_LIB=-L${X11BASE}/lib + + + # if your system needs some extra libraries, add them here: +-EXTRALIBS=-lm -ldl ++EXTRALIBS=-lm + + # Uncomment this line if running Solaris: + #MACHINESPEC=-DSOLARIS + + # set compiler to use +-CC=gcc + + + # set some compiler options +-OPTIONS=-O2 -Wall -x c++ -g ++OPTIONS=-Wall -x c++ + #OPTIONS = -Wall -O2 -x c++ -mcpu=21164a -Wa,-m21164a -g diff -urN --exclude CVS /usr/ports/editors/e93/files/patch-shell.c ./files/patch-shell.c --- /usr/ports/editors/e93/files/patch-shell.c Thu Dec 21 06:39:28 2006 +++ ./files/patch-shell.c Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- ./shell.c.orig Mon May 31 19:37:29 2004 -+++ ./shell.c Wed Dec 20 14:24:36 2006 -@@ -935,7 +935,7 @@ - return(TCL_ERROR); - } - --static void TraceCheckAbortProc(ClientData theClientData,Tcl_Interp *theInterpreter,int theLevel,char *theCommand,Tcl_CmdProc *theProc,ClientData cmdClientData,int argc,const char *argv[]) -+static void TraceCheckAbortProc(ClientData theClientData,Tcl_Interp *theInterpreter,int theLevel,char *theCommand,Tcl_CmdProc *theProc,ClientData cmdClientData,int argc,char *argv[]) - // This is a small trick on Tcl. We tell it we want to trace, but really, we want - // to check to see if the user is trying to abort the execution of a script. - // So, every time we are called, we check to see if the user is aborting, and diff -urN --exclude CVS /usr/ports/editors/e93/files/patch-shellcmd.c ./files/patch-shellcmd.c --- /usr/ports/editors/e93/files/patch-shellcmd.c Thu Dec 21 06:39:28 2006 +++ ./files/patch-shellcmd.c Thu Jan 1 01:00:00 1970 @@ -1,111 +0,0 @@ ---- ./shellcmd.c.orig Thu Dec 1 16:16:19 2005 -+++ ./shellcmd.c Wed Dec 20 14:34:05 2006 -@@ -199,7 +199,7 @@ - return(false); - } - --static bool GetUINT32String(Tcl_Interp *localInterpreter,const char *theString,UINT32 *theNumber) -+static bool GetUINT32String(Tcl_Interp *localInterpreter,char *theString,UINT32 *theNumber) - // convert theString to a UINT32 - // return false if the conversion failed, and fill the Tcl result - { -@@ -668,7 +668,7 @@ - { - for(theIndex=1;!fail&&(int)theIndexRelease-Note: >Audit-Trail: >Unformatted: