Remove patch now that we have RTLD_NOLOAD.

Brad sent the same diff a few days ago
ok sthen@ rsadowski@
This commit is contained in:
ajacoutot 2022-08-29 13:34:24 +00:00
parent 0a1b363751
commit 8cf19e3562
2 changed files with 1 additions and 14 deletions

View File

@ -8,6 +8,7 @@ DISTNAME = fs2open-${V}
GH_ACCOUNT = scp-fs2open
GH_PROJECT = fs2open.github.com
GH_TAGNAME = release_${V:S/./_/g}
REVISION = 0
CATEGORIES = games

View File

@ -1,14 +0,0 @@
we don't have RTLD_NOLOAD
Index: code/libs/renderdoc/renderdoc.cpp
--- code/libs/renderdoc/renderdoc.cpp.orig
+++ code/libs/renderdoc/renderdoc.cpp
@@ -14,7 +14,7 @@ RENDERDOC_API_1_1_1* api = nullptr;
pRENDERDOC_GetAPI load_getAPI() {
#ifdef SCP_UNIX
- auto handle = dlopen("librenderdoc.so", RTLD_NOLOAD);
+ auto handle = dlopen("librenderdoc.so", RTLD_LAZY);
auto symbol = dlsym(handle, "RENDERDOC_GetAPI");
if (handle != nullptr) {