pkgsrc/sysutils/e2fsprogs/patches/patch-lib_ext2fs_bitops.h
jdolecek c79a9dab53 Update e2fsprogs to 1.43.1, using wip package for version 1.42.12 as base
Changes too numerous, see following page for details:
http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.1

Compile-tested on NetBSD and Mac OS X
2016-08-09 21:46:06 +00:00

15 lines
542 B
C

$NetBSD: patch-lib_ext2fs_bitops.h,v 1.2 2016/08/09 21:46:07 jdolecek Exp $
Force GNU inline semantic.
--- lib/ext2fs/bitops.h.orig 2014-07-03 23:33:48.000000000 +0900
+++ lib/ext2fs/bitops.h 2014-12-10 21:10:47.000000000 +0900
@@ -238,7 +238,7 @@ extern errcode_t ext2fs_find_first_set_g
#define _INLINE_ inline
#else /* not C99 */
#ifdef __GNUC__
-#define _INLINE_ extern __inline__
+#define _INLINE_ extern __attribute__((__gnu_inline__)) __inline__
#else /* For Watcom C */
#define _INLINE_ extern inline
#endif /* __GNUC__ */