Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2014 06:17:20 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        nemysis@FreeBSD.org
Subject:   ports/186710: [PATCH] games/smashbattle: don't silence warnings
Message-ID:  <20140213021721.023874564B@hades.panopticon>
Resent-Message-ID: <201402130220.s1D2K0PZ072379@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186710
>Category:       ports
>Synopsis:       [PATCH] games/smashbattle: don't silence warnings
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 13 02:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260807: Fri Jan 17 13:14:28 MSK
>Description:
- Don't silence warnings
- Whitespace fix

Port maintainer (nemysis@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- smashbattle-110224_1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 344035)
+++ Makefile	(working copy)
@@ -16,7 +16,7 @@
 USE_ZIP=	yes
 EXTRACT_AFTER_ARGS=	-d ${WRKDIR}/${DISTNAME}
 USES=		dos2unix gmake
-DOS2UNIX_FILES= *.cpp *.h Makefile
+DOS2UNIX_FILES=	*.cpp *.h Makefile
 USE_SDL=	sdl image mixer
 ALL_TARGET=	battle
 
@@ -28,7 +28,7 @@
 post-patch:
 	@${REINPLACE_CMD} \
 		-e 's|CC=|CC?=| ; \
-		s|CFLAGS=-c -Wall|CFLAGS += $$(shell sdl-config --cflags) -c -w| ; \
+		s|CFLAGS=-c -Wall|CFLAGS += $$(shell sdl-config --cflags) -c -Wall| ; \
 		s|LDFLAGS=-lSDL -lSDL_mixer -lz -lstdc++|LDFLAGS += $$(shell $${SDL_CONFIG} --libs) -lSDL -lSDL_mixer -lz -lstdc++ -lm|' \
 			${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's|/usr/share/games/smashbattle/gfx/SB.png|${PORTNAME}| ; \
--- smashbattle-110224_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140213021721.023874564B>