e2fsprogs/e2fsprogs-1.42-implicit_fortify_decl.patch
Jan Kara 56f99b6d68 Accepting request 122001 from home:jankara:branches:filesystems
- Updated to 1.42.3
   - Fix a bug in the Unix I/O manager which could cause corruption of file
     systems with more than 16TB when e2fsprogs is compiled in 32-bit mode.
   - Improve the support for integrated quota files.
   - Fixed a regression introduced in 1.42.2 which would cause applications
     outside of e2fsprogs which did not pass the EXT2_FLAG_64BIT to crash.
   - Fix a bug which would cause mke2fs to fail creating the journal if
     /etc/mtab and /proc/mounts are missing.
   - Updated/fixed various man page.
   - Updated translations.

- Added dependency of e2fsprogs package on particular versions of libext2fs
  and libcom_err to avoid problems with missing symbols

OBS-URL: https://build.opensuse.org/request/show/122001
OBS-URL: https://build.opensuse.org/package/show/filesystems/e2fsprogs?expand=0&rev=29
2012-05-23 21:39:30 +00:00

19 lines
377 B
Diff

Index: lib/ext2fs/mmp.c
===================================================================
--- lib/ext2fs/mmp.c.orig
+++ lib/ext2fs/mmp.c
@@ -27,6 +27,13 @@
#include "ext2fs/ext2_fs.h"
#include "ext2fs/ext2fs.h"
+#if _BSD_SOURCE || _XOPEN_SOURCE >= 500
+#include <netdb.h>
+#endif
+
+#include <string.h>
+#include <stdio.h>
+
#ifndef O_DIRECT
#define O_DIRECT 0
#endif