From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 6 23:40: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 C4D0016A4CF for ; Sat, 6 Mar 2004 23:40:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8A0B43D31 for ; Sat, 6 Mar 2004 23:40:19 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i277eJbv006803 for ; Sat, 6 Mar 2004 23:40:19 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i277eJ01006802; Sat, 6 Mar 2004 23:40:19 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 6 Mar 2004 23:40:19 -0800 (PST) Resent-Message-Id: <200403070740.i277eJ01006802@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, "Josh Elsasser" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A80316A4CE for ; Sat, 6 Mar 2004 23:36:56 -0800 (PST) Received: from mail.vineyard.net (k1.vineyard.net [204.17.195.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91A0743D1D for ; Sat, 6 Mar 2004 23:36:55 -0800 (PST) (envelope-from jre@vineyard.net) Received: from localhost (loopback [127.0.0.1]) by mail.vineyard.net (Postfix) with ESMTP id 5CA329827E for ; Sun, 7 Mar 2004 02:34:20 -0500 (EST) Received: from mail.vineyard.net ([127.0.0.1]) by localhost (king1.vineyard.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 84399-06 for ; Sun, 7 Mar 2004 02:34:20 -0500 (EST) Received: from jade.elsasser.org (loopback [127.0.0.1]) by mail.vineyard.net (Postfix) with ESMTP id A3B2298359 for ; Sun, 7 Mar 2004 02:34:18 -0500 (EST) Received: from jade.elsasser.org (localhost [127.0.0.1]) by jade.elsasser.org (Postfix) with ESMTP id 5003A93 for ; Sun, 7 Mar 2004 02:34:17 -0500 (EST) Message-Id: <1078644857.0@jade.elsasser.org> Date: Sun, 7 Mar 2004 02:34:17 -0500 From: "Josh Elsasser" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.3.3 Subject: ports/63866: [patch] games/heroes: fix build on alpha (hopefully) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2004 07:40:20 -0000 >Number: 63866 >Category: ports >Synopsis: [patch] games/heroes: fix build on alpha (hopefully) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Mar 06 23:40:19 PST 2004 >Closed-Date: >Last-Modified: >Originator: Josh Elsasser >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD 5.2-CURRENT #11: Sat Feb 7 15:09:05 EST 2004 joshe@jade.elsasser.org:/usr/local/obj/usr/src/sys/JADE >Description: According to bento, games/heroes fails to link on alpha. I don't have access to alpha hardware, but I think that passing -ffast-math to the compiler is the culprit. >How-To-Repeat: >Fix: --- heroes-alpha-breakage.patch begins here --- --- Makefile.orig Sun Mar 7 01:46:22 2004 +++ Makefile Sun Mar 7 01:47:15 2004 @@ -43,18 +43,18 @@ MAKEINFO="makeinfo --no-split" CONFIGURE_ARGS= --with-sdl_mixer=${LOCALBASE} --without-gii --without-ggi +.if defined(WITH_OPTIMIZED_CFLAGS) +CONFIGURE_ARGS+= --enable-optimizations +.else +CONFIGURE_ARGS+= --disable-optimizations +.endif + MAN6= heroes.6 heroeslvl.6 INFO= heroes CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS= -L${LOCALBASE}/lib -lsmpeg ${PTHREAD_LIBS} -.include - -.if ${ARCH} == "alpha" && ${OSVERSION} >= 502102 -BROKEN= "Does not compile on alpha >=5.x" -.endif - post-patch: @for dir in ${DATASRC} ${SOUNDSRC} ${MUSICSRC}; do \ ${FIND} $${dir} -name "Makefile*" | ${XARGS} ${RM}; \ @@ -72,4 +72,4 @@ ${MKDIR} ${DATADIR}/mod ${INSTALL_DATA} ${MUSICSRC}/*.xm ${MUSICSRC}/sound.conf ${DATADIR}/mod -.include +.include --- heroes-alpha-breakage.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: