From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 14 18:20:19 2004 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 3664516A4CF for ; Sat, 14 Aug 2004 18:20:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E43B43D1D for ; Sat, 14 Aug 2004 18:20:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7EIKI2j038424 for ; Sat, 14 Aug 2004 18:20:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7EIKIt5038423; Sat, 14 Aug 2004 18:20:18 GMT (envelope-from gnats) Resent-Date: Sat, 14 Aug 2004 18:20:18 GMT Resent-Message-Id: <200408141820.i7EIKIt5038423@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, Igor Pokrovsky Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB03B16A4CE for ; Sat, 14 Aug 2004 18:19:15 +0000 (GMT) Received: from voodoo.oberon.net (voodoo.oberon.net [212.118.165.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71FF843D55 for ; Sat, 14 Aug 2004 18:19:15 +0000 (GMT) (envelope-from igor@doom.homeunix.org) Received: from dialup8296-169.ip.peterstar.net ([82.140.96.169] helo=doom.homeunix.org) by voodoo.oberon.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41 (FreeBSD)) id 1Bw36X-000FWJ-QY for FreeBSD-gnats-submit@freebsd.org; Sat, 14 Aug 2004 20:19:08 +0200 Received: from doom.homeunix.org (localhost [127.0.0.1]) by doom.homeunix.org (8.12.11/8.12.11) with ESMTP id i7EIGrfe010413 for ; Sat, 14 Aug 2004 22:17:22 +0400 (MSD) (envelope-from igor@doom.homeunix.org) Received: (from igor@localhost) by doom.homeunix.org (8.12.11/8.12.11/Submit) id i7EIGPt6010412; Sat, 14 Aug 2004 22:16:25 +0400 (MSD) (envelope-from igor) Message-Id: <200408141816.i7EIGPt6010412@doom.homeunix.org> Date: Sat, 14 Aug 2004 22:16:25 +0400 (MSD) From: Igor Pokrovsky To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/70459: Update port: games/ssc fix build on 5.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Igor Pokrovsky List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2004 18:20:19 -0000 >Number: 70459 >Category: ports >Synopsis: Update port: games/ssc fix build on 5.x >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Aug 14 18:20:18 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Igor Pokrovsky >Release: FreeBSD 4.10-STABLE i386 >Organization: >Environment: System: FreeBSD doom.homeunix.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Wed Jul 7 12:47:50 MSD 2004 root@doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386 >Description: Doesn't compile with GCC > 3.3. >How-To-Repeat: >Fix: --- ssc.diff begins here --- diff -ru /usr/ports/games/ssc/Makefile ssc/Makefile --- /usr/ports/games/ssc/Makefile Sun Aug 1 21:22:28 2004 +++ ssc/Makefile Sat Aug 14 22:11:14 2004 @@ -29,6 +29,12 @@ LDFLAGS=-L${X11BASE}/lib ONLY_FOR_ARCHS= i386 +.include + +.if ${OSVERSION} >= 501103 +USE_GCC= 3.3 +.endif + post-patch: @${REINPLACE_CMD} -e "s|SDL\/||g; s|/usr/local|${PREFIX}|g" \ ${WRKSRC}/src/*.h ${WRKSRC}/src/*.cc @@ -39,4 +45,4 @@ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include +.include --- ssc.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: