Date: Mon, 3 Apr 2006 09:10:29 -0300 (BRT) From: "Anderson S. Ferreira" <anderson@cnpm.embrapa.br> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/95259: [UPDATE] Patch to build audio/audacity on amd64 Message-ID: <20060403121030.08A0517042@mogno.local.cnpm.embrapa.br> Resent-Message-ID: <200604031220.k33CKC6Y014935@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95259 >Category: ports >Synopsis: [UPDATE] Patch to build audio/audacity on amd64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Apr 03 12:20:11 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Anderson S. Ferreira >Release: FreeBSD 6.1-PRERELEASE amd64 >Organization: Embrapa Monitoramento por Satelite >Environment: System: FreeBSD mogno.local.cnpm.embrapa.br 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #7: Wed Mar 29 09:30:20 BRT 2006 anderson@mogno.local.cnpm.embrapa.br:/usr/src/sys/amd64/compile/MOGNO amd64 >Description: Patch to build Audacity on amd64 platform >How-To-Repeat: >Fix: --- audacity.patch begins here --- diff -uNr audacity/Makefile audacity.new/Makefile --- audacity.old/Makefile Thu Feb 23 07:34:23 2006 +++ audacity/Makefile Mon Apr 3 08:54:49 2006 @@ -6,6 +6,7 @@ PORTNAME= audacity PORTVERSION= 1.2.4b +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -31,12 +32,10 @@ .include <bsd.port.pre.mk> -.if ${ARCH} == "i386" && ${OSVERSION} >= 501103 -SSE_CFLAGS= -mno-sse -mno-sse2 -.endif +ONLY_FOR_ARCHS= i386 amd64 -.if ${ARCH} != "i386" -BROKEN= "Does not build on !i386" +.if ( ${ARCH} == "i386" || ${ARCH} == "amd64" ) && ${OSVERSION} >= 501103 +SSE_CFLAGS= -mno-sse -mno-sse2 .endif CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ diff -uNr audacity/files/patch-effects-tonegen.cpp audacity.new/files/patch-effects-tonegen.cpp --- audacity/files/patch-effects-tonegen.cpp Wed Dec 31 21:00:00 1969 +++ audacity.new/files/patch-effects-tonegen.cpp Mon Apr 3 08:31:09 2006 @@ -0,0 +1,11 @@ +--- src/effects/ToneGen.cpp Mon Apr 3 07:58:06 2006 ++++ src/effects/ToneGen.cpp Mon Apr 3 07:58:29 2006 +@@ -265,7 +265,7 @@ + item2->Add(item3, 0, wxALIGN_CENTRE | wxALL, 5); + + wxChoice *item4 = new wxChoice(parent, ID_WAVEFORM, wxDefaultPosition, +- wxSize(80, -1), 0, NULL); ++ wxSize(80, -1), 0, (const wxString *) NULL); + item2->Add(item4, 0, wxALIGN_CENTRE | wxALL, 5); + + item0->Add(item2, 1, wxALIGN_CENTRE | wxALL, 5); --- audacity.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?20060403121030.08A0517042>