mingw-headers/mingw-headers-no-widl.patch
Miroslav Rezanina 054d70fdfb Rebase to Fedora Rawhide (For RHEL 9.6)
Update to 12.0.0

last_sync: 0b5ec6cd6c318d63d79cd5745fba5df739a3c6c9
resolves: RHEL-73325
side-tag: c9s-build-side-3708-stack-gate
2025-01-10 10:33:13 +01:00

25 lines
1.1 KiB
Diff

diff -rupN mingw-w64-v12.0.0/mingw-w64-headers/configure mingw-w64-v12.0.0-new/mingw-w64-headers/configure
--- mingw-w64-v12.0.0/mingw-w64-headers/configure 2024-05-22 09:07:14.000000000 +0200
+++ mingw-w64-v12.0.0-new/mingw-w64-headers/configure 2024-07-16 11:38:30.243909103 +0200
@@ -2756,7 +2756,7 @@ printf "%s\n" "$with_widl" >&6; }
if test "x$with_widl" = xno
then :
-
+unset WIDL
else case e in #(
e)
if test "x$srcdir" = x.
diff -rupN mingw-w64-v12.0.0/mingw-w64-headers/configure.ac mingw-w64-v12.0.0-new/mingw-w64-headers/configure.ac
--- mingw-w64-v12.0.0/mingw-w64-headers/configure.ac 2024-05-22 09:07:14.000000000 +0200
+++ mingw-w64-v12.0.0-new/mingw-w64-headers/configure.ac 2024-07-16 11:35:58.632319451 +0200
@@ -27,7 +27,7 @@ AC_ARG_WITH([widl],
[AS_VAR_SET([with_widl],[no])])
AC_MSG_RESULT([$with_widl])
-AS_VAR_IF([with_widl],[no],[],[
+AS_VAR_IF([with_widl],[no],[unset WIDL],[
AS_VAR_IF([srcdir],[.],[],
[AC_MSG_WARN([--with-widl used in out of the tree compilation. Existing generated files will not be modified.])])
AC_PATH_PROGS([WIDL], [$host-widl widl], [], [$with_widl])