diff options
author | wiz <wiz@pkgsrc.org> | 2013-06-18 18:52:10 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2013-06-18 18:52:10 +0000 |
commit | 0950aa950f79e0140bca95c16fcf2e404badedd5 (patch) | |
tree | bc95c9c62c67c8623b6a63393afeb4b000e33e1d /filesystems | |
parent | 75e37ba273bc825078d9b7fef036f6f487c0bfa9 (diff) | |
download | pkgsrc-0950aa950f79e0140bca95c16fcf2e404badedd5.tar.gz |
try fixing problem seen in clang bulk build (void function returning value)
Diffstat (limited to 'filesystems')
-rw-r--r-- | filesystems/fs-utils/distinfo | 3 | ||||
-rw-r--r-- | filesystems/fs-utils/patches/patch-lib_mount__v7fs.c | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/filesystems/fs-utils/distinfo b/filesystems/fs-utils/distinfo index ebeb1e509d4..fd237e15065 100644 --- a/filesystems/fs-utils/distinfo +++ b/filesystems/fs-utils/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.12 2013/06/01 15:43:47 stacktic Exp $ +$NetBSD: distinfo,v 1.13 2013/06/18 18:52:10 wiz Exp $ SHA1 (89cccf.tar.gz) = ea6e5458616347b874a7bba3c5a942a80745934d RMD160 (89cccf.tar.gz) = a4abf18762cb3628e663ae23d99d3d660462a99d Size (89cccf.tar.gz) = 493836 bytes +SHA1 (patch-lib_mount__v7fs.c) = 9ff801f0f128ca361da80b18cd7a398826e60813 diff --git a/filesystems/fs-utils/patches/patch-lib_mount__v7fs.c b/filesystems/fs-utils/patches/patch-lib_mount__v7fs.c new file mode 100644 index 00000000000..eb3c13de1d2 --- /dev/null +++ b/filesystems/fs-utils/patches/patch-lib_mount__v7fs.c @@ -0,0 +1,22 @@ +$NetBSD: patch-lib_mount__v7fs.c,v 1.1 2013/06/18 18:52:10 wiz Exp $ + +Function returning void shouldn't return values. + +--- lib/mount_v7fs.c.orig 2013-06-01 12:54:14.000000000 +0000 ++++ lib/mount_v7fs.c +@@ -155,13 +155,13 @@ mount_v7fs_parseargs(int argc, char **ar + case '?': + + default: +- return 1; ++ return; + } + argc -= optind; + argv += optind; + + if (argc != 2) +- return 1; ++ return; + + pathadj(argv[0], canon_dev); + args->endian = endian; |