<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/227eb023d6086ceca6e63f150031e4bf1cf1304e">https://github.com/macports/macports-ports/commit/227eb023d6086ceca6e63f150031e4bf1cf1304e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 227eb023d6086ceca6e63f150031e4bf1cf1304e
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sat Jan 29 00:11:29 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> see: Fix macOS 11+ libtool bug
</span>---
lang/see/Portfile | 3 ++-
lang/see/files/dynamic_lookup-11.patch | 48 ++++++++++++++++++++++++++++++++++
lang/see/files/implicit.patch | 34 ++++++++++++------------
3 files changed, 67 insertions(+), 18 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/see/Portfile b/lang/see/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 632736b2414..9cb6932567e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/see/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/see/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,6 +27,7 @@ depends_lib port:boehmgc
</span>
master_sites ${homepage}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles implicit.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles dynamic_lookup-11.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implicit.patch
</span>
configure.args --with-boehm-gc --without-pcre --without-readline
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/see/files/dynamic_lookup-11.patch b/lang/see/files/dynamic_lookup-11.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..1f14b72ed2e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/see/files/dynamic_lookup-11.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,48 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Recognize macOS 11 and later, remove inaccurate comment, and simplify.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44605
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2009-04-26 16:06:05.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2022-01-29 00:08:32.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6455,16 +6455,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ darwin1.*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- darwin*) # darwin 5.x on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # if running on 10.5 or later, the deployment target defaults
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # to the OS version, if on x86, and 10.4, the deployment
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # target defaults to 10.4. Don't you love it?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.[012]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ darwin*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case $MACOSX_DEPLOYMENT_TARGET,$host in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 10.[012],*|,*powerpc*-darwin[5-8]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- libltdl/configure.orig 2009-04-26 16:05:59.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ libltdl/configure 2022-01-29 00:08:32.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6195,16 +6195,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ darwin1.*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- darwin*) # darwin 5.x on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # if running on 10.5 or later, the deployment target defaults
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # to the OS version, if on x86, and 10.4, the deployment
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # target defaults to 10.4. Don't you love it?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.[012]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ darwin*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case $MACOSX_DEPLOYMENT_TARGET,$host in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 10.[012],*|,*powerpc*-darwin[5-8]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/see/files/implicit.patch b/lang/see/files/implicit.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index d366f021b3c..01215ca85af 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/see/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/see/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,8 +1,8 @@
</span> Fix:
error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
<span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2009-04-26 16:06:05.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2022-01-28 23:40:19.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -10766,6 +10766,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2022-01-29 00:09:08.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2022-01-29 00:09:08.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10761,6 +10761,7 @@
</span> #endif
#include <stdio.h>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +10,7 @@ error: implicitly declaring library function 'exit' with type 'void (int) __attr
</span>
#ifdef RTLD_GLOBAL
# define LT_DLGLOBAL RTLD_GLOBAL
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -10866,6 +10867,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10861,6 +10862,7 @@
</span> #endif
#include <stdio.h>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,7 +18,7 @@ error: implicitly declaring library function 'exit' with type 'void (int) __attr
</span>
#ifdef RTLD_GLOBAL
# define LT_DLGLOBAL RTLD_GLOBAL
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -20505,6 +20507,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20500,6 +20502,7 @@
</span> cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <math.h>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,7 +26,7 @@ error: implicitly declaring library function 'exit' with type 'void (int) __attr
</span> #if SIZEOF_FLOAT == 8
float nan = 0.0 / 0.0;
int main() { exit( isnanf(nan) && !finitef(nan) ? 0:1 ); }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -20572,6 +20575,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20567,6 +20570,7 @@
</span> cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <math.h>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,7 +34,7 @@ error: implicitly declaring library function 'exit' with type 'void (int) __attr
</span> #if SIZEOF_FLOAT == 8
float inf = 1.0 / 0.0;
int main() { exit( !isnanf(inf) && !finitef(inf) ? 0:1 ); }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -20639,6 +20643,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20634,6 +20638,7 @@
</span> cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,7 +42,7 @@ error: implicitly declaring library function 'exit' with type 'void (int) __attr
</span> #if SIZEOF_FLOAT == 8
float
#elif SIZEOF_DOUBLE == 8
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -20704,6 +20709,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20699,6 +20704,7 @@
</span> cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,7 +50,7 @@ error: implicitly declaring library function 'exit' with type 'void (int) __attr
</span> void f(void);
#define f(a, b...) g(a, 5 , ## b)
int g(v, w, x, y, z) int v,w,x,y,z; { return v*w*x*y*z; }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -20824,6 +20830,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20819,6 +20825,7 @@
</span> cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <setjmp.h>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,7 +58,7 @@ error: implicitly declaring library function 'exit' with type 'void (int) __attr
</span> int main () {
jmp_buf b; volatile int c = 0;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -20890,6 +20897,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20885,6 +20892,7 @@
</span> cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <setjmp.h>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -66,7 +66,7 @@ error: implicitly declaring library function 'exit' with type 'void (int) __attr
</span> int main () {
jmp_buf b; volatile int c = 0;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -20972,6 +20980,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20967,6 +20975,7 @@
</span> /* end confdefs.h. */
#include <stdio.h>
#include <stdarg.h>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,7 +74,7 @@ error: implicitly declaring library function 'exit' with type 'void (int) __attr
</span>
int a(fmt, ap)
const char *fmt;
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -21046,6 +21055,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -21041,6 +21050,7 @@
</span> cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -82,9 +82,9 @@ error: implicitly declaring library function 'exit' with type 'void (int) __attr
</span> int main() {
#if SIZEOF_FLOAT == 8
float
<span style='display:block; white-space:pre;background:#ffe0e0;'>---- libltdl/configure.orig 2009-04-26 16:05:59.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ libltdl/configure 2022-01-28 23:42:33.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -10821,6 +10821,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- libltdl/configure.orig 2022-01-29 00:09:08.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ libltdl/configure 2022-01-29 00:09:08.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10816,6 +10816,7 @@
</span> #endif
#include <stdio.h>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -92,7 +92,7 @@ error: implicitly declaring library function 'exit' with type 'void (int) __attr
</span>
#ifdef RTLD_GLOBAL
# define LT_DLGLOBAL RTLD_GLOBAL
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -10921,6 +10922,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10916,6 +10917,7 @@
</span> #endif
#include <stdio.h>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -100,7 +100,7 @@ error: implicitly declaring library function 'exit' with type 'void (int) __attr
</span>
#ifdef RTLD_GLOBAL
# define LT_DLGLOBAL RTLD_GLOBAL
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -12040,6 +12042,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -12035,6 +12037,7 @@
</span> #endif
#include <stdio.h>
</pre><pre style='margin:0'>
</pre>