ghdl: add musl patch

Closes: #11380 [via git-merge-pr]
This commit is contained in:
John 2019-04-29 13:00:28 +02:00 committed by Jürgen Buchmüller
parent 134c7528e7
commit f2bd3d4ee1
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- src/grt/config/jumps.c 2019-03-03 09:38:19.000000000 +0100
+++ - 2019-04-29 12:58:54.717203690 +0200
@@ -29,7 +29,7 @@
#include <signal.h>
#include <fcntl.h>
-#if defined (__linux__) || defined (__APPLE__)
+#if defined (__linux__) && defined(__GLIBC__) || defined (__APPLE__)
#define HAVE_BACKTRACE 1
#include <sys/ucontext.h>
#endif

View file

@ -3,7 +3,7 @@ pkgname=ghdl
reverts="20181129_1" reverts="20181129_1"
version=0.36 version=0.36
revision=2 revision=2
archs="i686 x86_64" archs="i686* x86_64*"
build_style=configure build_style=configure
configure_args="--prefix=/usr" configure_args="--prefix=/usr"
makedepends="zlib-devel" makedepends="zlib-devel"