<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/90be777d2ce451d3c23783cb2be0efab9732e4d0">https://github.com/macports/macports-ports/commit/90be777d2ce451d3c23783cb2be0efab9732e4d0</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 90be777d2ce gsl: drop a breaking ldflag
</span>90be777d2ce is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 90be777d2ce451d3c23783cb2be0efab9732e4d0
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Thu May 30 14:49:48 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> gsl: drop a breaking ldflag
</span>---
math/gsl/Portfile | 5 +++++
math/gsl/files/patch-fix-linking.diff | 19 +++++++++++++++++++
2 files changed, 24 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/gsl/Portfile b/math/gsl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0d0548568f6..dc7579dcf34 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/gsl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/gsl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,6 +44,11 @@ configure.checks.implicit_function_declaration.whitelist-append \
</span> finite \
strchr
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Version 2.8 added -Wl,-no_fixup_chains flag,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# which is not universally supported. Drop it.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Related: https://github.com/haskell/zlib/issues/53
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-fix-linking.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> test.run yes
test.target check
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/gsl/files/patch-fix-linking.diff b/math/gsl/files/patch-fix-linking.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..b84bbf62edf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/gsl/files/patch-fix-linking.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,19 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The linker may not understand this flag:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ld: unknown option: -no_fixup_chains
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+collect2: error: ld returned 1 exit status
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure 2024-05-25 21:26:49.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2024-05-30 14:02:19.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8761,10 +8761,11 @@
</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*)
</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;'>++ # This is correct, later PowerPC uses -undefined dynamic_lookup
</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;'>+ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup $wl-no_fixup_chains' ;;
</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;'>+ esac
</span></pre><pre style='margin:0'>
</pre>