summaryrefslogtreecommitdiffstats
path: root/audio/audacity
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2006-04-15 20:10:03 +0000
committerarved <arved@FreeBSD.org>2006-04-15 20:10:03 +0000
commitea8238a4a99eb99d896d738cf2130efab0e944d1 (patch)
tree2beae910395fb77051b6ce71a26e0e36b9f0b230 /audio/audacity
parentacc8d75a68efa68f01892b9c0a0bd1260b29c439 (diff)
downloadFreeBSD-ports-ea8238a4a99eb99d896d738cf2130efab0e944d1.zip
FreeBSD-ports-ea8238a4a99eb99d896d738cf2130efab0e944d1.tar.gz
Fix build on amd64 (maybe others too)
PR: 93191 Submitted by: Dan Ponte <dcp1990@neptune.atopia.net> Approved by: maintainer
Diffstat (limited to 'audio/audacity')
-rw-r--r--audio/audacity/Makefile5
-rw-r--r--audio/audacity/files/patch-src-effects-ToneGen.cpp11
2 files changed, 12 insertions, 4 deletions
diff --git a/audio/audacity/Makefile b/audio/audacity/Makefile
index 0342ede..922fe17 100644
--- a/audio/audacity/Makefile
+++ b/audio/audacity/Makefile
@@ -21,6 +21,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION}
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
+USE_GETTEXT= yes
MAN1= audacity.1
MANCOMPRESSED= yes
@@ -35,10 +36,6 @@ OPTIONS= ID3TAG "ID3 tag support" off \
SSE_CFLAGS= -mno-sse -mno-sse2
.endif
-.if ${ARCH} != "i386"
-BROKEN= "Does not build on !i386"
-.endif
-
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}" \
diff --git a/audio/audacity/files/patch-src-effects-ToneGen.cpp b/audio/audacity/files/patch-src-effects-ToneGen.cpp
new file mode 100644
index 0000000..8e308f8
--- /dev/null
+++ b/audio/audacity/files/patch-src-effects-ToneGen.cpp
@@ -0,0 +1,11 @@
+--- work/audacity-src-1.2.4b/src/effects/ToneGen.cpp.old Sat Feb 11 11:53:25 2006
++++ src/effects/ToneGen.cpp Sat Feb 11 11:52:07 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, NULL, 0);
+ item2->Add(item4, 0, wxALIGN_CENTRE | wxALL, 5);
+
+ item0->Add(item2, 1, wxALIGN_CENTRE | wxALL, 5);
OpenPOWER on IntegriCloud