]> TLD Linux GIT Repositories - packages/postgresql.git/blob - postgresql-ossp_uuid.patch
- release 4
[packages/postgresql.git] / postgresql-ossp_uuid.patch
1 diff -urpa postgresql-9.3.24.orig/configure.in postgresql-9.3.24/configure.in
2 --- postgresql-9.3.24.orig/configure.in 2018-08-23 19:56:17.313401333 +0000
3 +++ postgresql-9.3.24/configure.in      2018-08-23 20:17:36.902386926 +0000
4 @@ -1167,9 +1167,9 @@ fi
5  
6  # for contrib/uuid-ossp
7  if test "$with_ossp_uuid" = yes ; then
8 -  AC_CHECK_HEADERS(ossp/uuid.h, [], [
9 +  AC_CHECK_HEADERS(ossp-uuid/uuid.h, [], [
10      AC_CHECK_HEADERS(uuid.h, [],
11 -      [AC_MSG_ERROR([header file <ossp/uuid.h> or <uuid.h> is required for OSSP-UUID])])])
12 +      [AC_MSG_ERROR([header file <ossp-uuid/uuid.h> or <uuid.h> is required for OSSP-UUID])])])
13  fi
14  
15  if test "$PORTNAME" = "win32" ; then
16 diff -urpa postgresql-9.3.24.orig/contrib/uuid-ossp/uuid-ossp.c postgresql-9.3.24/contrib/uuid-ossp/uuid-ossp.c
17 --- postgresql-9.3.24.orig/contrib/uuid-ossp/uuid-ossp.c        2018-08-23 19:56:17.179401335 +0000
18 +++ postgresql-9.3.24/contrib/uuid-ossp/uuid-ossp.c     2018-08-23 21:18:08.165346042 +0000
19 @@ -20,8 +20,8 @@
20   * install ossp-uuid from a tarball, it's installed as uuid.h. Don't know
21   * what other systems do.
22   */
23 -#ifdef HAVE_OSSP_UUID_H
24 -#include <ossp/uuid.h>
25 +#ifdef HAVE_OSSP_UUID_UUID_H
26 +#include <ossp-uuid/uuid.h>
27  #else
28  #ifdef HAVE_UUID_H
29  #include <uuid.h>