From 1b81614992e388a8b19f2b8e7404615f6cd9e1ed Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 27 May 2026 02:30:24 +0000 Subject: [PATCH] fvwm2: minimal fix for silly configure script attempting to detect -Werror Configure tests tend to use broken C code and fail with compiler updates. But one that is deliberately broken to catch -Werror is a new brilliancy. A more radical approach is https://github.com/fvwmorg/fvwm/pull/106 --- x11/fvwm2/patches/patch-configure | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/x11/fvwm2/patches/patch-configure b/x11/fvwm2/patches/patch-configure index 327e123e683..791435e6ad0 100644 --- a/x11/fvwm2/patches/patch-configure +++ b/x11/fvwm2/patches/patch-configure @@ -1,6 +1,15 @@ Index: configure --- configure.orig +++ configure +@@ -7645,7 +7645,7 @@ main (void) + { + int i; static j; int *p; char *c; + switch (*p = p = *c) { case 0: printf("%Q", c, p); } +- *c = &i; c = p; ++ *c = &i; + while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1)); + + ; @@ -12109,7 +12109,7 @@ then : else $as_nop