aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2006-04-16 04:10:03 +0800
committerarved <arved@FreeBSD.org>2006-04-16 04:10:03 +0800
commitea8238a4a99eb99d896d738cf2130efab0e944d1 (patch)
tree2beae910395fb77051b6ce71a26e0e36b9f0b230 /audio
parentacc8d75a68efa68f01892b9c0a0bd1260b29c439 (diff)
downloadfreebsd-ports-graphics-ea8238a4a99eb99d896d738cf2130efab0e944d1.tar.gz
freebsd-ports-graphics-ea8238a4a99eb99d896d738cf2130efab0e944d1.tar.zst
freebsd-ports-graphics-ea8238a4a99eb99d896d738cf2130efab0e944d1.zip
Fix build on amd64 (maybe others too)
PR: 93191 Submitted by: Dan Ponte <dcp1990@neptune.atopia.net> Approved by: maintainer
Diffstat (limited to 'audio')
-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 0342ede6c54..922fe175fdd 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 00000000000..8e308f8d4d2
--- /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);