[96142] trunk/dports/databases/postgresql91

jwa at macports.org jwa at macports.org
Wed Aug 1 16:04:26 PDT 2012


Revision: 96142
          https://trac.macports.org/changeset/96142
Author:   jwa at macports.org
Date:     2012-08-01 16:04:23 -0700 (Wed, 01 Aug 2012)
Log Message:
-----------
postgresql91: patch uuid-ossp.c allowing this port to build on ML

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

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

Modified: trunk/dports/databases/postgresql91/Portfile
===================================================================
--- trunk/dports/databases/postgresql91/Portfile	2012-08-01 22:25:01 UTC (rev 96141)
+++ trunk/dports/databases/postgresql91/Portfile	2012-08-01 23:04:23 UTC (rev 96142)
@@ -85,6 +85,10 @@
 #livecheck.url	${homepage}/developer/beta
 #livecheck.regex	(9\\.1\[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/postgresql91/files/postgresql-uuid-ossp.patch
===================================================================
--- trunk/dports/databases/postgresql91/files/postgresql-uuid-ossp.patch	                        (rev 0)
+++ trunk/dports/databases/postgresql91/files/postgresql-uuid-ossp.patch	2012-08-01 23:04:23 UTC (rev 96142)
@@ -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/20120801/0568c3a3/attachment-0001.html>


More information about the macports-changes mailing list