mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-18 08:02:08 +00:00
Version bump to include long-awaited bugfix Folded actual seds into the patch that fixes build with CMake4 Also in same patch allowed building with modern C - there's no errors Removed USE=test and RESTRICT - tests now have no dependency on orc and should be run with just FEATURE=test Closes: https://bugs.gentoo.org/951900 Closes: https://bugs.gentoo.org/927886 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/41243 Signed-off-by: Sam James <sam@gentoo.org>
68 lines
2.9 KiB
Diff
68 lines
2.9 KiB
Diff
diff '--color=auto' -ru vid.stab-8dff7ad3c10ac663745f2263037f6e42b993519c.old/CMakeLists.txt vid.stab-8dff7ad3c10ac663745f2263037f6e42b993519c/CMakeLists.txt
|
|
--- vid.stab-8dff7ad3c10ac663745f2263037f6e42b993519c.old/CMakeLists.txt 2025-03-23 20:06:53.533932957 +0300
|
|
+++ vid.stab-8dff7ad3c10ac663745f2263037f6e42b993519c/CMakeLists.txt 2025-03-23 20:09:54.292559246 +0300
|
|
@@ -1,9 +1,8 @@
|
|
-cmake_minimum_required (VERSION 2.8.5)
|
|
+cmake_minimum_required (VERSION 3.5)
|
|
project (vid.stab C)
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMakeModules/")
|
|
|
|
-include (FindSSE)
|
|
include (GNUInstallDirs)
|
|
# include (ExternalProject) # There must be a nicer way to include this
|
|
# include (sse2neon)
|
|
@@ -24,8 +23,6 @@
|
|
|
|
option(USE_OMP "use parallelization use OMP" ON)
|
|
|
|
-set(CMAKE_C_STANDARD 99)
|
|
-
|
|
add_definitions(-Wall -Wno-pointer-sign)
|
|
|
|
if(NOT WIN32)
|
|
diff '--color=auto' -ru vid.stab-8dff7ad3c10ac663745f2263037f6e42b993519c.old/tests/CMakeLists.txt vid.stab-8dff7ad3c10ac663745f2263037f6e42b993519c/tests/CMakeLists.txt
|
|
--- vid.stab-8dff7ad3c10ac663745f2263037f6e42b993519c.old/tests/CMakeLists.txt 2025-03-23 20:06:53.533426954 +0300
|
|
+++ vid.stab-8dff7ad3c10ac663745f2263037f6e42b993519c/tests/CMakeLists.txt 2025-03-23 20:08:38.123424293 +0300
|
|
@@ -2,13 +2,11 @@
|
|
# very fast: faster than orc code at imgcompare without any options.
|
|
# library needs libimf.so (link statically?)
|
|
|
|
-cmake_minimum_required (VERSION 2.6)
|
|
+cmake_minimum_required (VERSION 3.5)
|
|
project (vid.stab)
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/../CMakeModules/")
|
|
|
|
-include (FindSSE)
|
|
-
|
|
option(USE_OMP "use parallelization use OMP" ON)
|
|
|
|
# Default to debug builds if no explicit build type specified.
|
|
@@ -16,7 +14,7 @@
|
|
#_cmake_modify_IGNORE set(CMAKE_BUILD_TYPE "Debug")
|
|
endif()
|
|
|
|
-add_definitions(-Wall -Wno-pointer-sign -DTESTING -std=gnu99)
|
|
+add_definitions(-Wall -Wno-pointer-sign -DTESTING)
|
|
|
|
if(SSE2_FOUND)
|
|
add_definitions( -DUSE_SSE2 -msse2 -ffast-math -fno-show-column ) # -DUSE_SSE2_ASM
|
|
diff '--color=auto' -ru vid.stab-8dff7ad3c10ac663745f2263037f6e42b993519c.old/transcode/CMakeLists.txt vid.stab-8dff7ad3c10ac663745f2263037f6e42b993519c/transcode/CMakeLists.txt
|
|
--- vid.stab-8dff7ad3c10ac663745f2263037f6e42b993519c.old/transcode/CMakeLists.txt 2025-03-23 20:06:53.533932957 +0300
|
|
+++ vid.stab-8dff7ad3c10ac663745f2263037f6e42b993519c/transcode/CMakeLists.txt 2025-03-23 20:09:17.748219962 +0300
|
|
@@ -1,4 +1,4 @@
|
|
-cmake_minimum_required (VERSION 2.6)
|
|
+cmake_minimum_required (VERSION 3.5)
|
|
project (vid.stab.transcode)
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/../CMakeModules/")
|
|
@@ -11,7 +11,7 @@
|
|
#_cmake_modify_IGNORE set(CMAKE_BUILD_TYPE "Release")
|
|
endif()
|
|
|
|
-add_definitions(-Wall -Wno-pointer-sign -DTRANSCODE -std=gnu99)
|
|
+add_definitions(-Wall -Wno-pointer-sign -DTRANSCODE)
|
|
|
|
# here we should check for SSE2
|
|
# our -DUSE_SSE2_ASM code does not work with fpic
|