Fix build on amd64 (maybe others too)

PR:		93191
Submitted by:	Dan Ponte <dcp1990@neptune.atopia.net>
Approved by:	maintainer
This commit is contained in:
Tilman Keskinoz 2006-04-15 20:10:03 +00:00
parent 281dd575ad
commit ba1af8a6f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159651
2 changed files with 12 additions and 4 deletions

View file

@ -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}" \

View file

@ -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);