diff options
author | wennmach <wennmach@pkgsrc.org> | 2005-03-25 17:40:25 +0000 |
---|---|---|
committer | wennmach <wennmach@pkgsrc.org> | 2005-03-25 17:40:25 +0000 |
commit | 09c311846a7c6e7dc0c233468005aa5aa2614bc5 (patch) | |
tree | 7721c1432c00634eb6ee36bed4e9590f9a30bf38 /net/arla/patches/patch-bj | |
parent | c17070d18282a986e0f08bfdec45ac75b3c5aded (diff) | |
download | pkgsrc-09c311846a7c6e7dc0c233468005aa5aa2614bc5.tar.gz |
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.
Diffstat (limited to 'net/arla/patches/patch-bj')
-rw-r--r-- | net/arla/patches/patch-bj | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/arla/patches/patch-bj b/net/arla/patches/patch-bj new file mode 100644 index 00000000000..25498c69a58 --- /dev/null +++ b/net/arla/patches/patch-bj @@ -0,0 +1,25 @@ +$NetBSD: patch-bj,v 1.4 2005/03/25 17:40:25 wennmach Exp $ + +Fix gcc warnings on NetBSD-2.0/amd64. +NB: it seems 'size' is used inconsistently. + +--- tools/release-tools/tar-rootify.c.orig 2005-03-23 11:07:28.000000000 +0100 ++++ tools/release-tools/tar-rootify.c 2005-03-23 11:23:11.000000000 +0100 +@@ -79,7 +79,7 @@ + int bufsz = 512; + int i, skip = 0, rec = 0; + struct posix_header *p; +- uint64_t size; ++ uint64_t size = 0; + unsigned long cksum, hcksum; + int verbose = 0; + +@@ -118,7 +118,7 @@ + fprintf(stderr, "type = %c\n", p->typeflag); + fprintf(stderr, "size = %.*s\n", (int)sizeof(p->size), p->size); + size = estrntoll(p->size, 12, 8); +- fprintf(stderr, "size = %llo\n", size); ++ fprintf(stderr, "size = %llo\n", (unsigned long long)size); + } + + hcksum = estrntoll(p->chksum, 8, 8); |