From 9bf7caa78b999cd1398fe9b1b938b890fc488097 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 9 Jan 2025 14:50:47 +0000 Subject: automatic import of lpcnetfreedv --- lpcnetfreedv-libm.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lpcnetfreedv-libm.patch (limited to 'lpcnetfreedv-libm.patch') diff --git a/lpcnetfreedv-libm.patch b/lpcnetfreedv-libm.patch new file mode 100644 index 0000000..00ec6e0 --- /dev/null +++ b/lpcnetfreedv-libm.patch @@ -0,0 +1,17 @@ +From https://src.fedoraproject.org/rpms/lpcnetfreedv/blob/rawhide/f/lpcnetfreedv-libm.patch + +Index: LPCNet-0.5/src/CMakeLists.txt +=================================================================== +--- LPCNet-0.5.orig/src/CMakeLists.txt ++++ LPCNet-0.5/src/CMakeLists.txt +@@ -42,6 +42,10 @@ endif(LPCNET_C_PROC_FLAGS) + + add_library(lpcnetfreedv SHARED ${lpcnet_freedv_srcs} ${codec2_import_srcs}) + ++if(UNIX) ++target_link_libraries(lpcnetfreedv m) ++endif() ++ + set_target_properties(lpcnetfreedv PROPERTIES + PUBLIC_HEADER lpcnet_freedv.h + VERSION ${LPCNET_VERSION} -- cgit v1.2.3