svn commit: r314038 - head/sysutils/e2fsprogs/files
Matthias Andree
mandree at FreeBSD.org
Wed Mar 13 08:11:33 UTC 2013
Author: mandree
Date: Wed Mar 13 08:11:32 2013
New Revision: 314038
URL: http://svnweb.freebsd.org/changeset/ports/314038
Log:
Fix build with clang.
(The issue has also been reported to the upstream maintainer.)
PR: ports/176908
Submitted by: Beeblebrox <zaphod at berentweb.com>
Added:
head/sysutils/e2fsprogs/files/patch-lib__ext2fs__gen_bitmap64.c (contents, props changed)
Added: head/sysutils/e2fsprogs/files/patch-lib__ext2fs__gen_bitmap64.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/e2fsprogs/files/patch-lib__ext2fs__gen_bitmap64.c Wed Mar 13 08:11:32 2013 (r314038)
@@ -0,0 +1,11 @@
+--- ./lib/ext2fs/gen_bitmap64.c.orig 2013-03-13 09:07:19.000000000 +0100
++++ ./lib/ext2fs/gen_bitmap64.c 2013-03-13 09:07:37.000000000 +0100
+@@ -657,7 +657,7 @@
+ if ((block < bmap->start) || (block+num-1 > bmap->end)) {
+ ext2fs_warn_bitmap(EXT2_ET_BAD_BLOCK_TEST, block,
+ bmap->description);
+- return;
++ return EINVAL;
+ }
+
+ return bmap->bitmap_ops->test_clear_bmap_extent(bmap, block, num);
More information about the svn-ports-head
mailing list