apl: fix build

This commit is contained in:
Enno Boland 2018-01-10 19:07:08 +01:00
parent e7197207f1
commit a5d1058afd
No known key found for this signature in database
GPG key ID: D09964719BDE9971
2 changed files with 12 additions and 1 deletions

View 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;

View file

@ -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)"