summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2021-07-16 12:42:47 +0200
committerØrjan Malde <red@foxi.me>2021-07-16 12:42:47 +0200
commit4434042985e951dd7822ad29a1667f3ec5a7d1a2 (patch)
tree22c459da3f7bd0f15b5a7d6159d552000fbadd91
parent034f840fcfe560ce948b68ff051b609876627c3c (diff)
downloadmidipix_build-4434042985e951dd7822ad29a1667f3ec5a7d1a2.tar.bz2
midipix_build-4434042985e951dd7822ad29a1667f3ec5a7d1a2.tar.xz
groups/241.native_packages_inet.group: isync: bump to v1.4.2
Signed-off-by: Ørjan Malde <red@foxi.me>
-rw-r--r--groups/241.native_packages_inet.group6
-rw-r--r--patches/isync-1.4.2_pre.local.patch55
2 files changed, 58 insertions, 3 deletions
diff --git a/groups/241.native_packages_inet.group b/groups/241.native_packages_inet.group
index 1dbb6d05..d1226b87 100644
--- a/groups/241.native_packages_inet.group
+++ b/groups/241.native_packages_inet.group
@@ -96,10 +96,10 @@ proxytunnel rsync socat thttpd w3m weechat wget whois")";
: ${PKG_IRSSI_URL:=https://github.com/irssi/irssi/releases/download/${PKG_IRSSI_VERSION}/irssi-${PKG_IRSSI_VERSION}.tar.gz};
: ${PKG_IRSSI_CONFIGURE_ARGS_EXTRA:=--with-ncurses=${PREFIX_NATIVE}};
: ${PKG_ISYNC_DEPENDS:="libressl"};
-: ${PKG_ISYNC_SHA256SUM:=f2213bf7f90266e1295deafe39b02d1ba0b4c7f3b897c09cd17c60f0d4f4c882};
-: ${PKG_ISYNC_VERSION:=1.3.3};
+: ${PKG_ISYNC_SHA256SUM:=1935e7ed412fd6b5928aaea656f290aa8d3222c5feda31534903934ce4755343};
+: ${PKG_ISYNC_VERSION:=1.4.2};
: ${PKG_ISYNC_URL:=https://sources.voidlinux.org/isync-${PKG_ISYNC_VERSION}/isync-${PKG_ISYNC_VERSION}.tar.gz};
-: ${PKG_ISYNC_CONFIGURE_ARGS_EXTRA:=--disable-compat};
+: ${PKG_ISYNC_CFLAGS_CONFIGURE_EXTRA:=-std=c99};
: ${PKG_LDNS_DEPENDS:="libressl"};
: ${PKG_LDNS_SHA256SUM:=c19f5b1b4fb374cfe34f4845ea11b1e0551ddc67803bd6ddd5d2a20f0997a6cc};
: ${PKG_LDNS_VERSION:=1.7.0};
diff --git a/patches/isync-1.4.2_pre.local.patch b/patches/isync-1.4.2_pre.local.patch
new file mode 100644
index 00000000..ef799315
--- /dev/null
+++ b/patches/isync-1.4.2_pre.local.patch
@@ -0,0 +1,55 @@
+diff -ru isync-1.4.2.orig/configure isync-1.4.2/configure
+--- isync-1.4.2.orig/configure 2021-07-16 12:36:23.344522571 +0200
++++ isync-1.4.2/configure 2021-07-16 12:39:20.448517026 +0200
+@@ -3978,51 +3978,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_fn_error $? "compiler does not support required C11 features" "$LINENO" 5
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+-
+ CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
+
+ # Extract the first word of "perl", so it can be a program name with args.