summaryrefslogtreecommitdiffhomepage
path: root/patches/isync-1.4.4_pre.local.patch
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2021-12-08 13:25:38 +0100
committerØrjan Malde <red@foxi.me>2021-12-08 13:25:38 +0100
commitb2104202b63ca6e094aa2fcad95157a0566625bc (patch)
treea13c7bad30eff47aa963208fad56c7980fc29c65 /patches/isync-1.4.4_pre.local.patch
parent226759545b8f8c90ad80f42e6c67c0e340b3c632 (diff)
downloadmidipix_build-b2104202b63ca6e094aa2fcad95157a0566625bc.tar.bz2
midipix_build-b2104202b63ca6e094aa2fcad95157a0566625bc.tar.xz
groups/241.native_packages_inet.group: isync: bump to v1.4.4
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches/isync-1.4.4_pre.local.patch')
-rw-r--r--patches/isync-1.4.4_pre.local.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/patches/isync-1.4.4_pre.local.patch b/patches/isync-1.4.4_pre.local.patch
new file mode 100644
index 00000000..5298bbd7
--- /dev/null
+++ b/patches/isync-1.4.4_pre.local.patch
@@ -0,0 +1,56 @@
+diff -ru isync-1.4.4.orig/configure isync-1.4.4/configure
+--- isync-1.4.4.orig/configure 2021-12-03 11:56:24.000000000 +0100
++++ isync-1.4.4/configure 2021-12-08 13:22:51.039227486 +0100
+@@ -4534,52 +4534,6 @@
+ fi
+
+
+-if test "$GCC" = yes; then
+- warnings="
+- -Wall -Wextra
+- -Wshadow
+- -Wcast-qual
+- -Wformat=2 -Wformat-signedness -Wformat-nonliteral
+- -Wstrict-prototypes
+-
+- -Wno-overlength-strings
+- "
+- CFLAGS="$CFLAGS -pipe -std=c11 -pedantic $(echo $warnings)"
+-fi
+-
+-
+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-
+-void fkt(void)
+-{
+- int a = 42; // c99 comment
+-
+- for (int i = 0; i < a; i++) {} // declaration inside for()
+- int b; // declaration after code
+-}
+-
+-// c11 anonymous structs/unions
+-struct base {
+- int a;
+-};
+-union deriv {
+- struct base gen;
+- struct {
+- int a;
+- int b;
+- };
+-};
+-
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"
+-then :
+-
+-else $as_nop
+- as_fn_error $? "compiler does not support required C11 features" "$LINENO" 5
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+-
+ CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
+
+ # Extract the first word of "perl", so it can be a program name with args.