void-packages/srcpkgs/blender/patches/0001-musl-fixes.patch

25 lines
731 B
Diff

Imported from https://gitlab.alpinelinux.org/alpine/aports/-/raw/47a715de12d0f9ea19dc8b27c417553f5b1b7a39/community/blender/0001-musl-fixes.patch
adapted to not use __MUSL__ definition
From aae3146f16bfeea88a83a2997196a69ff97a2e4c Mon Sep 17 00:00:00 2001
From: Leon Marz <main@lmarz.org>
Date: Wed, 7 Dec 2022 21:18:58 +0100
Subject: [PATCH 1/2] musl fixes
---
extern/glog/src/config_linux.h | 1 -
1 file changed, 1 deletion(-)
--- a/extern/glog/src/config_linux.h
+++ b/extern/glog/src/config_linux.h
@@ -14,7 +14,9 @@
#define HAVE_DLFCN_H
/* Define to 1 if you have the <execinfo.h> header file. */
+#ifdef __GLIBC__
#define HAVE_EXECINFO_H
+#endif
/* Define if you have the `fcntl' function */
#define HAVE_FCNTL