Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > media > main-updates-src > by-pkgid > 9bb61f1f77b7a841fbb40f6b025bc256 > files > 4

postgresql9.0-9.0.12-0.1.src.rpm

diff -Naurp postgresql-9.0.5/configure postgresql-9.0.5.oden/configure
--- postgresql-9.0.5/configure	2011-09-22 18:00:48.000000000 -0400
+++ postgresql-9.0.5.oden/configure	2011-10-06 11:04:15.254999569 -0400
@@ -13642,7 +13642,7 @@ fi
 # for contrib/uuid-ossp
 if test "$with_ossp_uuid" = yes ; then
 
-for ac_header in ossp/uuid.h
+for ac_header in ossp-uuid/uuid.h
 do
 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
@@ -13938,8 +13938,8 @@ as_val=`eval 'as_val=${'$as_ac_Header'}
 _ACEOF
 
 else
-  { { $as_echo "$as_me:$LINENO: error: header file <ossp/uuid.h> or <uuid.h> is required for OSSP-UUID" >&5
-$as_echo "$as_me: error: header file <ossp/uuid.h> or <uuid.h> is required for OSSP-UUID" >&2;}
+  { { $as_echo "$as_me:$LINENO: error: header file <ossp-uuid/uuid.h> or <uuid.h> is required for OSSP-UUID" >&5
+$as_echo "$as_me: error: header file <ossp-uuid/uuid.h> or <uuid.h> is required for OSSP-UUID" >&2;}
    { (exit 1); exit 1; }; }
 fi
 
diff -Naurp postgresql-9.0.5/configure.in postgresql-9.0.5.oden/configure.in
--- postgresql-9.0.5/configure.in	2011-09-22 18:00:48.000000000 -0400
+++ postgresql-9.0.5.oden/configure.in	2011-10-06 11:04:15.254999569 -0400
@@ -1075,9 +1075,9 @@ fi
 
 # for contrib/uuid-ossp
 if test "$with_ossp_uuid" = yes ; then
-  AC_CHECK_HEADERS(ossp/uuid.h, [], [
+  AC_CHECK_HEADERS(ossp-uuid/uuid.h, [], [
     AC_CHECK_HEADERS(uuid.h, [],
-      [AC_MSG_ERROR([header file <ossp/uuid.h> or <uuid.h> is required for OSSP-UUID])])])
+      [AC_MSG_ERROR([header file <ossp-uuid/uuid.h> or <uuid.h> is required for OSSP-UUID])])])
 fi
 
 
diff -Naurp postgresql-9.0.5/contrib/uuid-ossp/uuid-ossp.c postgresql-9.0.5.oden/contrib/uuid-ossp/uuid-ossp.c
--- postgresql-9.0.5/contrib/uuid-ossp/uuid-ossp.c	2011-09-22 18:00:48.000000000 -0400
+++ postgresql-9.0.5.oden/contrib/uuid-ossp/uuid-ossp.c	2011-10-06 11:05:40.305017284 -0400
@@ -21,7 +21,7 @@
  * what other systems do.
  */
 #ifdef HAVE_OSSP_UUID_H
-#include <ossp/uuid.h>
+#include <ossp-uuid/uuid.h>
 #else
 #ifdef HAVE_UUID_H
 #include <uuid.h>