summaryrefslogtreecommitdiff
path: root/multimedia/kodi/files/patch-cmake_modules_FindSSE.cmake
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2020-07-16 13:08:29 +0000
committerSteve Wills <swills@FreeBSD.org>2020-07-16 13:08:29 +0000
commit3377155d311a2a2279c4ff84343b30b0741d5f02 (patch)
tree191fc84de5774c472a7a080dc4e309b95efee7d2 /multimedia/kodi/files/patch-cmake_modules_FindSSE.cmake
parentdevel/libmsocket: fix build on powerpc(64) head (diff)
multimedia/kodi: update to 18.7.1
PR: 246595 Submitted by: yzrh@tuta.io
Diffstat (limited to 'multimedia/kodi/files/patch-cmake_modules_FindSSE.cmake')
-rw-r--r--multimedia/kodi/files/patch-cmake_modules_FindSSE.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/kodi/files/patch-cmake_modules_FindSSE.cmake b/multimedia/kodi/files/patch-cmake_modules_FindSSE.cmake
new file mode 100644
index 000000000000..bb0c067b28be
--- /dev/null
+++ b/multimedia/kodi/files/patch-cmake_modules_FindSSE.cmake
@@ -0,0 +1,11 @@
+--- cmake/modules/FindSSE.cmake.orig 2020-05-19 20:46:12 UTC
++++ cmake/modules/FindSSE.cmake
+@@ -42,7 +42,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+ endif()
+ elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+ if(CPU MATCHES "amd64" OR CPU MATCHES "i.86")
+- exec_program(cat ARGS "/var/run/dmesg.boot | grep Features" OUTPUT_VARIABLE CPUINFO)
++ exec_program(echo ARGS "$_CPU_FEATURE" OUTPUT_VARIABLE CPUINFO)
+
+ string(REGEX REPLACE "^.*(SSE).*$" "\\1" _SSE_THERE ${CPUINFO})
+ string(COMPARE EQUAL "SSE" "${_SSE_THERE}" _SSE_TRUE)