Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 872594 Details for
Bug 915607
media-libs/openal-1.23.1-r1 fails to find openal libs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch taken from https://github.com/kcat/openal-soft/commit/7910f1afbdfb1ab886b3a9c7ac3165c7fd2065c0.patch
7910f1afbdfb1ab886b3a9c7ac3165c7fd2065c0.patch (text/plain), 2.98 KB, created by
asdfg
on 2023-10-11 23:44:24 UTC
(
hide
)
Description:
Patch taken from https://github.com/kcat/openal-soft/commit/7910f1afbdfb1ab886b3a9c7ac3165c7fd2065c0.patch
Filename:
MIME Type:
Creator:
asdfg
Created:
2023-10-11 23:44:24 UTC
Size:
2.98 KB
patch
obsolete
>From 7910f1afbdfb1ab886b3a9c7ac3165c7fd2065c0 Mon Sep 17 00:00:00 2001 >From: Chris Robinson <chris.kcat@gmail.com> >Date: Tue, 29 Aug 2023 05:22:51 -0700 >Subject: [PATCH] Don't set VISIBILITY_PRESETs without visibility attributes > >--- > CMakeLists.txt | 43 ++++++++++++++++++++----------------------- > 1 file changed, 20 insertions(+), 23 deletions(-) > >diff --git a/CMakeLists.txt b/CMakeLists.txt >index 23dc7bd38..bb1f03991 100644 >--- a/CMakeLists.txt >+++ b/CMakeLists.txt >@@ -33,9 +33,6 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") > set(ALSOFT_UWP TRUE) > endif() > >-set(CMAKE_C_VISIBILITY_PRESET hidden) >-set(CMAKE_CXX_VISIBILITY_PRESET hidden) >- > if(COMMAND CMAKE_POLICY) > cmake_policy(SET CMP0003 NEW) > cmake_policy(SET CMP0005 NEW) >@@ -361,32 +358,32 @@ else() > endif() > > # Set visibility/export options if available >-if(WIN32) >- if(NOT LIBTYPE STREQUAL "STATIC") >+if(NOT LIBTYPE STREQUAL "STATIC") >+ if(WIN32) > set(EXPORT_DECL "__declspec(dllexport)") >- endif() >-else() >- set(OLD_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}") >- # Yes GCC, really don't accept visibility modes you don't support >- set(CMAKE_REQUIRED_FLAGS "${OLD_REQUIRED_FLAGS} -Wattributes -Werror") >- >- check_c_source_compiles("int foo() __attribute__((visibility(\"protected\"))); >- int main() {return 0;}" HAVE_GCC_PROTECTED_VISIBILITY) >- if(HAVE_GCC_PROTECTED_VISIBILITY) >- if(NOT LIBTYPE STREQUAL "STATIC") >- set(EXPORT_DECL "__attribute__((visibility(\"protected\")))") >- endif() > else() >- check_c_source_compiles("int foo() __attribute__((visibility(\"default\"))); >- int main() {return 0;}" HAVE_GCC_DEFAULT_VISIBILITY) >- if(HAVE_GCC_DEFAULT_VISIBILITY) >- if(NOT LIBTYPE STREQUAL "STATIC") >+ set(OLD_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}") >+ # Yes GCC, really don't accept visibility modes you don't support >+ set(CMAKE_REQUIRED_FLAGS "${OLD_REQUIRED_FLAGS} -Wattributes -Werror") >+ >+ check_c_source_compiles("int foo() __attribute__((visibility(\"protected\"))); >+ int main() {return 0;}" HAVE_GCC_PROTECTED_VISIBILITY) >+ if(HAVE_GCC_PROTECTED_VISIBILITY) >+ set(EXPORT_DECL "__attribute__((visibility(\"protected\")))") >+ else() >+ check_c_source_compiles("int foo() __attribute__((visibility(\"default\"))); >+ int main() {return 0;}" HAVE_GCC_DEFAULT_VISIBILITY) >+ if(HAVE_GCC_DEFAULT_VISIBILITY) > set(EXPORT_DECL "__attribute__((visibility(\"default\")))") > endif() > endif() >- endif() >+ if(HAVE_GCC_PROTECTED_VISIBILITY OR HAVE_GCC_DEFAULT_VISIBILITY) >+ set(CMAKE_C_VISIBILITY_PRESET hidden) >+ set(CMAKE_CXX_VISIBILITY_PRESET hidden) >+ endif() > >- set(CMAKE_REQUIRED_FLAGS "${OLD_REQUIRED_FLAGS}") >+ set(CMAKE_REQUIRED_FLAGS "${OLD_REQUIRED_FLAGS}") >+ endif() > 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 915607
:
872591
|
872592
| 872594