svn commit: r321912 - head/sysutils/e2fsprogs/files
Matthias Andree
mandree at FreeBSD.org
Thu Jun 27 23:29:05 UTC 2013
Author: mandree
Date: Thu Jun 27 23:29:03 2013
New Revision: 321912
URL: http://svnweb.freebsd.org/changeset/ports/321912
Log:
Kill three compiler warnings.
Added:
head/sysutils/e2fsprogs/files/patch-misc__tune2fs.c (contents, props changed)
Added: head/sysutils/e2fsprogs/files/patch-misc__tune2fs.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/e2fsprogs/files/patch-misc__tune2fs.c Thu Jun 27 23:29:03 2013 (r321912)
@@ -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 at 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"
More information about the svn-ports-head
mailing list