Date: Sat, 3 Nov 2007 19:14:57 GMT From: Chess Griffin <chess@chessgriffin.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/117793: [PATCH] sysutils/eroaster - replaced deprecated whrandom with random Message-ID: <200711031914.lA3JEvRO019978@www.freebsd.org> Resent-Message-ID: <200711031920.lA3JK3DN099962@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 117793 >Category: ports >Synopsis: [PATCH] sysutils/eroaster - replaced deprecated whrandom with random >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 03 19:20:02 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Chess Griffin >Release: 7.0-BETA1 >Organization: >Environment: FreeBSD bsdbob.localdomain 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Mon Oct 22 12:10:49 EDT 2007 root@bsdbob.localdomain:/usr/obj/usr/src/sys/CHESS i386 >Description: eroaster fails to run due to the use of 'whrandom' in the application's gnometools.py. whrandom has been deprecated in favor of random. This patch simply uses a REINPLACE_CMD to replace whrandom with random. --- Makefile.orig 2007-11-03 14:43:20.000000000 -0400 +++ Makefile 2007-11-03 14:58:23.000000000 -0400 @@ -7,7 +7,7 @@ PORTNAME= eroaster PORTVERSION= 2.2.0.0.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= eroaster @@ -41,5 +41,6 @@ @cd ${WRKSRC} && ${RM} process.py.orig @${REINPLACE_CMD} -e 's|share/applets/Utility|share/gnome/apps/Utilities|' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's| --activate-goad-server=eroaster||' ${WRKSRC}/eroaster.desktop + @${REINPLACE_CMD} -e 's|whrandom|random|' ${WRKSRC}/gnometools.py .include <bsd.port.mk> >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711031914.lA3JEvRO019978>