From 72d110f08886bf3a4eb97c76eb2e112f9c0b18d6 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Mon, 6 Jun 2016 17:45:22 +0200 Subject: [PATCH] calf: fix musl build --- srcpkgs/calf/patches/musl-no-uint.patch | 11 +++++++++++ srcpkgs/calf/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/calf/patches/musl-no-uint.patch diff --git a/srcpkgs/calf/patches/musl-no-uint.patch b/srcpkgs/calf/patches/musl-no-uint.patch new file mode 100644 index 00000000000..9e032e0f3e5 --- /dev/null +++ b/srcpkgs/calf/patches/musl-no-uint.patch @@ -0,0 +1,11 @@ +--- src/calf/audio_fx.h.orig 2016-06-06 17:44:07.843406970 +0200 ++++ src/calf/audio_fx.h 2016-06-06 17:44:11.809407175 +0200 +@@ -682,7 +682,7 @@ + private: + public: + float target, real, amount; +- uint samples, round, cnt; ++ unsigned int samples, round, cnt; + double last; + samplereduction(); + void set_params(float am); diff --git a/srcpkgs/calf/template b/srcpkgs/calf/template index 6bc20930456..69fc85d1800 100644 --- a/srcpkgs/calf/template +++ b/srcpkgs/calf/template @@ -1,7 +1,7 @@ # Template file for 'calf' pkgname=calf version=0.0.60 -revision=2 +revision=3 build_style=gnu-configure configure_args="--enable-experimental" if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then