mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
multimedia/avidemux: Fix build on i386
Details: - Do not unconditionally (and broken on gcc12) use SSE.
This commit is contained in:
parent
f72163553f
commit
ce951d5769
@ -73,9 +73,12 @@ OPTIONS_DEFAULT+= LAME FAAC AMR X264
|
||||
# of the stack)
|
||||
.if ${ARCH} == amd64
|
||||
CFLAGS+= -fno-omit-frame-pointer
|
||||
#MAKE_ENV+= ARCH=x86_64
|
||||
#CONFIGURE_ENV+= ARCH=x86_64
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == i386
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-i386-nosse
|
||||
.endif
|
||||
|
||||
CMAKE_ARGS+= -DLIBEXECINFO_INCLUDE_DIR=/usr/include
|
||||
CMAKE_ARGS+= -DLIBEXECINFO_LIBRARY_DIR=-lexecinfo
|
||||
|
||||
|
14
multimedia/avidemux/files/extra-patch-i386-nosse
Normal file
14
multimedia/avidemux/files/extra-patch-i386-nosse
Normal file
@ -0,0 +1,14 @@
|
||||
--- avidemux/common/ADM_audioFilter/src/ADM_soundtouch/STTypes.h.orig 2022-09-17 13:59:16 UTC
|
||||
+++ avidemux/common/ADM_audioFilter/src/ADM_soundtouch/STTypes.h
|
||||
@@ -153,11 +153,6 @@ namespace soundtouch
|
||||
// efficient autovectorization
|
||||
typedef float LONG_SAMPLETYPE;
|
||||
|
||||
- #ifdef SOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS
|
||||
- // Allow SSE optimizations
|
||||
- #define SOUNDTOUCH_ALLOW_SSE 1
|
||||
- #endif
|
||||
-
|
||||
#endif // SOUNDTOUCH_INTEGER_SAMPLES
|
||||
|
||||
#if ((SOUNDTOUCH_ALLOW_SSE) || (__SSE__) || (SOUNDTOUCH_USE_NEON))
|
Loading…
Reference in New Issue
Block a user