From 685de88635205684ef0b1d8996643c45ce783752 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 24 Jun 2019 11:19:18 +0200 Subject: [PATCH] apl: unbreak on musl. --- srcpkgs/apl/patches/musl.patch | 11 +++++++++++ srcpkgs/apl/template | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/apl/patches/musl.patch diff --git a/srcpkgs/apl/patches/musl.patch b/srcpkgs/apl/patches/musl.patch new file mode 100644 index 00000000000..76df82d020b --- /dev/null +++ b/srcpkgs/apl/patches/musl.patch @@ -0,0 +1,11 @@ +--- src/Error.hh.orig 2019-06-24 11:12:35.825267571 +0200 ++++ src/Error.hh 2019-06-24 11:12:46.505396162 +0200 +@@ -26,6 +26,8 @@ + #include "ErrorCode.hh" + #include "UCS_string.hh" + ++#include ++ + #ifdef __GNUC__ + #define GNUC__noreturn __attribute__ ((noreturn)) + #else diff --git a/srcpkgs/apl/template b/srcpkgs/apl/template index 742f07bf63d..20c3a147c10 100644 --- a/srcpkgs/apl/template +++ b/srcpkgs/apl/template @@ -1,7 +1,7 @@ # Template file for 'apl' pkgname=apl version=1.8 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="fftw-devel gtk+3-devel libxcb-devel ncurses-devel pcre2-devel @@ -13,7 +13,7 @@ homepage="http://www.gnu.org/software/apl" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb -CXXFLAGS="-Wno-format-truncation -Wno-class-memaccess -Wno-restrict" +CXXFLAGS="-Wno-format-truncation -Wno-class-memaccess -Wno-restrict -Wno-cpp" post_install() { vdoc support-files/Dyalog-Keyboard/apl.xkb