From 0abb49dbcf4de156f3b59e91a0f4fce1d3b29198 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 26 Dec 2014 20:05:07 +0000 Subject: Update to 1.50. --- x11-fm/xdiskusage/Makefile | 8 +++--- x11-fm/xdiskusage/distinfo | 4 +-- x11-fm/xdiskusage/files/patch-xdiskusage.C | 42 ------------------------------ 3 files changed, 7 insertions(+), 47 deletions(-) delete mode 100644 x11-fm/xdiskusage/files/patch-xdiskusage.C (limited to 'x11-fm') diff --git a/x11-fm/xdiskusage/Makefile b/x11-fm/xdiskusage/Makefile index 1022817f123d..4d42b326af0c 100644 --- a/x11-fm/xdiskusage/Makefile +++ b/x11-fm/xdiskusage/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= xdiskusage -PORTVERSION= 1.48 -PORTREVISION= 8 +PORTVERSION= 1.50 CATEGORIES= x11-fm MASTER_SITES= http://xdiskusage.sourceforge.net/ \ http://www.gnu-darwin.org/distfiles/ @@ -21,7 +20,10 @@ LDFLAGS+= `fltk-config --ldflags` PLIST_FILES= bin/xdiskusage man/man1/xdiskusage.1.gz post-patch: - ${REINPLACE_CMD} -e '22,24d' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e '/^configure:/d; /autoconf/d' \ + ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e '/@CXXFLAGS@/s|$$| ${CXXFLAGS}|' \ + ${WRKSRC}/makeinclude.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xdiskusage ${STAGEDIR}${PREFIX}/bin diff --git a/x11-fm/xdiskusage/distinfo b/x11-fm/xdiskusage/distinfo index 18e8d613c337..be3f344f132e 100644 --- a/x11-fm/xdiskusage/distinfo +++ b/x11-fm/xdiskusage/distinfo @@ -1,2 +1,2 @@ -SHA256 (xdiskusage-1.48.tgz) = 7842aa42510bf52c367164d44a977915ad9f070864d5175157738f8d6894274b -SIZE (xdiskusage-1.48.tgz) = 37332 +SHA256 (xdiskusage-1.50.tgz) = 828128775885b99397e9067b7d731f485ca1378ded256619a2d733a3ded36013 +SIZE (xdiskusage-1.50.tgz) = 54211 diff --git a/x11-fm/xdiskusage/files/patch-xdiskusage.C b/x11-fm/xdiskusage/files/patch-xdiskusage.C deleted file mode 100644 index 2da95c129959..000000000000 --- a/x11-fm/xdiskusage/files/patch-xdiskusage.C +++ /dev/null @@ -1,42 +0,0 @@ ---- xdiskusage.C.orig 2004-09-21 07:23:14.000000000 +0200 -+++ xdiskusage.C 2011-06-21 21:34:20.000000000 +0200 -@@ -392,8 +392,8 @@ - strncpy(pathbuf, path, 1024); - for (int i=0; i<10; i++) { - char *p = (char*)fl_filename_name(pathbuf); -- int i = readlink(pathbuf, p, 1024-(p-pathbuf)); -- if (i < 0) { -+ int j = readlink(pathbuf, p, 1024-(p-pathbuf)); -+ if (j < 0) { - if (errno != EINVAL) { - strcat(pathbuf, ": no such file"); - fl_alert(pathbuf); -@@ -401,8 +401,8 @@ - } - break; - } -- if (*p == '/') {memmove(pathbuf, p, i); p = pathbuf;} -- p[i] = 0; -+ if (*p == '/') {memmove(pathbuf, p, j); p = pathbuf;} -+ p[j] = 0; - path = pathbuf; - } - } -@@ -988,7 +988,7 @@ - void OutputWindow::sort_cb(Fl_Widget* o, void*v) { - OutputWindow* d = (OutputWindow*)(o->window()); - int (*compare)(const Node*, const Node*); -- switch ((int)v) { -+ switch ((unsigned long)v) { - case 's': compare = largestfirst; break; - case 'r': compare = smallestfirst; break; - case 'a': compare = alphabetical; break; -@@ -1001,7 +1001,7 @@ - - void OutputWindow::columns_cb(Fl_Widget* o, void*v) { - OutputWindow* d = (OutputWindow*)(o->window()); -- int n = (int)v; -+ unsigned long n = (unsigned long)v; - ::ncols = n; - if (n == d->ncols) return; - if (d->current_depth > d->root_depth+n-1) { -- cgit v1.2.3