aboutsummaryrefslogtreecommitdiff
path: root/games/xscavenger
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-06-11 15:43:23 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-06-11 15:43:23 +0000
commit3d022c61e61a9fe629fd9ce55a30a3caa1a0208c (patch)
treee5ba8485e972f7a3cf78ad8bb52c16a2ad316110 /games/xscavenger
parentcaa4468a5aa97a94c0676f2f4cfae8b446cae967 (diff)
downloadports-3d022c61e61a9fe629fd9ce55a30a3caa1a0208c.tar.gz
ports-3d022c61e61a9fe629fd9ce55a30a3caa1a0208c.zip
Notes
Diffstat (limited to 'games/xscavenger')
-rw-r--r--games/xscavenger/Makefile12
-rw-r--r--games/xscavenger/files/patch-edit.c10
2 files changed, 15 insertions, 7 deletions
diff --git a/games/xscavenger/Makefile b/games/xscavenger/Makefile
index f2bc0f5dd03c..de066cfae8db 100644
--- a/games/xscavenger/Makefile
+++ b/games/xscavenger/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xscavenger
-# Date created: 19 Feb 1998
-# Whom: eivind
-#
+# Created by: eivind
# $FreeBSD$
-#
PORTNAME= xscavenger
PORTVERSION= 1.4.4
@@ -13,14 +9,16 @@ MASTER_SITES= http://www.xdr.com/dash/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
-COMMENT= A Lode Runner clone for X11
+COMMENT= Lode Runner clone for X11
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
+WRKSRC_SUBDIR= src
USE_IMAKE= yes
USE_XORG= x11 xext
MAN6= scavenger.6
+CFLAGS+= -Wno-return-type -Wno-pointer-sign
+
pre-configure:
@${LN} -sf scavenger.6 ${WRKSRC}/scavenger.man
@${ECHO_CMD} "MANSUFFIX=6" >> ${WRKSRC}/Imakefile
diff --git a/games/xscavenger/files/patch-edit.c b/games/xscavenger/files/patch-edit.c
new file mode 100644
index 000000000000..1806b82b14b7
--- /dev/null
+++ b/games/xscavenger/files/patch-edit.c
@@ -0,0 +1,10 @@
+--- edit.c.orig 2013-06-11 18:21:01.902812410 +0400
++++ edit.c 2013-06-11 18:21:15.931811652 +0400
+@@ -2,6 +2,7 @@
+
+ #include <stdio.h>
+ #include <unistd.h>
++#include <string.h>
+ #include "scav.h"
+ #include "edit.h"
+ #include "x.h"