ports/sysutils/e2fsprogs/files/patch-lib__ext2fs__ext2_fs.h
Matthias Andree 884b6a175c Unbreak port:
- Refresh old patches to avoid fuzz.
- Add two upstream patches to fix the use-after-free() issue.
- There seem to be double-free() issues left but these do not show during
  self-test, only under valgrind instrumentation so we'll move the port
  ahead and get packages while working with upstream to debug this through
  the end.
- Bump PORTREVISION to 1.
2014-10-08 17:33:25 +00:00

11 lines
377 B
C

--- lib/ext2fs/ext2_fs.h.orig 2014-08-02 20:26:22 UTC
+++ lib/ext2fs/ext2_fs.h
@@ -461,7 +461,7 @@
#define i_dir_acl i_size_high
-#if defined(__KERNEL__) || defined(__linux__)
+#if defined(__KERNEL__) || defined(__linux__) || defined(__FreeBSD__)
#define i_reserved1 osd1.linux1.l_i_reserved1
#define i_frag osd2.linux2.l_i_frag
#define i_fsize osd2.linux2.l_i_fsize