pkgsrc/net/arla/patches/patch-bi
wennmach 9ed59b1d46 Fix a number of issues:
- LP64 and other portability issues
	- Find the correct <kafs.h> in order to get the right prototype for
	  kafs_settoken_rxkad.
	- Find the correct <com_err.h>
	- Add support for -DMULTIPROCESSOR and other kernel compile options

Bump PKGREVISION.
2005-03-25 17:40:25 +00:00

21 lines
609 B
Text

$NetBSD: patch-bi,v 1.4 2005/03/25 17:40:25 wennmach Exp $
Shut up gcc on NetBSD/amd64.
--- appl/fs/fs_statistics.c.orig 2005-03-23 10:06:17.000000000 +0100
+++ appl/fs/fs_statistics.c 2005-03-23 10:07:04.000000000 +0100
@@ -104,10 +104,10 @@
printsizeslot(sizeslot);
printf("%6lld %8lld %8lld %8lld %8lld\n",
- count, items_total,
- total_time,
- total_time/count,
- items_total*1000LL/total_time);
+ (long long)count, (long long)items_total,
+ (long long)total_time,
+ (long long)(total_time/count),
+ (long long)(items_total*1000LL/total_time));
}
struct stat_type {