Date: Fri, 28 Dec 2001 13:53:37 -0800 (PST) From: Adam Kranzel <adam-ports@blacktabby.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/33399: Fix games/3dc port for malloc.h removal in -current, and take maintainership Message-ID: <20011228215337.21B6A253@enki.blacktabby.org>
next in thread | raw e-mail | index | archive | help
>Number: 33399 >Category: ports >Synopsis: Fix games/3dc port for malloc.h removal in -current, and take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Dec 31 15:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Adam Kranzel >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD enki.blacktabby.org 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Fri Nov 9 13:42:34 PST 2001 root@enki.blacktabby.org:/usr/obj/usr/src/sys/ENKI-NODEBUG i386 >Description: The games/3dc port is broken in -current due to the removal of malloc.h. The included patch uses a bit of perl (taken from the x11/xscreensaver port), to replace #includes of malloc.h with stdlib.h. The patch also sets me as the maintainer of the port. >How-To-Repeat: n/a >Fix: diff -ruN 3dc.good/Makefile 3dc/Makefile --- 3dc.good/Makefile Tue Sep 5 11:34:47 2000 +++ 3dc/Makefile Thu Dec 27 15:30:15 2001 @@ -12,13 +12,18 @@ MASTER_SITE_SUBDIR= games/strategy DISTNAME= 3Dc-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= adam-ports@blacktabby.org LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d USE_X_PREFIX= yes USE_XPM= yes WRKSRC= ${WRKDIR}/3Dc/src + +post-patch: +.for file in init.c main.c piece.c stack.c xif.c + @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/${file} +.endfor do-install: @ ${INSTALL_PROGRAM} ${WRKSRC}/3Dc ${PREFIX}/bin diff -ruN 3dc.good/pkg-descr 3dc/pkg-descr --- 3dc.good/pkg-descr Sun May 3 16:27:37 1998 +++ 3dc/pkg-descr Thu Dec 27 15:31:02 2001 @@ -1,2 +1,4 @@ 3-Dimensional Chess for X. Three boards, 96 pieces and 26 directions. 3Dc is played with three chess boards arranged one above another. + + -Adam <adam-ports@blacktabby.org> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011228215337.21B6A253>