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; + }