Date: Thu, 20 Aug 2009 21:37:59 +0200 (CEST) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gerald@FreeBSD.org Subject: ports/137999: [PATCH] emulators/wine: fix winebuild Message-ID: <20090820193759.A5B0639BA2@pin.if.uz.zgora.pl> Resent-Message-ID: <200908201950.n7KJo1Yv045348@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137999 >Category: ports >Synopsis: [PATCH] emulators/wine: fix winebuild >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 Aug 20 19:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Edward Tomasz Napierala >Release: FreeBSD 7.2-STABLE i386 >Organization: >Environment: System: FreeBSD pin.if.uz.zgora.pl 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Jul 4 14:25:46 CEST >Description: Attached patch fixes winebuild. Without it, attempt to build Ardour 2.8.2 (not yet in the ports tree) with VST support results in the following error: /usr/bin/ld: unrecognised emulation mode: elf_i386 Supported emulations: elf_i386_fbsd winebuild: /usr/bin/ld -m elf_i386 -r failed with status 256 winegcc: winebuild failed Note that a similar fix may be needed for amd64; I don't have amd64 machine to test it. Added file(s): - files/patch-tools-winebuild-utils.c Port maintainer (gerald@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- wine-1.1.27_1,1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/emulators/wine/Makefile /home/trasz/wine/Makefile --- /usr/ports/emulators/wine/Makefile 2009-08-11 23:09:41.000000000 +0200 +++ /home/trasz/wine/Makefile 2009-08-20 21:24:03.000000000 +0200 @@ -8,6 +8,7 @@ PORTNAME= wine DISTVERSION= 1.1.27 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= SFE \ diff -ruN --exclude=CVS /usr/ports/emulators/wine/files/patch-tools-winebuild-utils.c /home/trasz/wine/files/patch-tools-winebuild-utils.c --- /usr/ports/emulators/wine/files/patch-tools-winebuild-utils.c 1970-01-01 01:00:00.000000000 +0100 +++ /home/trasz/wine/files/patch-tools-winebuild-utils.c 2009-08-20 21:24:04.000000000 +0200 @@ -0,0 +1,11 @@ +--- tools/winebuild/utils.c.orig 2009-08-20 21:08:08.000000000 +0200 ++++ tools/winebuild/utils.c 2009-08-20 21:08:19.000000000 +0200 +@@ -292,7 +292,7 @@ + { + const char *args = (target_platform == PLATFORM_APPLE) ? + ((force_pointer_size == 8) ? " -arch x86_64" : " -arch i386") : +- ((force_pointer_size == 8) ? " -m elf_x86_64" : " -m elf_i386"); ++ ((force_pointer_size == 8) ? " -m elf_x86_64" : " -m elf_i386_fbsd"); + ld_command = xrealloc( ld_command, strlen(ld_command) + strlen(args) + 1 ); + strcat( ld_command, args ); + } --- wine-1.1.27_1,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?20090820193759.A5B0639BA2>