dia: fix musl build (alpine patch)

This commit is contained in:
Michael Gehring 2016-03-05 13:23:32 +00:00
parent aca772362f
commit 1f01bad8b4
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
--- ./configure.orig
+++ ./configure
@@ -17436,11 +17436,11 @@
#ifdef __cplusplus
extern "C"
#endif
-char isinf ();
+#include <math.h>
int
main ()
{
-return isinf ();
+return isinf (0.0);
;
return 0;
}