From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 4 05:00:35 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A05A16A4E3 for ; Thu, 4 Sep 2003 05:00:35 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A115A44003 for ; Thu, 4 Sep 2003 05:00:29 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h84C0RUp040762 for ; Thu, 4 Sep 2003 05:00:27 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h84C0R17040761; Thu, 4 Sep 2003 05:00:27 -0700 (PDT) Resent-Date: Thu, 4 Sep 2003 05:00:27 -0700 (PDT) Resent-Message-Id: <200309041200.h84C0R17040761@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ulrich Spoerlein Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE43816A4BF for ; Thu, 4 Sep 2003 04:51:37 -0700 (PDT) Received: from wrzx35.rz.uni-wuerzburg.de (wrzx35.rz.uni-wuerzburg.de [132.187.3.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9415243FF7 for ; Thu, 4 Sep 2003 04:51:35 -0700 (PDT) (envelope-from q@uni.de) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx35.rz.uni-wuerzburg.de (Postfix) with ESMTP id 555C4B489 for ; Thu, 4 Sep 2003 13:51:34 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id D838A14754 for ; Thu, 4 Sep 2003 13:50:48 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id C0E361464C for ; Thu, 4 Sep 2003 13:50:48 +0200 (CEST) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by mailmaster.uni-wuerzburg.de (Postfix) with SMTP id 151961848 for ; Thu, 4 Sep 2003 13:51:34 +0200 (CEST) Received: (qmail 9697 invoked from network); 4 Sep 2003 11:51:34 -0000 Received: from gb-21-237.galgenberg.net (HELO coyote.local) (172.16.21.237) by frodo.galgenberg.net with SMTP; 4 Sep 2003 11:51:34 -0000 Received: from roadrunner.local (roadrunner [192.168.0.147]) by coyote.local (8.12.9/8.12.8) with ESMTP id h84BpXWJ016432; Thu, 4 Sep 2003 13:51:33 +0200 (CEST) (envelope-from q@roadrunner.local) Received: from roadrunner.local (localhost [127.0.0.1]) by roadrunner.local (8.12.9/8.12.9) with ESMTP id h84BpXRq021542; Thu, 4 Sep 2003 13:51:33 +0200 (CEST) (envelope-from q@roadrunner.local) Received: (from q@localhost) by roadrunner.local (8.12.9/8.12.9/Submit) id h84BpWZN021541; Thu, 4 Sep 2003 13:51:32 +0200 (CEST) Message-Id: <200309041151.h84BpWZN021541@roadrunner.local> Date: Thu, 4 Sep 2003 13:51:32 +0200 (CEST) From: Ulrich Spoerlein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: danfe@regency.nsu.ru Subject: ports/56425: games/fuhquake: Silence GCC warnings X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ulrich Spoerlein List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2003 12:00:35 -0000 >Number: 56425 >Category: ports >Synopsis: games/fuhquake: Silence GCC 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 Sep 04 05:00:26 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Ulrich Spoerlein >Release: FreeBSD 5.1-RELEASE-p2 i386 >Organization: >Environment: >Description: While building fuhquake, I noticed TONS of warnings because header and source files don't end with a newline character. - Silence GCC warnings - Change bogus SED statement - small style fix >How-To-Repeat: Build this with GCC 3.2/3.3 >Fix: --- patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/games/fuhquake/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- Makefile 1 Sep 2003 11:52:05 -0000 1.2 +++ Makefile 4 Sep 2003 11:47:50 -0000 @@ -106,6 +106,12 @@ post-patch: @${REINPLACE_CMD} -e 's|%%%%BASEDIR%%%%|${DATADIR}|' ${WRKSRC}/common.c +.for file in cmd.h common.h render.h console.h quakedef.h cvar.h cvar_groups.h \ + fmod.h config_manager.h auth.h logging.h ignore.h fchecks.h rulesets.h \ + modules.h mp3_player.h r_local.h movie.c logging.c quotes.h zone.c \ + gl_local.h gl_image.h gl_warp_sin.h + @${ECHO_CMD} "" >> ${WRKSRC}/${file} +.endfor do-build: .if !defined(WITHOUT_X11) @@ -135,14 +141,14 @@ .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -. for txt in benchmark config_manager crosshairs linux logitech mp3 \ +.for txt in benchmark config_manager crosshairs linux logitech mp3 \ particles pointing rulesets track ${INSTALL_DATA} ${WRKDIR}/doc/${txt}.txt ${DOCSDIR} -. endfor +.endfor ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.txt ${DOCSDIR} .endif post-install: - @${SED} -e 's|$${PREFIX}|${PREFIX}|g' ${PKGMESSAGE} + @${SED} -e 's|$${DATADIR}|${DATADIR}|g' ${PKGMESSAGE} .include --- patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: