FreeBSD Bugzilla – Attachment 193638 Details for
Bug 228443
audio/moony-lv2: fails to find the 'clog' function (using check_function_exists) in 12
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch the patch
patch-files_patch_CMakeLists.txt (text/plain), 1.14 KB, created by
Tobias C. Berner
on 2018-05-23 22:07:58 UTC
(
hide
)
Description:
patch the patch
Filename:
MIME Type:
Creator:
Tobias C. Berner
Created:
2018-05-23 22:07:58 UTC
Size:
1.14 KB
patch
obsolete
>diff --git a/audio/moony-lv2/files/patch-CMakeLists.txt b/audio/moony-lv2/files/patch-CMakeLists.txt >index 7b5599112432..bdbc2643446d 100644 >--- a/audio/moony-lv2/files/patch-CMakeLists.txt >+++ b/audio/moony-lv2/files/patch-CMakeLists.txt >@@ -1,14 +1,14 @@ > --- CMakeLists.txt.orig 2017-05-16 21:46:21 UTC > +++ CMakeLists.txt >-@@ -33,6 +33,17 @@ set(CMAKE_C_FLAGS "-Wshadow -Wimplicit-f >+@@ -33,6 +33,17 @@ set(CMAKE_C_FLAGS "-Wshadow -Wimplicit-function-declar > if(CMAKE_SYSTEM_NAME STREQUAL "Linux") > set(CMAKE_MODULE_LINKER_FLAGS "-Wl,-z,defs ${CMAKE_MODULE_LINKER_FLAGS}") > set(CMAKE_MODULE_LINKER_FLAGS "-Wl,-z,nodelete ${CMAKE_MODULE_LINKER_FLAGS}") > +elseif(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") > + # see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221341 >-+ include(CheckFunctionExists) >-+ check_function_exists(clog FreeBSD_CLOG_EXISTS) >-+ check_function_exists(cpow FreeBSD_CPOW_EXISTS) >++ include(CheckLibraryExists) >++ check_library_exists(m clog 'copmlex.h' FreeBSD_CLOG_EXISTS) >++ check_library_exists(m cpow 'complex.h' FreeBSD_CPOW_EXISTS) > + if (FreeBSD_CLOG_EXISTS) > + set(CMAKE_C_FLAGS "-DFreeBSD_CLOG_EXISTS ${CMAKE_C_FLAGS}") > + endif()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228443
: 193638