[96175] trunk/dports/databases/postgresql92
jwa at macports.org
jwa at macports.org
Thu Aug 2 04:49:18 PDT 2012
Revision: 96175
https://trac.macports.org/changeset/96175
Author: jwa at macports.org
Date: 2012-08-02 04:49:15 -0700 (Thu, 02 Aug 2012)
Log Message:
-----------
postgresql92: patch uuid-ossp.c allowing this port to build on ML
Modified Paths:
--------------
trunk/dports/databases/postgresql92/Portfile
Added Paths:
-----------
trunk/dports/databases/postgresql92/files/postgresql-uuid-ossp.patch
Modified: trunk/dports/databases/postgresql92/Portfile
===================================================================
--- trunk/dports/databases/postgresql92/Portfile 2012-08-02 09:32:14 UTC (rev 96174)
+++ trunk/dports/databases/postgresql92/Portfile 2012-08-02 11:49:15 UTC (rev 96175)
@@ -87,6 +87,10 @@
livecheck.url ${homepage}/ftp/source/
livecheck.regex (9\\.2\[.0-9\]+\[a-z\]+\[0-9\])
+platform darwin 12 {
+ patchfiles-append postgresql-uuid-ossp.patch
+}
+
set contribs "adminpack auto_explain dblink file_fdw 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/postgresql92/files/postgresql-uuid-ossp.patch
===================================================================
--- trunk/dports/databases/postgresql92/files/postgresql-uuid-ossp.patch (rev 0)
+++ trunk/dports/databases/postgresql92/files/postgresql-uuid-ossp.patch 2012-08-02 11:49:15 UTC (rev 96175)
@@ -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/d1dd3f47/attachment.html>
More information about the macports-changes
mailing list