pkgsrc/misc/kdeutils3/patches/patch-ao

44 lines
942 B
Text
Raw Normal View History

$NetBSD: patch-ao,v 1.14 2007/05/23 13:19:23 markd Exp $
--- configure.orig 2007-05-14 23:44:00.000000000 +1200
+++ configure
@@ -37382,6 +37382,7 @@ cat >>conftest.$ac_ext <<_ACEOF
2004-05-06 01:56:08 +02:00
/* end confdefs.h. */
+#include <sys/param.h>
#include <sys/mount.h>
@@ -38175,17 +38176,19 @@ cat confdefs.h >>conftest.$ac_ext
2006-01-05 21:25:16 +01:00
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <math.h>
+
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
2006-01-05 21:25:16 +01:00
#ifdef __cplusplus
extern "C"
#endif
-char isinf ();
+double d = 0.0;
int
main ()
{
-return isinf ();
+return isinf (d);
;
return 0;
2006-01-05 21:25:16 +01:00
}
@@ -42097,6 +42100,8 @@ else
version=""2.5""
fi
+version="$PYVERSSUFFIX"
+
{ echo "$as_me:$LINENO: checking for Python$version" >&5
echo $ECHO_N "checking for Python$version... $ECHO_C" >&6; }