ports/117793: [PATCH] sysutils/eroaster - replaced deprecated whrandom with random
Chess Griffin
chess at chessgriffin.com
Sat Nov 3 19:20:03 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list