aboutsummaryrefslogtreecommitdiff
path: root/sysutils/e2fsprogs
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2013-06-27 23:29:03 +0000
committerMatthias Andree <mandree@FreeBSD.org>2013-06-27 23:29:03 +0000
commitbc71f564c634fdb2365635404a02f159137aedef (patch)
treee1277e8adfe1335ca641365b4c05f3c64bcfbce3 /sysutils/e2fsprogs
parent591e67d93a3de0ee616470c905b63606f5937a2b (diff)
downloadports-bc71f564c634fdb2365635404a02f159137aedef.tar.gz
ports-bc71f564c634fdb2365635404a02f159137aedef.zip
Kill three compiler warnings.
Notes
Notes: svn path=/head/; revision=321912
Diffstat (limited to 'sysutils/e2fsprogs')
-rw-r--r--sysutils/e2fsprogs/files/patch-misc__tune2fs.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/e2fsprogs/files/patch-misc__tune2fs.c b/sysutils/e2fsprogs/files/patch-misc__tune2fs.c
new file mode 100644
index 000000000000..4dc57102351b
--- /dev/null
+++ b/sysutils/e2fsprogs/files/patch-misc__tune2fs.c
@@ -0,0 +1,21 @@
+--- ./misc/tune2fs.c.orig 2013-06-21 04:43:42.000000000 +0200
++++ ./misc/tune2fs.c 2013-06-28 01:08:29.000000000 +0200
+@@ -25,8 +25,6 @@
+ * 94/03/06 - Added the checks interval from Uwe Ohse (uwe@tirka.gun.de)
+ */
+
+-#define _XOPEN_SOURCE 600 /* for inclusion of strptime() */
+-#define _BSD_SOURCE /* for inclusion of strcasecmp() */
+ #include "config.h"
+ #include <fcntl.h>
+ #include <grp.h>
+@@ -48,6 +46,9 @@
+ #include <libgen.h>
+ #include <limits.h>
+
++#include <netinet/in.h>
++#include <strings.h>
++
+ #include "ext2fs/ext2_fs.h"
+ #include "ext2fs/ext2fs.h"
+ #include "et/com_err.h"