From d33fcc2fda629fc287a961ed5e5d6bbef3938bbd Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 3 Jun 2014 11:41:17 +0000 Subject: testing/xf86-video-virtualbox: moved to unmaintained --- .../xf86-video-virtualbox/musl-no-glibc.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 unmaintained/xf86-video-virtualbox/musl-no-glibc.patch (limited to 'unmaintained/xf86-video-virtualbox/musl-no-glibc.patch') diff --git a/unmaintained/xf86-video-virtualbox/musl-no-glibc.patch b/unmaintained/xf86-video-virtualbox/musl-no-glibc.patch new file mode 100644 index 0000000000..65372f5d9d --- /dev/null +++ b/unmaintained/xf86-video-virtualbox/musl-no-glibc.patch @@ -0,0 +1,23 @@ +--- ./src/VBox/Runtime/r3/linux/thread-affinity-linux.cpp.orig ++++ ./src/VBox/Runtime/r3/linux/thread-affinity-linux.cpp +@@ -32,6 +32,8 @@ + # define _GNU_SOURCE + #endif + #include ++ ++#if defined(__GLIBC__) + #if __GLIBC_PREREQ(2,4) + + #include +@@ -87,6 +89,11 @@ + + return VINF_SUCCESS; + } ++ ++#else ++# include "../../generic/RTThreadGetAffinity-stub-generic.cpp" ++# include "../../generic/RTThreadSetAffinity-stub-generic.cpp" ++#endif + + #else + # include "../../generic/RTThreadGetAffinity-stub-generic.cpp" -- cgit v1.2.3