Date: Sun, 19 Jul 2020 08:43:50 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r542544 - in head/audio/audacity: . files Message-ID: <202007190843.06J8hoWV011286@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Sun Jul 19 08:43:50 2020 New Revision: 542544 URL: https://svnweb.freebsd.org/changeset/ports/542544 Log: 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@gmail.com (maintainer) MFH: 2020Q3 (build fix blanket) Added: head/audio/audacity/files/patch-lib-src_portsmf_allegro.h (contents, props changed) Modified: head/audio/audacity/Makefile Modified: head/audio/audacity/Makefile ============================================================================== --- head/audio/audacity/Makefile Sun Jul 19 08:10:52 2020 (r542543) +++ head/audio/audacity/Makefile Sun Jul 19 08:43:50 2020 (r542544) @@ -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 Added: head/audio/audacity/files/patch-lib-src_portsmf_allegro.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/audacity/files/patch-lib-src_portsmf_allegro.h Sun Jul 19 08:43:50 2020 (r542544) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007190843.06J8hoWV011286>