<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/076a7445915879012dd53f334b0496dd4c0bdb5c">https://github.com/macports/macports-ports/commit/076a7445915879012dd53f334b0496dd4c0bdb5c</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 076a7445915 openmotif: unbreak after recent update
</span>076a7445915 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 076a7445915879012dd53f334b0496dd4c0bdb5c
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Fri May 17 04:11:42 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    openmotif: unbreak after recent update
</span>---
 x11/openmotif/Portfile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/openmotif/Portfile b/x11/openmotif/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e810c91cb2d..5d52922982d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/openmotif/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/openmotif/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,12 +46,13 @@ patchfiles      wcs-functions.patch \
</span> # See https://trac.macports.org/ticket/42847
 if {[string match "*clang*" ${configure.compiler}]} {
     patchfiles-append clang-unsupported-cflags.patch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# error: incompatible function pointer types passing 'void (char *)'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# to parameter of type 'void (*)(String) __attribute__((noreturn))'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#     XtSetErrorHandler (WmXtErrorHandler)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags-append -Wno-error=incompatible-function-pointer-types
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # error: incompatible function pointer types passing 'void (char *)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # to parameter of type 'void (*)(String) __attribute__((noreturn))'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    #     XtSetErrorHandler (WmXtErrorHandler)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # But adding this flag unconditionally breaks build with gcc-4.2.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.cflags-append -Wno-error=incompatible-function-pointer-types
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> 
 configure.args  --enable-xft \
                 --enable-jpeg \
</pre><pre style='margin:0'>

</pre>