forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gtk4 can't Werror on missing declarations, because GLIB defines macros to nothing based on compiler support, etc. legacysupport is needed for missing defines, at least
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
gnome/gtk4/files/patch-meson-dont-werror-on-missing-declarations.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
GLIB uses the technique of defining the macro to nothing | ||
if it can't be used on a given compiler. But having this | ||
defined to nothing generates a Werror, so that can't work. | ||
|
||
--- meson.build.orig 2022-11-02 00:37:51.000000000 -0700 | ||
+++ meson.build 2022-11-02 00:38:13.000000000 -0700 | ||
@@ -306,7 +306,6 @@ | ||
'int-to-pointer-cast', | ||
'main', | ||
'missing-braces', | ||
- 'missing-declarations', | ||
'missing-prototypes', | ||
'nonnull', | ||
'pointer-to-int-cast', |