Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2023 15:12:31 GMT
From:      Adriaan de Groot <adridg@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c441af2f42ff - main - x11-toolkits/wxgtk30: fix build with clang 16
Message-ID:  <202304181512.33IFCV9I094366@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by adridg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c441af2f42ffc6ff3d0412cb01b5e2821910160b

commit c441af2f42ffc6ff3d0412cb01b5e2821910160b
Author:     Eric Camachat <eric@camachat.org>
AuthorDate: 2023-04-13 21:11:28 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2023-04-18 15:12:06 +0000

    x11-toolkits/wxgtk30: fix build with clang 16
    
    Tests that are done by configure need an extra header.
    
    Reported by:    Eric Camachat
    PR:             270476
---
 x11-toolkits/wxgtk30/files/patch-configure | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/x11-toolkits/wxgtk30/files/patch-configure b/x11-toolkits/wxgtk30/files/patch-configure
index 5174df78151d..1a79b94eefb6 100644
--- a/x11-toolkits/wxgtk30/files/patch-configure
+++ b/x11-toolkits/wxgtk30/files/patch-configure
@@ -17,7 +17,15 @@
      /usr/local/include        \
      /usr/local/X11/include    \
      /usr/local/include/X11    \
-@@ -31499,9 +31500,6 @@ $as_echo "$as_me: WARNING: BeOS threads are not yet su
+@@ -22421,6 +22422,7 @@ else
+ 
+                     #include <png.h>
+                     #include <stdio.h>
++                    #include <stdlib.h>
+ 
+                     int main()
+                     {
+@@ -31499,9 +31501,6 @@ $as_echo "$as_me: WARNING: BeOS threads are not yet su
                                          THREAD_OPTS="-pthreads $THREAD_OPTS"
                  fi
                  ;;
@@ -27,7 +35,7 @@
            *-*-darwin* | *-*-cygwin* )
                                                  THREAD_OPTS=""
                  ;;
-@@ -32764,8 +32762,8 @@ else
+@@ -32764,8 +32763,8 @@ else
          fi
      fi
  fi
@@ -37,7 +45,7 @@
  if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
      $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
  
-@@ -39001,6 +38999,7 @@ fi
+@@ -39001,6 +39000,7 @@ fi
        ;;
  
        powerpc-apple-macos* | \
@@ -45,7 +53,7 @@
        *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-gnu* | *-*-k*bsd*-gnu | \
        *-*-mirbsd* | \
        *-*-sunos4* | \
-@@ -39042,6 +39041,7 @@ fi
+@@ -39042,6 +39042,7 @@ fi
  
      case "${BAKEFILE_HOST}" in
        *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304181512.33IFCV9I094366>