[109275] trunk/dports/net/gpsd

jeremyhu at macports.org jeremyhu at macports.org
Sun Aug 11 22:26:07 PDT 2013


Revision: 109275
          https://trac.macports.org/changeset/109275
Author:   jeremyhu at macports.org
Date:     2013-08-11 22:26:07 -0700 (Sun, 11 Aug 2013)
Log Message:
-----------
gpsd: Mavericks build fix

Modified Paths:
--------------
    trunk/dports/net/gpsd/Portfile

Added Paths:
-----------
    trunk/dports/net/gpsd/files/string.patch

Modified: trunk/dports/net/gpsd/Portfile
===================================================================
--- trunk/dports/net/gpsd/Portfile	2013-08-12 04:12:14 UTC (rev 109274)
+++ trunk/dports/net/gpsd/Portfile	2013-08-12 05:26:07 UTC (rev 109275)
@@ -9,7 +9,7 @@
 
 name                    gpsd
 version                 3.5
-revision                2
+revision                3
 license                 BSD
 categories              net
 maintainers             nomaintainer
@@ -30,7 +30,7 @@
 depends_lib-append      port:ncurses port:python27
 depends_build-append    port:scons
 
-patchfiles              SConstruct.patch patch-pkg-config.diff
+patchfiles              SConstruct.patch patch-pkg-config.diff string.patch
 
 use_configure           no
 

Added: trunk/dports/net/gpsd/files/string.patch
===================================================================
--- trunk/dports/net/gpsd/files/string.patch	                        (rev 0)
+++ trunk/dports/net/gpsd/files/string.patch	2013-08-12 05:26:07 UTC (rev 109275)
@@ -0,0 +1,17 @@
+--- gps.h.orig	2013-08-11 22:22:02.000000000 -0700
++++ gps.h	2013-08-11 22:24:03.000000000 -0700
+@@ -1798,14 +1798,6 @@ extern double wgs84_separation(double, d
+ #define strtok_r(s,d,p) strtok_s(s,d,p)
+ #endif
+ 
+-/* Some libc's don't have strlcat/strlcpy. Local copies are provided */
+-#ifndef HAVE_STRLCAT
+-size_t strlcat(/*@out@*/char *dst, /*@in@*/const char *src, size_t size);
+-#endif
+-#ifndef HAVE_STRLCPY
+-size_t strlcpy(/*@out@*/char *dst, /*@in@*/const char *src, size_t size);
+-#endif
+-
+ #ifdef __cplusplus
+ }  /* End of the 'extern "C"' block */
+ #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130811/7e544c8b/attachment.html>


More information about the macports-changes mailing list