<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/afa74a31622b7d8d858e6a8b35b9530bcbf014f4">https://github.com/macports/macports-ports/commit/afa74a31622b7d8d858e6a8b35b9530bcbf014f4</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 afa74a31622 openscop: fix linking of tests
</span>afa74a31622 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit afa74a31622b7d8d858e6a8b35b9530bcbf014f4
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Wed Jun 19 15:40:22 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    openscop: fix linking of tests
</span>---
 devel/openscop/Portfile                           |  7 ++++++-
 devel/openscop/files/patch-fix-tests-linking.diff | 15 +++++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/openscop/Portfile b/devel/openscop/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3c800ced77b..d067a6dbffe 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/openscop/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/openscop/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +10,6 @@ version             0.9.0
</span> categories          devel math
 
 maintainers         {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms           darwin
</span> 
 description         OpenScop is an open specification defining a file format and a set of data structures to represent a static control part (SCoP for short).
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,6 +37,12 @@ depends_lib         port:gmp
</span> configure.args-append \
                     --with-gmp=system
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# gcc-4.2 spits out a cryptic error:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ld: absolute address to symbol ___stdoutp in a different linkage unit not supported in _test_file from osl_test-osl_test.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# gcc13 is more helpful:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# {standard input}:438:FATAL:incompatible feature used: directive .non_lazy_symbol_pointer (must specify "-dynamic" to be used)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append   patch-fix-tests-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/devel/openscop/files/patch-fix-tests-linking.diff b/devel/openscop/files/patch-fix-tests-linking.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..230ece905c8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/openscop/files/patch-fix-tests-linking.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tests/Makefile.in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tests/Makefile.in      2024-06-19 15:36:30.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -339,9 +339,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MAINTAINERCLEANFILES = Makefile.in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-osl_test_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include -static
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-osl_int_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include -static
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-osl_pluto_unroll_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include -static
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++osl_test_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include -dynamic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++osl_int_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include -dynamic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++osl_pluto_unroll_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include -dynamic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ osl_test_LDADD = ../libosl.la
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ osl_int_LDADD = ../libosl.la
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ osl_pluto_unroll_LDADD = ../libosl.la
</span></pre><pre style='margin:0'>

</pre>