Date: Thu, 29 Jan 2004 22:01:13 +0100 (CET) From: Thierry Thomas <thierry@pompo.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/62080: graphics/xd3d: trying to fix build on Bento / Alpha. Message-ID: <20040129210113.7920A7628@graf.pompo.net> Resent-Message-ID: <200401292110.i0TLAI5R044499@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 62080 >Category: ports >Synopsis: graphics/xd3d: trying to fix build on Bento / Alpha. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jan 29 13:10:18 PST 2004 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.9-STABLE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Nov 20 23:06:13 CET 2003 thierry@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386 >Description: -malign-double is i386 specific, and it makes f77 abort with this message: f771: Invalid option `align-double' *** Error code 1 (Reported by Kris) >How-To-Repeat: See Bento's log at <http://bento.freebsd.org/errorlogs/alpha-4-latest/xd3d-8.1.0.log>. >Fix: Remarks: - only tested on i386... - files/patch-RULES.freeBSD is a new file. Please apply the following patch: --- xd3d.diff begins here --- diff -urN graphics/xd3d.orig/Makefile graphics/xd3d/Makefile --- graphics/xd3d.orig/Makefile Sun Dec 7 23:29:08 2003 +++ graphics/xd3d/Makefile Thu Jan 29 21:51:52 2004 @@ -45,6 +45,11 @@ FFLAGS?= -O MEMORY_XD3D?= 64 +.if ${MACHINE_ARCH} == "i386" +FFLAGS+= -malign-double +CFLAGS+= -malign-double +.endif + .if defined(LANG) && ${LANG:Mfr*} != "" XD3D_LANG= FRANCAIS .else diff -urN graphics/xd3d.orig/files/patch-RULES.freeBSD graphics/xd3d/files/patch-RULES.freeBSD --- graphics/xd3d.orig/files/patch-RULES.freeBSD Thu Jan 1 01:00:00 1970 +++ graphics/xd3d/files/patch-RULES.freeBSD Thu Jan 29 21:51:52 2004 @@ -0,0 +1,16 @@ +--- RULES.freeBSD.orig Mon Dec 1 14:55:58 2003 ++++ RULES.freeBSD Thu Jan 29 21:43:28 2004 +@@ -54,11 +54,11 @@ + # + # Options for the Fortran compiler + # +-OPTF = %%FFLAGS%% -malign-double ++OPTF = %%FFLAGS%% + # + # Options for the C compiler + # +-OPTC = %%CFLAGS%% -malign-double ++OPTC = %%CFLAGS%% + + #----------------------------------------------- + # You should not need to change anything below ! --- xd3d.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040129210113.7920A7628>