1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

x11-toolkits/wxgtk30: fix build with clang 16

Tests that are done by configure need an extra header.

Reported by:	Eric Camachat
PR:		270476
This commit is contained in:
Eric Camachat 2023-04-13 23:11:28 +02:00 committed by Adriaan de Groot
parent dc0054ed34
commit c441af2f42

View File

@ -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* | \