[82092] trunk/dports/devel/cvs

dports at macports.org dports at macports.org
Sun Aug 7 13:04:36 PDT 2011


Revision: 82092
          http://trac.macports.org/changeset/82092
Author:   dports at macports.org
Date:     2011-08-07 13:04:32 -0700 (Sun, 07 Aug 2011)
Log Message:
-----------
cvs: fix build on Lion (#30378)

Modified Paths:
--------------
    trunk/dports/devel/cvs/Portfile

Added Paths:
-----------
    trunk/dports/devel/cvs/files/patch-getline

Modified: trunk/dports/devel/cvs/Portfile
===================================================================
--- trunk/dports/devel/cvs/Portfile	2011-08-07 19:38:12 UTC (rev 82091)
+++ trunk/dports/devel/cvs/Portfile	2011-08-07 20:04:32 UTC (rev 82092)
@@ -21,6 +21,8 @@
                 sha1    a51c531eebaff2dfdcc0fb6d94c8c6e509e06d7d \
                 rmd160  ff8c5c6777f1c12ee9134a3cf59e00c2ebaad279
 
+patchfiles      patch-getline
+
 configure.args  --infodir=${prefix}/share/info \
                 --mandir=${prefix}/share/man
 configure.env   TMPDIR= TMP= TEMP= 

Added: trunk/dports/devel/cvs/files/patch-getline
===================================================================
--- trunk/dports/devel/cvs/files/patch-getline	                        (rev 0)
+++ trunk/dports/devel/cvs/files/patch-getline	2011-08-07 20:04:32 UTC (rev 82092)
@@ -0,0 +1,22 @@
+--- lib/getline.c.orig	2011-07-26 09:06:04.000000000 +0930
++++ lib/getline.c	2011-07-26 09:06:17.000000000 +0930
+@@ -155,7 +155,7 @@
+ }
+ 
+ int
+-getline (lineptr, n, stream)
++_getline (lineptr, n, stream)
+      char **lineptr;
+      size_t *n;
+      FILE *stream;
+--- lib/getline.h.orig	2011-07-26 09:06:08.000000000 +0930
++++ lib/getline.h	2011-07-26 09:06:23.000000000 +0930
+@@ -12,7 +12,7 @@
+ #define GETLINE_NO_LIMIT -1
+ 
+ int
+-  getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
++  _getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
+ int
+   getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
+                          int limit));
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110807/a2a4de15/attachment.html>


More information about the macports-changes mailing list