Blame patches/isync-1.4.2_pre.local.patch

443404
diff -ru isync-1.4.2.orig/configure isync-1.4.2/configure
443404
--- isync-1.4.2.orig/configure	2021-07-16 12:36:23.344522571 +0200
443404
+++ isync-1.4.2/configure	2021-07-16 12:39:20.448517026 +0200
443404
@@ -3978,51 +3978,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
443404
-if ac_fn_c_try_compile "$LINENO"; then :
443404
-
443404
-else
443404
-  as_fn_error $? "compiler does not support required C11 features" "$LINENO" 5
443404
-fi
443404
-rm -f core conftest.err conftest.$ac_objext 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.