aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-01-02 13:09:37 +0800
committerpat <pat@FreeBSD.org>2002-01-02 13:09:37 +0800
commit47b9a20581acb4537ff914d5d662ed2b60af4f13 (patch)
treefaf947fac054bce2e048db3abe9d1b48755f98c2 /games
parent378b0f743018862aa38708eb696c9d6a1a3d05d0 (diff)
downloadfreebsd-ports-gnome-47b9a20581acb4537ff914d5d662ed2b60af4f13.tar.gz
freebsd-ports-gnome-47b9a20581acb4537ff914d5d662ed2b60af4f13.tar.zst
freebsd-ports-gnome-47b9a20581acb4537ff914d5d662ed2b60af4f13.zip
- Fix for -CURRENT: s/malloc.h/stdlib.h/
- Give maintainership to submitter PR: 33399 Submitted by: Adam Kranzel <adam-ports@blacktabby.org>
Diffstat (limited to 'games')
-rw-r--r--games/3dc/Makefile7
-rw-r--r--games/3dc/pkg-descr2
2 files changed, 8 insertions, 1 deletions
diff --git a/games/3dc/Makefile b/games/3dc/Makefile
index 4934f308f1c3..4ede7d182da6 100644
--- a/games/3dc/Makefile
+++ b/games/3dc/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= ${MASTER_SITE_SUNSITE}
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
@@ -20,6 +20,11 @@ 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
.if !defined(NOPORTDOCS)
diff --git a/games/3dc/pkg-descr b/games/3dc/pkg-descr
index 89d79d430705..47d1bb12faac 100644
--- a/games/3dc/pkg-descr
+++ b/games/3dc/pkg-descr
@@ -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>