diff --git a/srcpkgs/ghdl/patches/musl.patch b/srcpkgs/ghdl/patches/musl.patch new file mode 100644 index 00000000000..de5ce8e592d --- /dev/null +++ b/srcpkgs/ghdl/patches/musl.patch @@ -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 + #include + +-#if defined (__linux__) || defined (__APPLE__) ++#if defined (__linux__) && defined(__GLIBC__) || defined (__APPLE__) + #define HAVE_BACKTRACE 1 + #include + #endif diff --git a/srcpkgs/ghdl/template b/srcpkgs/ghdl/template index e570366b530..a78f714ef0d 100644 --- a/srcpkgs/ghdl/template +++ b/srcpkgs/ghdl/template @@ -3,7 +3,7 @@ pkgname=ghdl reverts="20181129_1" version=0.36 revision=2 -archs="i686 x86_64" +archs="i686* x86_64*" build_style=configure configure_args="--prefix=/usr" makedepends="zlib-devel"