From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 20 19:50:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8D251065690 for ; Thu, 20 Aug 2009 19:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CAD2F8FC6B for ; Thu, 20 Aug 2009 19:50:01 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7KJo1xV045349 for ; Thu, 20 Aug 2009 19:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7KJo1Yv045348; Thu, 20 Aug 2009 19:50:01 GMT (envelope-from gnats) Resent-Date: Thu, 20 Aug 2009 19:50:01 GMT Resent-Message-Id: <200908201950.n7KJo1Yv045348@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, Edward Tomasz Napierala Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDBF7106568F; Thu, 20 Aug 2009 19:48:21 +0000 (UTC) (envelope-from trasz@pin.if.uz.zgora.pl) Received: from pin.if.uz.zgora.pl (pin.if.uz.zgora.pl [212.109.128.251]) by mx1.freebsd.org (Postfix) with ESMTP id 961AE8FC60; Thu, 20 Aug 2009 19:48:21 +0000 (UTC) Received: by pin.if.uz.zgora.pl (Postfix, from userid 1001) id A5B0639BA2; Thu, 20 Aug 2009 21:37:59 +0200 (CEST) Message-Id: <20090820193759.A5B0639BA2@pin.if.uz.zgora.pl> Date: Thu, 20 Aug 2009 21:37:59 +0200 (CEST) From: Edward Tomasz Napierala To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gerald@FreeBSD.org Subject: ports/137999: [PATCH] emulators/wine: fix winebuild X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 19:50:02 -0000 >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: