From 8c03b37f202da92ba9b99af73e15e3d25a3fd26c Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 7 Oct 2016 18:22:37 +0200 Subject: [PATCH] socat: fix for aarch64-musl. --- srcpkgs/socat/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/socat/template b/srcpkgs/socat/template index 47fbb9a7532..daf679662ba 100644 --- a/srcpkgs/socat/template +++ b/srcpkgs/socat/template @@ -1,7 +1,7 @@ # Template file for 'socat' pkgname=socat version=1.7.3.1 -revision=3 +revision=4 build_style=gnu-configure configure_args="--disable-libwrap --enable-fips ac_cv_have_z_modifier=yes sc_cv_sys_crdly_shift=9 @@ -14,3 +14,7 @@ license="GPL-2" homepage="http://www.dest-unreach.org/socat/" distfiles="http://www.dest-unreach.org/socat/download/socat-$version.tar.bz2" checksum=d2da659540c38139f388e9437bfaae16bb458d174d056cb3228432a8f489fbaa + +case "$XBPS_TARGET_MACHINE" in + aarch64-musl) CFLAGS="-D_LINUX_IF_ETHER_H";; +esac