X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=postgresql-ossp_uuid.patch;h=08c5a0c8e3ba323c57edec913c8f02bfe5a1e28a;hb=refs%2Fheads%2FPGSQL_9_3;hp=b5b2dfa5477626b92c86e6d606cdc48d7eb655ca;hpb=c6f188b0a79186234a5126fda5b80a8946532d04;p=packages%2Fpostgresql.git diff --git a/postgresql-ossp_uuid.patch b/postgresql-ossp_uuid.patch index b5b2dfa..08c5a0c 100644 --- a/postgresql-ossp_uuid.patch +++ b/postgresql-ossp_uuid.patch @@ -1,34 +1,29 @@ ---- postgresql-9.4.0/configure.in.orig 2015-01-05 23:55:32.000000000 +0100 -+++ postgresql-9.4.0/configure.in 2015-01-06 00:03:58.433386714 +0100 -@@ -1166,13 +1166,13 @@ - [AC_MSG_ERROR([header file does not match E2FS UUID library])])], - [AC_MSG_ERROR([header file or is required for E2FS UUID])])]) - elif test "$with_uuid" = ossp ; then -- AC_CHECK_HEADERS(ossp/uuid.h, -- [AC_EGREP_HEADER([uuid_export], ossp/uuid.h, [], -- [AC_MSG_ERROR([header file does not match OSSP UUID library])])], -+ AC_CHECK_HEADERS(ossp-uuid/uuid.h, -+ [AC_EGREP_HEADER([uuid_export], ossp-uuid/uuid.h, [], -+ [AC_MSG_ERROR([header file does not match OSSP UUID library])])], - [AC_CHECK_HEADERS(uuid.h, - [AC_EGREP_HEADER([uuid_export], uuid.h, [], - [AC_MSG_ERROR([header file does not match OSSP UUID library])])], -- [AC_MSG_ERROR([header file or is required for OSSP UUID])])]) -+ [AC_MSG_ERROR([header file or is required for OSSP UUID])])]) +diff -urpa postgresql-9.3.24.orig/configure.in postgresql-9.3.24/configure.in +--- postgresql-9.3.24.orig/configure.in 2018-08-23 19:56:17.313401333 +0000 ++++ postgresql-9.3.24/configure.in 2018-08-23 20:17:36.902386926 +0000 +@@ -1167,9 +1167,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 or is required for OSSP-UUID])])]) ++ [AC_MSG_ERROR([header file or is required for OSSP-UUID])])]) fi if test "$PORTNAME" = "win32" ; then ---- postgresql-9.4.1/contrib/uuid-ossp/uuid-ossp.c.org 2015-03-23 10:41:24.000000000 +0100 -+++ postgresql-9.4.1/contrib/uuid-ossp/uuid-ossp.c 2015-03-23 10:54:29.403373571 +0100 -@@ -29,8 +29,8 @@ - #ifdef HAVE_UUID_H - #include - #endif +diff -urpa postgresql-9.3.24.orig/contrib/uuid-ossp/uuid-ossp.c postgresql-9.3.24/contrib/uuid-ossp/uuid-ossp.c +--- postgresql-9.3.24.orig/contrib/uuid-ossp/uuid-ossp.c 2018-08-23 19:56:17.179401335 +0000 ++++ postgresql-9.3.24/contrib/uuid-ossp/uuid-ossp.c 2018-08-23 21:18:08.165346042 +0000 +@@ -20,8 +20,8 @@ + * install ossp-uuid from a tarball, it's installed as uuid.h. Don't know + * what other systems do. + */ -#ifdef HAVE_OSSP_UUID_H -#include +#ifdef HAVE_OSSP_UUID_UUID_H +#include - #endif - #ifdef HAVE_UUID_UUID_H - #include - + #else + #ifdef HAVE_UUID_H + #include