mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
. 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.
This commit is contained in:
parent
caa4468a5a
commit
3d022c61e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320607
2 changed files with 15 additions and 7 deletions
|
@ -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
|
||||
|
|
10
games/xscavenger/files/patch-edit.c
Normal file
10
games/xscavenger/files/patch-edit.c
Normal file
|
@ -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"
|
Loading…
Add table
Reference in a new issue