summaryrefslogtreecommitdiff
path: root/misc/ytree
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ytree')
-rw-r--r--misc/ytree/Makefile2
-rw-r--r--misc/ytree/distinfo6
-rw-r--r--misc/ytree/files/patch-filewin.c31
-rw-r--r--misc/ytree/files/patch-ytree.h10
4 files changed, 28 insertions, 21 deletions
diff --git a/misc/ytree/Makefile b/misc/ytree/Makefile
index 734660c2aaf9..8dbbb9de4f59 100644
--- a/misc/ytree/Makefile
+++ b/misc/ytree/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ytree
-DISTVERSION= 2.05
+DISTVERSION= 2.10
CATEGORIES= misc
MASTER_SITES= http://www.han.de/~werner/
diff --git a/misc/ytree/distinfo b/misc/ytree/distinfo
index 5d6dacf53e93..407fe4bf697e 100644
--- a/misc/ytree/distinfo
+++ b/misc/ytree/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692394328
-SHA256 (ytree-2.05.tar.gz) = 8cf8b151e4913b5b7f7a91dffd5c7306106a42477ec44e71d62c75f66ab61a57
-SIZE (ytree-2.05.tar.gz) = 124141
+TIMESTAMP = 1763979183
+SHA256 (ytree-2.10.tar.gz) = 3bbbbd32f568cdae3e03fc735b1783d8cba605a2ca6056d1b971143d7ddd517d
+SIZE (ytree-2.10.tar.gz) = 123235
diff --git a/misc/ytree/files/patch-filewin.c b/misc/ytree/files/patch-filewin.c
index 77aac86429f9..ebf556d47673 100644
--- a/misc/ytree/files/patch-filewin.c
+++ b/misc/ytree/files/patch-filewin.c
@@ -1,20 +1,37 @@
---- filewin.c.orig Sat Jun 16 23:16:26 2001
-+++ filewin.c Sat Jun 16 23:17:06 2001
-@@ -626,7 +626,7 @@
+--- filewin.c.orig
++++ filewin.c
+@@ -92,14 +92,14 @@
+ case MODE_1: len = (max_visual_linkname_len) ? max_visual_linkname_len + 4 : 0; /* linkname + " -> " */
+ len += max_visual_filename_len + 38; /* filename + format */
+ #ifdef HAS_LONGLONG
+- len += 4; /* %11lld instead of %7d */
++ len += 4; /* %11lld instead of %7qd */
+ #endif
+ break;
+
+ case MODE_2: len = (max_visual_linkname_len) ? max_visual_linkname_len + 4 : 0; /* linkname + " -> " */
+ len += max_visual_filename_len + 40; /* filename + format */
+ #ifdef HAS_LONGLONG
+- len += 4; /* %11lld instead of %7d */
++ len += 4; /* %11lld instead of %7qd */
+ #endif
+ break;
+
+@@ -602,7 +602,7 @@
sym_link_name
);
#else
- (void) sprintf( format, "%%c%%c%%-%ds %%10s %%3d %%7d %%12s -> %%-%ds",
+ (void) sprintf( format, "%%c%%c%%-%ds %%10s %%3d %%7qd %%12s -> %%-%ds",
- max_filename_len,
- max_linkname_len
+ filename_width,
+ linkname_width
);
-@@ -661,7 +661,7 @@
+@@ -637,7 +637,7 @@
modify_time
);
#else
- (void) sprintf( format, "%%c%%c%%%c%ds %%10s %%3d %%7d %%12s",
+ (void) sprintf( format, "%%c%%c%%%c%ds %%10s %%3d %%7qd %%12s",
justify,
- max_filename_len
+ filename_width
);
diff --git a/misc/ytree/files/patch-ytree.h b/misc/ytree/files/patch-ytree.h
deleted file mode 100644
index fb914dbef42d..000000000000
--- a/misc/ytree/files/patch-ytree.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- ytree.h.orig
-+++ ytree.h
-@@ -14,6 +14,7 @@
- #include <stdio.h>
- #include <ctype.h>
- #include <math.h>
-+#include <locale.h>
-
- #ifdef XCURSES
- #include <xcurses.h>