From e650c4b30afa7991b03b054d21d8fb3887c88845 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Wed, 21 Aug 2024 08:28:02 +0200 Subject: x11-wm/fvwm: remove unused patch Signed-off-by: Michael Mair-Keimberger Signed-off-by: Joonas Niilola --- x11-wm/fvwm/files/fvwm-2.7.0-clang16.patch | 54 ------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 x11-wm/fvwm/files/fvwm-2.7.0-clang16.patch (limited to 'x11-wm/fvwm') diff --git a/x11-wm/fvwm/files/fvwm-2.7.0-clang16.patch b/x11-wm/fvwm/files/fvwm-2.7.0-clang16.patch deleted file mode 100644 index 025c6e6d10ec..000000000000 --- a/x11-wm/fvwm/files/fvwm-2.7.0-clang16.patch +++ /dev/null @@ -1,54 +0,0 @@ -https://github.com/fvwmorg/fvwm/pull/100 - -From 0b4daddf6b88b696daf54714448b8d89a615abf2 Mon Sep 17 00:00:00 2001 -From: Florian Weimer -Date: Thu, 24 Nov 2022 13:06:50 +0100 -Subject: [PATCH 1/2] configure: Do not require support for implicit ints - -Implicit ints have not been part of C since 1999, and future -compilers will disable support for them by default. Fortunatenly, -only one configure check needs adjusting. ---- a/acinclude.m4 -+++ b/acinclude.m4 -@@ -30,7 +30,7 @@ if test "$ac_cv_func_select" = yes; then - #ifdef HAVE_SYS_SOCKET_H - #include - #endif], --[extern select ($ac_cv_type_fd_set_size_t, -+[extern int select ($ac_cv_type_fd_set_size_t, - $ac_cv_type_fd_set *, $ac_cv_type_fd_set *, $ac_cv_type_fd_set *, - $ac_type_timeval *);], - [ac_found=yes ; break 3],ac_found=no) ---- a/configure.ac -+++ b/configure.ac -@@ -220,7 +220,7 @@ AC_MINIX - - # catch -Werror and similar options when running configure - AC_TRY_COMPILE([#include ], --[int i; static j; int *p; char *c; -+[int i; int *p; char *c; - switch (*p = p = *c) { case 0: printf("%Q", c, p); } - *c = &i; c = p; - while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1)); - -From 6b9d100ae4e784821b5189474dc58e646417bcf6 Mon Sep 17 00:00:00 2001 -From: Florian Weimer -Date: Thu, 24 Nov 2022 13:07:56 +0100 -Subject: [PATCH 2/2] acinclude.m4: Add missing to - AM_SAFETY_CHECK_MKSTEMP - -Otherwise, the check fails on a compiler which does not support -implicit function declarations (a language feature removed in 1999). ---- a/acinclude.m4 -+++ b/acinclude.m4 -@@ -1154,6 +1154,9 @@ AC_DEFUN([AM_SAFETY_CHECK_MKSTEMP],[ - #include - #include - #include -+#ifdef HAVE_UNISTD_H -+#include -+#endif - int main(void) - { - char template[128]; - -- cgit v1.2.3-65-gdbad