diff --git a/srcpkgs/apl/patches/fix-build.patch b/srcpkgs/apl/patches/fix-build.patch new file mode 100644 index 00000000000..ba4828d727e --- /dev/null +++ b/srcpkgs/apl/patches/fix-build.patch @@ -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; diff --git a/srcpkgs/apl/template b/srcpkgs/apl/template index d175ce11795..921a0f975e6 100644 --- a/srcpkgs/apl/template +++ b/srcpkgs/apl/template @@ -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)"