[102310] trunk/dports/sysutils/natsort

jberry at macports.org jberry at macports.org
Wed Jan 30 09:16:19 PST 2013


Revision: 102310
          https://trac.macports.org/changeset/102310
Author:   jberry at macports.org
Date:     2013-01-30 09:16:19 -0800 (Wed, 30 Jan 2013)
Log Message:
-----------
natsort: fix build issue with pickier compiler; add openmaintainer with permission of maintainer

Modified Paths:
--------------
    trunk/dports/sysutils/natsort/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/natsort/files/
    trunk/dports/sysutils/natsort/files/natsort.c.diff

Modified: trunk/dports/sysutils/natsort/Portfile
===================================================================
--- trunk/dports/sysutils/natsort/Portfile	2013-01-30 14:23:41 UTC (rev 102309)
+++ trunk/dports/sysutils/natsort/Portfile	2013-01-30 17:16:19 UTC (rev 102310)
@@ -6,13 +6,16 @@
 name                natsort
 version             1.0.5
 categories          sysutils
-maintainers         natemurray.com:nate
+maintainers         openmaintainer natemurray.com:nate
+
 description         Martin Pool's Natural Order String Comparison Sorting Utility
 long_description    natsort is a natural order string comparison sorting utility. Written by Martin Pool.
 homepage            http://sourcefrog.net/projects/natsort/
 platforms           darwin
 master_sites        sourceforge
 
+patchfiles			natsort.c.diff
+
 checksums           md5 1bc2d32c9c95595f3b67165ee370dade \
                     sha1 3843dd1dbb0c7f1c593f99c6706907d3d363b655
 

Added: trunk/dports/sysutils/natsort/files/natsort.c.diff
===================================================================
--- trunk/dports/sysutils/natsort/files/natsort.c.diff	                        (rev 0)
+++ trunk/dports/sysutils/natsort/files/natsort.c.diff	2013-01-30 17:16:19 UTC (rev 102310)
@@ -0,0 +1,20 @@
+--- natsort.c.orig	2013-01-29 17:23:19.000000000 -0800
++++ natsort.c	2013-01-29 17:24:23.000000000 -0800
+@@ -40,7 +40,7 @@
+ #endif
+ 
+ static int fold_case = 0, verbose = 0, reverse = 0;
+-size_t getline(char **lineptr, int *n, FILE *stream);
++size_t redundant_getline(char **lineptr, int *n, FILE *stream);
+ 
+ static void trace_result(char const *a, char const *b, int ret)
+ {
+@@ -170,7 +170,7 @@
+ }
+ 
+ /* This code is public domain -- Will Hartung 4/9/09 */
+-size_t getline(char **lineptr, int *n, FILE *stream) {
++size_t redundant_getline(char **lineptr, int *n, FILE *stream) {
+     char *bufptr = NULL;
+     char *p = bufptr;
+     size_t size;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130130/264cd33d/attachment-0001.html>


More information about the macports-changes mailing list