void-packages/srcpkgs/dia/patches/isinf.patch

17 lines
215 B
Diff
Raw Normal View History

2016-03-05 13:23:32 +00:00
--- ./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;
}