Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2004 19:18:51 +0200
From:      Radim Kolar <hsn@netmag.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65897: gadfly patch for python 2.3
Message-ID:  <E1BGhqd-0005O7-Oj@asura.bsd>
Resent-Message-ID: <200404222030.i3MKUCHj082554@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65897
>Category:       ports
>Synopsis:       gadfly patch for python 2.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 22 13:30:12 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.2.1-RELEASE-p3 i386
>Organization:
Sanatana Dharma ki-jai
>Environment:
System: FreeBSD asura.bsd 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #6: Mon Apr 5 17:41:24 CEST 2004 root@asura.bsd:/usr/src/sys/i386/compile/UP i386
>Description:
gfplus utility crashes on startup because superclass init is not called.
This crashes gfplus running on python 2.3.
This patch works in python 2.2 also. I have not tested Python 2.1 because I do not have it (or docs from it) installed.
>How-To-Repeat:
run gfplus

>Fix:
diff -Naur /usr/ports/databases/gadfly/Makefile gadfly/Makefile
--- /usr/ports/databases/gadfly/Makefile	Thu Feb 20 18:00:14 2003
+++ gadfly/Makefile	Thu Apr 22 19:05:36 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	gadfly
 PORTVERSION=	1.0.0
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	gadfly
diff -Naur /usr/ports/databases/gadfly/files/patch-gfplus gadfly/files/patch-gfplus
--- /usr/ports/databases/gadfly/files/patch-gfplus	Thu Jan  1 01:00:00 1970
+++ gadfly/files/patch-gfplus	Thu Apr 22 00:59:49 2004
@@ -0,0 +1,10 @@
+--- gadfly/scripts/gfplus.py.orig	Wed Jul 10 09:45:07 2002
++++ gadfly/scripts/gfplus.py	Thu Apr 22 00:58:26 2004
+@@ -74,6 +74,7 @@
+     prompt2 = '... '
+ 
+     def __init__(self):
++        cmd.Cmd.__init__(self)
+         print '\ngfplus %s -- Interactive gadfly shell  %s\n' %(__version__, rl)
+         t = time.localtime(time.time())
+         print time.strftime("%A %B %d, %Y %I:%M %p", t)
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BGhqd-0005O7-Oj>