gnu-apl: Update to 1.9

Closes: https://trac.macports.org/ticket/73030
This commit is contained in:
Ryan Carsten Schmidt
2025-09-21 21:24:07 -05:00
committed by Renee Otten
parent df71498c45
commit 18ecef07c4
3 changed files with 31 additions and 48 deletions
+21 -13
View File
@@ -4,12 +4,16 @@ PortSystem 1.0
PortGroup select 1.0
name gnu-apl
version 1.8
revision 1
version 1.9
revision 0
checksums rmd160 64859c2a8e55ea0cbcc884ea1a61eb4f31ada5ae \
sha256 291867f1b1937693abb57be7d9a37618b0376e3e2709574854a7bbe52bb28eb8 \
size 4736165
categories lang
platforms darwin
license GPL-3+
maintainers {@casouri gmail.com:casouri} openmaintainer
description GNU APL is a free interpreter for the programming language APL.
long_description GNU APL is a free interpreter for the programming language APL. \
@@ -21,25 +25,28 @@ master_sites gnu:apl
distname apl-${version}
depends_lib port:fftw-3 \
port:libpng \
port:pcre2 \
port:readline \
port:sqlite3 \
port:xorg-libxcb
port:xorg-libX11 \
port:xorg-libxcb \
port:zlib
depends_run port:apl_select
select.group apl
select.file ${filespath}/${name}
checksums rmd160 e277ae100c8eccae32980b606401b04bfe65b0b1 \
sha256 144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb \
size 3565018
livecheck.type regex
livecheck.regex apl-(\[0-9.\]+)${extract.suffix}
livecheck.regex apl-(\[0-9.\]+)[quotemeta ${extract.suffix}]
patchfiles dynamic_lookup-11.patch
patchfiles-append bind.patch
# error: non-constant-expression cannot be narrowed from type 'Pixel_X' (aka 'short')
# to 'uint16_t' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
# https://savannah.gnu.org/bugs/index.php?67543
configure.cxxflags-append -Wno-error=c++11-narrowing
# Do not use -Werror.
configure.env CXX_WERROR=no
@@ -60,9 +67,10 @@ test.run yes
test.target check
notes "
gnu-apl has been installed as gnu-apl. You can use “sudo port select --set apl gnu-apl”
gnu-apl has been installed as gnu-apl. You can use\
“sudo port select --set apl gnu-apl”\
to set gnu-apl as default APL executable.
Info file is installed under ${prefix}/share/info. You need to set \$INFOPATH
accordingly in order to view them.
Info file is installed under ${prefix}/share/info.\
You need to set \$INFOPATH accordingly in order to view them.
"
-14
View File
@@ -1,14 +0,0 @@
Fix:
error: invalid operands to binary expression ('__bind<int &, sockaddr *&, unsigned int &>' and 'int')
https://lists.gnu.org/archive/html/bug-apl/2021-04/msg00004.html
http://svn.savannah.gnu.org/viewvc/apl/trunk/src/main.cc?r1=1467&r2=1466&pathrev=1467
--- src/main.cc.orig 2019-06-23 07:39:20.000000000 -0500
+++ src/main.cc 2022-01-12 20:32:24.000000000 -0600
@@ -28,6 +28,7 @@
#include <sys/ioctl.h>
#include <sys/resource.h>
#include <sys/stat.h>
+#include <sys/socket.h>
#include <sys/types.h>
#include "buildtag.hh"
+10 -21
View File
@@ -1,25 +1,14 @@
Recognize macOS 11 and later, remove inaccurate comment, and simplify.
Recognize macOS 12 and later.
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44605
--- configure.orig 2022-01-12 17:17:14.000000000 -0600
+++ configure 2022-01-12 17:17:46.000000000 -0600
@@ -8608,16 +8608,11 @@
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
darwin1.*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
- darwin*) # darwin 5.x on
- # if running on 10.5 or later, the deployment target defaults
- # to the OS version, if on x86, and 10.4, the deployment
- # target defaults to 10.4. Don't you love it?
- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
- 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ darwin*)
+ case $MACOSX_DEPLOYMENT_TARGET,$host in
+ 10.[012],*|,*powerpc*-darwin[5-8]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
- 10.*)
https://savannah.gnu.org/bugs/?67540
--- configure.orig 2024-06-28 09:01:10.000000000 -0500
+++ configure 2025-09-21 18:07:52.000000000 -0500
@@ -9622,7 +9622,7 @@
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10.[012][,.]*)
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
- 10.*|11.*)
+ *)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
esac
;;