Resolves: RHEL-157522 Resolves: RHEL-157538 Resolves: RHEL-157595 Resolves: RHEL-157609 Resolves: RHEL-157623 Resolves: RHEL-157638 Resolves: RHEL-157652 Resolves: RHEL-157666 Resolves: RHEL-157682 Resolves: RHEL-157696 Resolves: RHEL-157710 Resolves: RHEL-162720 Resolves: RHEL-162734 Resolves: RHEL-162749 Resolves: RHEL-162763 Resolves: RHEL-162777 Resolves: RHEL-162791 Resolves: RHEL-162805
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From f3a8648a0c5902b0e44c26bba1a882ff296a6c8d Mon Sep 17 00:00:00 2001
|
|
From: Michael Catanzaro <mcatanzaro@gnome.org>
|
|
Date: Mon, 6 Apr 2026 18:05:37 -0500
|
|
Subject: [PATCH] Make g-ir-scanner warnings nonfatal
|
|
|
|
Otherwise, the build fails whenever it sees an unrecognized annotation,
|
|
which is not great whenever WebKit starts using new annotations that do
|
|
not exist in old RHELs.
|
|
---
|
|
Source/cmake/FindGI.cmake | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Source/cmake/FindGI.cmake b/Source/cmake/FindGI.cmake
|
|
index 8cf372f3b172..cb724a418020 100644
|
|
--- a/Source/cmake/FindGI.cmake
|
|
+++ b/Source/cmake/FindGI.cmake
|
|
@@ -342,7 +342,7 @@ function(GI_INTROSPECT namespace nsversion header)
|
|
VERBATIM
|
|
COMMAND_EXPAND_LISTS
|
|
COMMAND ${CMAKE_COMMAND} -E env "CC=${CMAKE_C_COMPILER}" "CFLAGS=${CMAKE_C_FLAGS}"
|
|
- "${GI_SCANNER_EXE}" --quiet --warn-all --warn-error --no-libtool
|
|
+ "${GI_SCANNER_EXE}" --quiet --warn-all --no-libtool
|
|
"--output=${gir_path}"
|
|
"--library=$<TARGET_FILE_BASE_NAME:${opt_TARGET}>"
|
|
"--library-path=$<TARGET_FILE_DIR:${opt_TARGET}>"
|
|
--
|
|
2.53.0
|
|
|