[96176] trunk/dports/databases/postgresql90

jwa at macports.org jwa at macports.org
Thu Aug 2 04:57:04 PDT 2012


Revision: 96176
          https://trac.macports.org/changeset/96176
Author:   jwa at macports.org
Date:     2012-08-02 04:57:03 -0700 (Thu, 02 Aug 2012)
Log Message:
-----------
postgresql90: patch uuid-ossp.c allowing this port to build on ML

Modified Paths:
--------------
    trunk/dports/databases/postgresql90/Portfile

Added Paths:
-----------
    trunk/dports/databases/postgresql90/files/postgresql-uuid-ossp.patch

Modified: trunk/dports/databases/postgresql90/Portfile
===================================================================
--- trunk/dports/databases/postgresql90/Portfile	2012-08-02 11:49:15 UTC (rev 96175)
+++ trunk/dports/databases/postgresql90/Portfile	2012-08-02 11:57:03 UTC (rev 96176)
@@ -83,6 +83,10 @@
 livecheck.url	${homepage}
 livecheck.regex	(9\\.0\\.\[.0-9\]+)
 
+platform darwin 12 {
+    patchfiles-append   postgresql-uuid-ossp.patch
+}
+
 set contribs	"adminpack auto_explain dblink fuzzystrmatch lo oid2name pageinspect pg_archivecleanup pg_buffercache pg_freespacemap pg_standby pg_stat_statements pg_trgm pg_upgrade pg_upgrade_support pgcrypto pgrowlocks pgstattuple tablefunc uuid-ossp vacuumlo"
 
 post-build {

Added: trunk/dports/databases/postgresql90/files/postgresql-uuid-ossp.patch
===================================================================
--- trunk/dports/databases/postgresql90/files/postgresql-uuid-ossp.patch	                        (rev 0)
+++ trunk/dports/databases/postgresql90/files/postgresql-uuid-ossp.patch	2012-08-02 11:57:03 UTC (rev 96176)
@@ -0,0 +1,11 @@
+--- contrib/uuid-ossp/uuid-ossp.c	2012-08-02 01:21:00.000000000 +0300
++++ contrib/uuid-ossp/uuid-ossp.c	2012-08-02 01:22:22.000000000 +0300
+@@ -9,6 +9,8 @@
+  *-------------------------------------------------------------------------
+  */
+ 
++#define _XOPEN_SOURCE
++
+ #include "postgres.h"
+ #include "fmgr.h"
+ #include "utils/builtins.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120802/7fe93806/attachment.html>


More information about the macports-changes mailing list