svn commit: r542545 - in branches/2020Q3/audio/audacity: . files
Piotr Kubaj
pkubaj at FreeBSD.org
Sun Jul 19 08:45:04 UTC 2020
Author: pkubaj
Date: Sun Jul 19 08:45:03 2020
New Revision: 542545
URL: https://svnweb.freebsd.org/changeset/ports/542545
Log:
MFH: r542544
audio/audacity: fix build on non-x86
Disable MMX/SSE/SSE2 on non-x86.
Include cstring in allegro.h to make memcpy() available.
PR: 248076
Approved by: xxjack12xx at gmail.com (maintainer)
Approved by: portmgr (fix build blanket)
Added:
branches/2020Q3/audio/audacity/files/patch-lib-src_portsmf_allegro.h
- copied unchanged from r542544, head/audio/audacity/files/patch-lib-src_portsmf_allegro.h
Modified:
branches/2020Q3/audio/audacity/Makefile
Directory Properties:
branches/2020Q3/ (props changed)
Modified: branches/2020Q3/audio/audacity/Makefile
==============================================================================
--- branches/2020Q3/audio/audacity/Makefile Sun Jul 19 08:43:50 2020 (r542544)
+++ branches/2020Q3/audio/audacity/Makefile Sun Jul 19 08:45:03 2020 (r542545)
@@ -126,6 +126,14 @@ VORBIS_LIB_DEPENDS= libogg.so:audio/libogg \
VST_CMAKE_BOOL= audacity_use_vst
+.include <bsd.port.options.mk>
+
+.if ${ARCH} != amd64 && ${ARCH} != i386
+CMAKE_ARGS+= -DHAVE_MMX:BOOL=OFF \
+ -DHAVE_SSE:BOOL=OFF \
+ -DHAVE_SSE2:BOOL=OFF
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,Python2,Python${PYTHON_MAJOR_VER}, ; \
/CMAKE_CXX_STANDARD/s,14,11,' ${WRKSRC}/CMakeLists.txt
Copied: branches/2020Q3/audio/audacity/files/patch-lib-src_portsmf_allegro.h (from r542544, head/audio/audacity/files/patch-lib-src_portsmf_allegro.h)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2020Q3/audio/audacity/files/patch-lib-src_portsmf_allegro.h Sun Jul 19 08:45:03 2020 (r542545, copy of r542544, head/audio/audacity/files/patch-lib-src_portsmf_allegro.h)
@@ -0,0 +1,10 @@
+--- lib-src/portsmf/allegro.h.orig 2020-07-18 17:54:26 UTC
++++ lib-src/portsmf/allegro.h
+@@ -51,6 +51,7 @@
+ #include <assert.h>
+ #include <istream>
+ #include <ostream>
++#include <cstring>
+
+ #define ALG_EPS 0.000001 // epsilon
+ #define ALG_DEFAULT_BPM 100.0 // default tempo
More information about the svn-ports-all
mailing list