From bbf80cd222910f0039840101645491d9731d7d11 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 18 Jun 2013 18:52:10 +0000 Subject: try fixing problem seen in clang bulk build (void function returning value) --- filesystems/fs-utils/distinfo | 3 ++- .../fs-utils/patches/patch-lib_mount__v7fs.c | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 filesystems/fs-utils/patches/patch-lib_mount__v7fs.c (limited to 'filesystems/fs-utils') 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; -- cgit v1.2.3