Modified: trunk/dports/sysutils/tree/Portfile (32370 => 32371)
--- 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 (0 => 32371)
--- 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