Blame patches/isync-1.4.4_pre.local.patch

b21042
diff -ru isync-1.4.4.orig/configure isync-1.4.4/configure
b21042
--- isync-1.4.4.orig/configure	2021-12-03 11:56:24.000000000 +0100
b21042
+++ isync-1.4.4/configure	2021-12-08 13:22:51.039227486 +0100
b21042
@@ -4534,52 +4534,6 @@
443404
 fi
443404
 
443404
 
443404
-if test "$GCC" = yes; then
443404
-    warnings="
443404
-        -Wall -Wextra
443404
-        -Wshadow
443404
-        -Wcast-qual
443404
-        -Wformat=2 -Wformat-signedness -Wformat-nonliteral
443404
-        -Wstrict-prototypes
443404
-
443404
-        -Wno-overlength-strings
443404
-    "
443404
-    CFLAGS="$CFLAGS -pipe -std=c11 -pedantic $(echo $warnings)"
443404
-fi
443404
-
443404
-
443404
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
443404
-/* end confdefs.h.  */
443404
-
443404
-void fkt(void)
443404
-{
443404
-    int a = 42;  // c99 comment
443404
-
443404
-    for (int i = 0; i < a; i++) {}  // declaration inside for()
443404
-    int b;  // declaration after code
443404
-}
443404
-
443404
-// c11 anonymous structs/unions
443404
-struct base {
443404
-    int a;
443404
-};
443404
-union deriv {
443404
-    struct base gen;
443404
-    struct {
443404
-        int a;
443404
-        int b;
443404
-    };
443404
-};
443404
-
443404
-_ACEOF
b21042
-if ac_fn_c_try_compile "$LINENO"
b21042
-then :
443404
-
b21042
-else $as_nop
443404
-  as_fn_error $? "compiler does not support required C11 features" "$LINENO" 5
443404
-fi
b21042
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
443404
-
443404
 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
443404
 
443404
 # Extract the first word of "perl", so it can be a program name with args.