[SCM] libopenshot-audio/master: Do not use Linux-only prctl
ghisvail-guest at users.alioth.debian.org
ghisvail-guest at users.alioth.debian.org
Tue Jan 31 00:26:19 UTC 2017
The following commit has been merged in the master branch:
commit 4c40115c8b056af0f791bc934d1cdb87ea44fcd7
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Tue Jan 31 00:04:59 2017 +0000
Do not use Linux-only prctl
diff --git a/JuceLibraryCode/modules/juce_core/native/juce_BasicNativeHeaders.h b/JuceLibraryCode/modules/juce_core/native/juce_BasicNativeHeaders.h
index 9cd9799..788b908 100644
--- a/JuceLibraryCode/modules/juce_core/native/juce_BasicNativeHeaders.h
+++ b/JuceLibraryCode/modules/juce_core/native/juce_BasicNativeHeaders.h
@@ -192,7 +192,6 @@
#include <net/if.h>
#include <sys/sysinfo.h>
#include <sys/file.h>
- #include <sys/prctl.h>
#include <signal.h>
#include <stddef.h>
diff --git a/JuceLibraryCode/modules/juce_core/native/juce_posix_SharedCode.h b/JuceLibraryCode/modules/juce_core/native/juce_posix_SharedCode.h
index b6fff48..af189e5 100644
--- a/JuceLibraryCode/modules/juce_core/native/juce_posix_SharedCode.h
+++ b/JuceLibraryCode/modules/juce_core/native/juce_posix_SharedCode.h
@@ -903,11 +903,7 @@ void JUCE_CALLTYPE Thread::setCurrentThreadName (const String& name)
[[NSThread currentThread] setName: juceStringToNS (name)];
}
#elif JUCE_LINUX
- #if (__GLIBC__ * 1000 + __GLIBC_MINOR__) >= 2012
pthread_setname_np (pthread_self(), name.toRawUTF8());
- #else
- prctl (PR_SET_NAME, name.toRawUTF8(), 0, 0, 0);
- #endif
#endif
}
--
libopenshot-audio packaging
More information about the pkg-multimedia-commits
mailing list