From 87b7d4eaefb6ce8a65ba2e9654784dad1df8f03d Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Tue, 24 Oct 2023 21:05:56 +0000 Subject: user/faad2: add patch for x86. fixes #1095. Additionally, ensure shared libraries are versioned. This fixes a regression from the autotools-based era that was not carried into the CMake era. --- user/faad2/fix-x86-lrintf.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 user/faad2/fix-x86-lrintf.patch (limited to 'user/faad2/fix-x86-lrintf.patch') diff --git a/user/faad2/fix-x86-lrintf.patch b/user/faad2/fix-x86-lrintf.patch new file mode 100644 index 000000000..b0038b756 --- /dev/null +++ b/user/faad2/fix-x86-lrintf.patch @@ -0,0 +1,11 @@ +diff -ur a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2023-10-24 21:00:08.223699531 +0000 ++++ b/CMakeLists.txt 2023-10-24 21:00:30.200223679 +0000 +@@ -60,6 +60,7 @@ + set(FAAD_DEFINES + APPLY_DRC + HAVE_INTTYPES_H=1 ++ HAVE_LRINTF=1 + HAVE_MEMCPY=1 + HAVE_STRING_H=1 + HAVE_STRINGS_H=1 -- cgit v1.2.3-60-g2f50