summaryrefslogtreecommitdiff
path: root/filesystems/fs-utils
diff options
context:
space:
mode:
authorwiz <wiz>2013-06-18 18:52:10 +0000
committerwiz <wiz>2013-06-18 18:52:10 +0000
commitbbf80cd222910f0039840101645491d9731d7d11 (patch)
treebc95c9c62c67c8623b6a63393afeb4b000e33e1d /filesystems/fs-utils
parent0188bf0c6ad9cee050a8c98813bcafa1bd450438 (diff)
downloadpkgsrc-bbf80cd222910f0039840101645491d9731d7d11.tar.gz
try fixing problem seen in clang bulk build (void function returning value)
Diffstat (limited to 'filesystems/fs-utils')
-rw-r--r--filesystems/fs-utils/distinfo3
-rw-r--r--filesystems/fs-utils/patches/patch-lib_mount__v7fs.c22
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;