diff options
Diffstat (limited to 'source/x/vulkan-sdk')
-rw-r--r-- | source/x/vulkan-sdk/gfxreconstruct-sdk.glibc-2.35.diff | 11 | ||||
-rwxr-xr-x | source/x/vulkan-sdk/vulkan-sdk.SlackBuild | 5 |
2 files changed, 15 insertions, 1 deletions
diff --git a/source/x/vulkan-sdk/gfxreconstruct-sdk.glibc-2.35.diff b/source/x/vulkan-sdk/gfxreconstruct-sdk.glibc-2.35.diff new file mode 100644 index 000000000..0e94795eb --- /dev/null +++ b/source/x/vulkan-sdk/gfxreconstruct-sdk.glibc-2.35.diff @@ -0,0 +1,11 @@ +--- ./framework/util/page_guard_manager.cpp.orig 2021-06-15 14:04:31.000000000 -0500 ++++ ./framework/util/page_guard_manager.cpp 2022-02-12 18:53:36.586025716 -0600 +@@ -110,7 +110,7 @@ + static struct sigaction s_old_sigaction = {}; + static stack_t s_old_stack = {}; + +-static uint8_t s_alt_stack[SIGSTKSZ]; ++static uint8_t s_alt_stack[_SC_SIGSTKSZ]; + + static void PageGuardExceptionHandler(int id, siginfo_t* info, void* data) + { diff --git a/source/x/vulkan-sdk/vulkan-sdk.SlackBuild b/source/x/vulkan-sdk/vulkan-sdk.SlackBuild index 72a86f7d2..1c9afe4d1 100755 --- a/source/x/vulkan-sdk/vulkan-sdk.SlackBuild +++ b/source/x/vulkan-sdk/vulkan-sdk.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=vulkan-sdk # The ./VERSION file is created by ./fetch-sources.sh: VERSION=${VERSION:-$(cat VERSION)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} # Automatically determine the architecture we're building on: MARCH=$( uname -m ) @@ -450,6 +450,9 @@ cd $TMP tar xvf $CWD/gfxreconstruct-sdk-$GFXRECONSTRUCT_VERSION.tar.?z || exit 1 cd $TMP/gfxreconstruct-sdk-$GFXRECONSTRUCT_VERSION +# patch to build with glibc-2.34: +zcat $CWD/gfxreconstruct-sdk.glibc-2.35.diff.gz | patch -p1 --verbose || exit 1 + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ |