apl: fix build
This commit is contained in:
parent
e7197207f1
commit
a5d1058afd
2 changed files with 12 additions and 1 deletions
11
srcpkgs/apl/patches/fix-build.patch
Normal file
11
srcpkgs/apl/patches/fix-build.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/Symbol.cc.orig 2018-01-10 18:59:55.390738393 +0100
|
||||
+++ src/Symbol.cc 2018-01-10 19:03:58.169098358 +0100
|
||||
@@ -885,7 +885,7 @@ const bool can_set = (vs.name_class == N
|
||||
(vs.name_class == NC_OPERATOR) ||
|
||||
(vs.name_class == NC_UNUSED_USER_NAME);
|
||||
|
||||
- Assert(nc == NC_FUNCTION || NC_OPERATOR || NC_UNUSED_USER_NAME);
|
||||
+ Assert(nc == NC_FUNCTION || nc == NC_OPERATOR || nc == NC_UNUSED_USER_NAME);
|
||||
|
||||
if (!can_set) DEFN_ERROR;
|
||||
vs.sym_val.function = fun;
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'apl'
|
||||
pkgname=apl
|
||||
version=1.7
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
makedepends="ncurses-devel sqlite-devel"
|
||||
short_desc="GNU interpreter for APL (A Programming Language)"
|
||||
|
|
Loading…
Reference in a new issue