FreeBSD Bugzilla – Attachment 241137 Details for
Bug 270476
x11-toolkits/wxgtk30: fix build with clang 16
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build with clang 16
wxgtk30_fix-compile-with-llvm16.diff (text/plain), 1.84 KB, created by
Eric Camachat
on 2023-03-27 04:28:00 UTC
(
hide
)
Description:
Fix build with clang 16
Filename:
MIME Type:
Creator:
Eric Camachat
Created:
2023-03-27 04:28:00 UTC
Size:
1.84 KB
patch
obsolete
>diff --git x11-toolkits/wxgtk30/files/patch-configure x11-toolkits/wxgtk30/files/patch-configure >index 5174df78151d..585b2074b545 100644 >--- x11-toolkits/wxgtk30/files/patch-configure >+++ x11-toolkits/wxgtk30/files/patch-configure >@@ -1,5 +1,5 @@ >---- configure.orig 2020-05-02 14:03:18 UTC >-+++ configure >+--- configure.orig 2020-05-02 14:03:18.000000000 +0000 >++++ configure 2023-03-27 03:04:43.145265000 +0000 > @@ -4047,7 +4047,7 @@ case "${host}" in > > DEFAULT_DEFAULT_wxUSE_MOTIF=1 >@@ -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* | \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270476
: 241137