Skip to content

Instantly share code, notes, and snippets.

@andyvand
Last active July 4, 2025 13:29
Show Gist options
  • Select an option

  • Save andyvand/9f9770878c63b6307f0b5384b01967da to your computer and use it in GitHub Desktop.

Select an option

Save andyvand/9f9770878c63b6307f0b5384b01967da to your computer and use it in GitHub Desktop.
diff -Nur libx265/source/CMakeLists.txt libx265_patched/source/CMakeLists.txt
--- libx265/source/CMakeLists.txt 2024-11-22 13:07:34
+++ libx265_patched/source/CMakeLists.txt 2025-07-04 15:25:22
@@ -6,14 +6,8 @@
FORCE)
endif()
message(STATUS "cmake version ${CMAKE_VERSION}")
-if(POLICY CMP0025)
- cmake_policy(SET CMP0025 OLD) # report Apple's Clang as just Clang
-endif()
if(POLICY CMP0042)
cmake_policy(SET CMP0042 NEW) # MACOSX_RPATH
endif()
-if(POLICY CMP0054)
- cmake_policy(SET CMP0054 OLD) # Only interpret if() arguments as variables or keywords when unquoted
-endif()
project (x265)
diff -Nur libx265/source/common/md5.cpp libx265_patched/source/common/md5.cpp
--- libx265/source/common/md5.cpp 2024-11-22 13:07:34
+++ libx265_patched/source/common/md5.cpp 2025-07-04 15:28:58
@@ -185,7 +185,7 @@
*/
void MD5Transform(uint32_t *buf, uint32_t *in)
{
- register uint32_t a, b, c, d;
+ uint32_t a, b, c, d;
a = buf[0];
b = buf[1];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment