diff options
Diffstat (limited to 'x11-fm/xdiskusage')
-rw-r--r-- | x11-fm/xdiskusage/Makefile | 4 | ||||
-rw-r--r-- | x11-fm/xdiskusage/files/patch-xdiskusage.C | 20 |
2 files changed, 20 insertions, 4 deletions
diff --git a/x11-fm/xdiskusage/Makefile b/x11-fm/xdiskusage/Makefile index a32ca865a16d..06032ba4b982 100644 --- a/x11-fm/xdiskusage/Makefile +++ b/x11-fm/xdiskusage/Makefile @@ -28,10 +28,6 @@ CXXFLAGS+= ${PTHREAD_CFLAGS} LDFLAGS+= ${PTHREAD_LIBS} .endif -.if ${OSVERSION} >= 700042 && ${ARCH} == "amd64" -BROKEN= Does not compile -.endif - do-build: .for i in panels xdiskusage ${CXX} ${CXXFLAGS} -I${LOCALBASE}/include -c \ diff --git a/x11-fm/xdiskusage/files/patch-xdiskusage.C b/x11-fm/xdiskusage/files/patch-xdiskusage.C new file mode 100644 index 000000000000..7a24da6f7b3f --- /dev/null +++ b/x11-fm/xdiskusage/files/patch-xdiskusage.C @@ -0,0 +1,20 @@ +--- xdiskusage.C.orig 2008-09-15 19:21:03.000000000 +0000 ++++ xdiskusage.C 2008-09-15 19:23:54.000000000 +0000 +@@ -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) { |