apl: unbreak on musl.

This commit is contained in:
Juan RP 2019-06-24 11:19:18 +02:00
parent 494f5e479c
commit 685de88635
No known key found for this signature in database
GPG key ID: AF19F6CB482F9368
2 changed files with 13 additions and 2 deletions

View file

@ -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 <cstring>
+
#ifdef __GNUC__
#define GNUC__noreturn __attribute__ ((noreturn))
#else

View file

@ -1,7 +1,7 @@
# Template file for 'apl' # Template file for 'apl'
pkgname=apl pkgname=apl
version=1.8 version=1.8
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="fftw-devel gtk+3-devel libxcb-devel ncurses-devel pcre2-devel 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" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb checksum=144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb
CXXFLAGS="-Wno-format-truncation -Wno-class-memaccess -Wno-restrict" CXXFLAGS="-Wno-format-truncation -Wno-class-memaccess -Wno-restrict -Wno-cpp"
post_install() { post_install() {
vdoc support-files/Dyalog-Keyboard/apl.xkb vdoc support-files/Dyalog-Keyboard/apl.xkb