From f2bd3d4ee1421ce8041464c441448ffd3d158d64 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 29 Apr 2019 13:00:28 +0200 Subject: [PATCH] ghdl: add musl patch Closes: #11380 [via git-merge-pr] --- srcpkgs/ghdl/patches/musl.patch | 11 +++++++++++ srcpkgs/ghdl/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/ghdl/patches/musl.patch 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"