From 1f01bad8b4abc1f27d959cc785f9d83db3755da4 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sat, 5 Mar 2016 13:23:32 +0000 Subject: [PATCH] dia: fix musl build (alpine patch) --- srcpkgs/dia/patches/isinf.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/dia/patches/isinf.patch diff --git a/srcpkgs/dia/patches/isinf.patch b/srcpkgs/dia/patches/isinf.patch new file mode 100644 index 00000000000..4cd4adbc864 --- /dev/null +++ b/srcpkgs/dia/patches/isinf.patch @@ -0,0 +1,16 @@ +--- ./configure.orig ++++ ./configure +@@ -17436,11 +17436,11 @@ + #ifdef __cplusplus + extern "C" + #endif +-char isinf (); ++#include + int + main () + { +-return isinf (); ++return isinf (0.0); + ; + return 0; + }