[32371] trunk/dports/sysutils/tree
boeyms at macports.org
boeyms at macports.org
Fri Dec 28 01:23:17 PST 2007
Revision: 32371
http://trac.macosforge.org/projects/macports/changeset/32371
Author: boeyms at macports.org
Date: 2007-12-28 01:23:15 -0800 (Fri, 28 Dec 2007)
Log Message:
-----------
tree: update to latest version (1.5.1.1), plus fix for #13032.
Thanks to nsutton on IRC for helping to fix this bug.
Modified Paths:
--------------
trunk/dports/sysutils/tree/Portfile
Added Paths:
-----------
trunk/dports/sysutils/tree/files/
trunk/dports/sysutils/tree/files/patch-tree.c.diff
Modified: trunk/dports/sysutils/tree/Portfile
===================================================================
--- trunk/dports/sysutils/tree/Portfile 2007-12-28 08:44:07 UTC (rev 32370)
+++ trunk/dports/sysutils/tree/Portfile 2007-12-28 09:23:15 UTC (rev 32371)
@@ -2,7 +2,7 @@
PortSystem 1.0
name tree
-version 1.5.0
+version 1.5.1.1
categories sysutils
maintainers nomaintainer
description display tree-view of directories with optional color/HTML output
@@ -14,14 +14,13 @@
for Linux.
master_sites ftp://mama.indstate.edu/linux/tree/
extract.suffix .tgz
-checksums md5 e0d090c564e7ea5afa16bac80620c7e0
+checksums md5 f8fc70a9260b50bf8b4613e9d5f5e589
platforms darwin
-configure {
- reinplace "s%extern size_t MB_CUR_MAX%extern int MB_CUR_MAX%" \
- ${worksrcpath}/tree.c
-}
+patchfiles patch-tree.c.diff
+use_configure no
+
build.args CFLAGS="-no-cpp-precomp"
destroot.args BINDIR=${destroot}${prefix}/bin \
Added: trunk/dports/sysutils/tree/files/patch-tree.c.diff
===================================================================
--- trunk/dports/sysutils/tree/files/patch-tree.c.diff (rev 0)
+++ trunk/dports/sysutils/tree/files/patch-tree.c.diff 2007-12-28 09:23:15 UTC (rev 32371)
@@ -0,0 +1,23 @@
+--- tree.c 2007-06-11 13:22:06.000000000 +0000
++++ tree.c.new 2007-12-28 09:03:06.000000000 +0000
+@@ -17,7 +17,6 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+-#include <features.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <time.h>
+@@ -179,12 +178,6 @@
+ FILE *outfile;
+ int *dirs, maxdirs;
+
+-#ifdef CYGWIN
+-extern int MB_CUR_MAX;
+-#else
+-extern size_t MB_CUR_MAX;
+-#endif
+-
+ int main(int argc, char **argv)
+ {
+ char **dirname = NULL;
Property changes on: trunk/dports/sysutils/tree/files/patch-tree.c.diff
___________________________________________________________________
Name: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071228/29cf819e/attachment.html
More information about the macports-changes
mailing list