Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
$NetBSD: patch-ab,v 1.5 2012/01/08 03:39:25 sbd Exp $
--- ROX-Filer/src/infobox.c.orig 2009-07-18 14:23:18.000000000 +0000
+++ ROX-Filer/src/infobox.c
@@ -26,6 +26,7 @@
#include <string.h>
#include <sys/param.h>
#include <signal.h>
+#include <stdint.h>
#include <libxml/parser.h>
#include <gtk/gtk.h>
@@ -435,7 +436,7 @@ static void insert_size(DU *du, const ch
cell = (size >= PRETTY_SIZE_LIMIT)
? g_strdup_printf("%s (%" SIZE_FMT " %s)",
format_size(size),
- size, _("bytes"))
+ (intmax_t) size, _("bytes"))
: g_strdup(format_size(size));
set_cell(du->store, du->path, cell);
@@ -576,7 +577,7 @@ static GtkWidget *make_details(const guc
item->size >= PRETTY_SIZE_LIMIT
? g_strdup_printf("%s (%" SIZE_FMT " %s)",
format_size(item->size),
- item->size, _("bytes"))
+ (intmax_t) item->size, _("bytes"))
: g_strdup(format_size(item->size)));
}
else