[package] update postgresql to 9.0.0 (#7999)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@23755 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2010-10-31 23:30:04 +00:00
parent ff2ac2bebe
commit c7d8111da0
3 changed files with 39 additions and 101 deletions

View File

@ -1,22 +0,0 @@
--- a/src/backend/utils/adt/float.c
+++ b/src/backend/utils/adt/float.c
@@ -71,7 +71,9 @@
static int float8_cmp_internal(float8 a, float8 b);
#ifndef HAVE_CBRT
-static double cbrt(double x);
+#undef cbrt
+#define cbrt(x) pg_cbrt(x)
+static double pg_cbrt(double x);
#endif /* HAVE_CBRT */
@@ -2733,7 +2735,7 @@
#ifndef HAVE_CBRT
static double
-cbrt(double x)
+pg_cbrt(double x)
{
int isneg = (x < 0.0);
double absx = fabs(x);