svn commit: r320607 - in head/games/xscavenger: . files
Boris Samorodov
bsam at FreeBSD.org
Tue Jun 11 15:43:23 UTC 2013
Author: bsam
Date: Tue Jun 11 15:43:23 2013
New Revision: 320607
URL: http://svnweb.freebsd.org/changeset/ports/320607
Log:
. fix build with clang (CFLAGS+=-Wno-return-type);
. remove ~80 warnings (CFLAGS+=-Wno-pointer-sign);
. trim Makefile headers;
. remove the indefinite article from COMMENT;
. adopt WRKSRC_SUBDIR instead WRKSRC.
Added:
head/games/xscavenger/files/patch-edit.c (contents, props changed)
Modified:
head/games/xscavenger/Makefile
Modified: head/games/xscavenger/Makefile
==============================================================================
--- head/games/xscavenger/Makefile Tue Jun 11 15:41:13 2013 (r320606)
+++ head/games/xscavenger/Makefile Tue Jun 11 15:43:23 2013 (r320607)
@@ -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 at 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
Added: head/games/xscavenger/files/patch-edit.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/xscavenger/files/patch-edit.c Tue Jun 11 15:43:23 2013 (r320607)
@@ -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"
More information about the svn-ports-head
mailing list