[127803] trunk/dports/gis/pgrouting

vince at macports.org vince at macports.org
Tue Nov 4 05:17:45 PST 2014


Revision: 127803
          https://trac.macports.org/changeset/127803
Author:   vince at macports.org
Date:     2014-11-04 05:17:45 -0800 (Tue, 04 Nov 2014)
Log Message:
-----------
Minor tweak to avoid conflict with Postgresql93 headers.

Modified Paths:
--------------
    trunk/dports/gis/pgrouting/Portfile

Added Paths:
-----------
    trunk/dports/gis/pgrouting/files/
    trunk/dports/gis/pgrouting/files/patch-unistd_h.diff

Modified: trunk/dports/gis/pgrouting/Portfile
===================================================================
--- trunk/dports/gis/pgrouting/Portfile	2014-11-04 12:42:51 UTC (rev 127802)
+++ trunk/dports/gis/pgrouting/Portfile	2014-11-04 13:17:45 UTC (rev 127803)
@@ -20,8 +20,10 @@
 
 # https://github.com/pgRouting/pgrouting/archive/v2.0.0.tar.gz
 github.setup        pgRouting pgrouting 2.0.0 v
-revision            1
+revision            2
 
+patchfiles          patch-unistd_h.diff
+
 checksums           rmd160  c2eacfb36fc977f63cb52c8e171936a08ed78dcb \
                     sha256  0f918e1938570e59f309dc7d8fe16de8c0edcb52cc870bdd60b144c4bb51c777
 

Added: trunk/dports/gis/pgrouting/files/patch-unistd_h.diff
===================================================================
--- trunk/dports/gis/pgrouting/files/patch-unistd_h.diff	                        (rev 0)
+++ trunk/dports/gis/pgrouting/files/patch-unistd_h.diff	2014-11-04 13:17:45 UTC (rev 127803)
@@ -0,0 +1,30 @@
+--- src/astar/src/astar.h.orig	2014-11-04 14:11:56.000000000 +0100
++++ src/astar/src/astar.h	2014-11-04 14:12:19.000000000 +0100
+@@ -21,6 +21,7 @@
+  
+ #define _ASTAR_H
+ 
++#include <unistd.h>
+ #include "postgres.h"
+ #include "dijkstra.h"
+ 
+--- src/dijkstra/src/dijkstra.h.orig	2014-11-04 14:13:53.000000000 +0100
++++ src/dijkstra/src/dijkstra.h	2014-11-04 14:14:20.000000000 +0100
+@@ -22,6 +22,7 @@
+ #ifndef _DIJKSTRA_H
+ #define _DIJKSTRA_H
+ 
++#include <unistd.h>
+ #include "postgres.h"
+ 
+ typedef struct edge 
+--- src/driving_distance/src/drivedist.h.orig	2014-11-04 14:15:06.000000000 +0100
++++ src/driving_distance/src/drivedist.h	2014-11-04 14:15:24.000000000 +0100
+@@ -22,6 +22,7 @@
+ #ifndef _DRIVEDIST_H
+ #define _DRIVEDIST_H
+ 
++#include <unistd.h>
+ #include "postgres.h"
+ #include "dijkstra.h"
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141104/9b503e35/attachment-0001.html>


More information about the macports-changes mailing list