[96422] trunk/dports/databases/postgresql84
jwa at macports.org
jwa at macports.org
Thu Aug 9 07:15:47 PDT 2012
Revision: 96422
https://trac.macports.org/changeset/96422
Author: jwa at macports.org
Date: 2012-08-09 07:15:47 -0700 (Thu, 09 Aug 2012)
Log Message:
-----------
postgresql84: patch uuid-ossp.c allowing this port to build on ML
Modified Paths:
--------------
trunk/dports/databases/postgresql84/Portfile
Added Paths:
-----------
trunk/dports/databases/postgresql84/files/postgresql-uuid-ossp.patch
Modified: trunk/dports/databases/postgresql84/Portfile
===================================================================
--- trunk/dports/databases/postgresql84/Portfile 2012-08-09 14:14:25 UTC (rev 96421)
+++ trunk/dports/databases/postgresql84/Portfile 2012-08-09 14:15:47 UTC (rev 96422)
@@ -77,6 +77,10 @@
livecheck.url ${homepage}
livecheck.regex (8\\.4\\.\[0-9\]+)
+platform darwin 12 {
+ patchfiles-append postgresql-uuid-ossp.patch
+}
+
set contribs "adminpack auto_explain dblink fuzzystrmatch lo oid2name pageinspect pg_buffercache pg_freespacemap pg_standby pg_stat_statements pg_trgm pgcrypto pgrowlocks pgstattuple tablefunc uuid-ossp vacuumlo"
post-build {
Added: trunk/dports/databases/postgresql84/files/postgresql-uuid-ossp.patch
===================================================================
--- trunk/dports/databases/postgresql84/files/postgresql-uuid-ossp.patch (rev 0)
+++ trunk/dports/databases/postgresql84/files/postgresql-uuid-ossp.patch 2012-08-09 14:15:47 UTC (rev 96422)
@@ -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/20120809/096e60a3/attachment.html>
More information about the macports-changes
mailing list