apl: unbreak on musl.
This commit is contained in:
parent
494f5e479c
commit
685de88635
2 changed files with 13 additions and 2 deletions
11
srcpkgs/apl/patches/musl.patch
Normal file
11
srcpkgs/apl/patches/musl.patch
Normal 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
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue