$OpenBSD: patch-configure,v 1.8 2019/11/10 18:38:47 sthen Exp $

avoid nested functions in configure test (gcc extension)

Index: configure
--- configure.orig
+++ configure
@@ -4760,10 +4760,11 @@ else
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdlib.h>
+        void test_fn(void) { qsort(NULL, 0, 0, (__compar_fn_t)NULL); }
 int
 main ()
 {
-void test_fn(void) { qsort(NULL, 0, 0, (__compar_fn_t)NULL); }
+
   ;
   return 0;
 }
