forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-strategy/julius: Fix building on musl
execinfo is not available on musl, hence only include that header on GLIBC systems Closes: https://bugs.gentoo.org/829246 Signed-off-by: brahmajit das <[email protected]> Closes: gentoo#26349 Signed-off-by: Sam James <[email protected]>
- Loading branch information
1 parent
f536fcf
commit b5bc126
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
games-strategy/julius/files/julius-1.6.0-musl-fix-execinfo.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Fix building on musl | ||
# | ||
# Closes: https://bugs.gentoo.org/829246 | ||
--- a/src/core/backtrace.c | ||
+++ b/src/core/backtrace.c | ||
@@ -2,7 +2,7 @@ | ||
|
||
#include "core/log.h" | ||
|
||
-#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && !defined(__vita__) && !defined(__SWITCH__) && !defined(__ANDROID__) | ||
+#if defined(__GNUC__) && defined(__GLIBC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && !defined(__vita__) && !defined(__SWITCH__) && !defined(__ANDROID__) | ||
|
||
#include <execinfo.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters