summaryrefslogtreecommitdiff
path: root/filesystems/fs-utils/patches
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/patches
parent0188bf0c6ad9cee050a8c98813bcafa1bd450438 (diff)
downloadpkgsrc-bbf80cd222910f0039840101645491d9731d7d11.tar.gz
try fixing problem seen in clang bulk build (void function returning value)
Diffstat (limited to 'filesystems/fs-utils/patches')
-rw-r--r--filesystems/fs-utils/patches/patch-lib_mount__v7fs.c22
1 files changed, 22 insertions, 0 deletions
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;