diff options
author | bsiegert <bsiegert> | 2012-06-27 08:52:05 +0000 |
---|---|---|
committer | bsiegert <bsiegert> | 2012-06-27 08:52:05 +0000 |
commit | 57a6015c47b013920621f9fdaafb76d027bc1e1b (patch) | |
tree | e03740ec27d95cb72c1e7bd2ab7e33382c193bd9 /sysutils | |
parent | caf8b9f3333595aee13719c9dc1072f6a774c3d9 (diff) | |
download | pkgsrc-57a6015c47b013920621f9fdaafb76d027bc1e1b.tar.gz |
Move #include <sys/types.h> before the #define of _XOPEN_SOURCE so that
u_short etc. are being defined by it.
Fixes build on MirBSD. This is a leaf package.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/e2fsprogs/distinfo | 3 | ||||
-rw-r--r-- | sysutils/e2fsprogs/patches/patch-lib_ext2fs_tdb.c | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/sysutils/e2fsprogs/distinfo b/sysutils/e2fsprogs/distinfo index 7da6b28c1ec..eff22afa700 100644 --- a/sysutils/e2fsprogs/distinfo +++ b/sysutils/e2fsprogs/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.16 2010/12/23 06:34:50 ryoon Exp $ +$NetBSD: distinfo,v 1.17 2012/06/27 08:52:05 bsiegert Exp $ SHA1 (e2fsprogs-1.41.12.tar.gz) = 62b002fe507b2ddafc24b89532e472fe4b55a14f RMD160 (e2fsprogs-1.41.12.tar.gz) = aa7f9a2e350fcab85c72deaaee5fdc2a5e9fb6e7 @@ -15,3 +15,4 @@ SHA1 (patch-as) = 6066be5bf84753419407d2ee70cd8934b918c298 SHA1 (patch-at) = 53cbd25d89a9df733ba931490c1dcb77b20ddbe3 SHA1 (patch-av) = 92c9d34c82cba121744cfff5b23e4b92c9442545 SHA1 (patch-aw) = cb5e382077c07f0ced114fcbf195537cc7b0058c +SHA1 (patch-lib_ext2fs_tdb.c) = 21f2109420b6e35f3a5c194f26ce14f6cb07f4ef diff --git a/sysutils/e2fsprogs/patches/patch-lib_ext2fs_tdb.c b/sysutils/e2fsprogs/patches/patch-lib_ext2fs_tdb.c new file mode 100644 index 00000000000..0237e616869 --- /dev/null +++ b/sysutils/e2fsprogs/patches/patch-lib_ext2fs_tdb.c @@ -0,0 +1,20 @@ +$NetBSD: patch-lib_ext2fs_tdb.c,v 1.1 2012/06/27 08:52:05 bsiegert Exp $ + +--- lib/ext2fs/tdb.c.orig Tue Dec 13 04:47:53 2011 ++++ lib/ext2fs/tdb.c +@@ -36,6 +36,7 @@ Last Changed Date: 2007-06-22 13:36:10 - + #define HAVE_UTIME_H + #define HAVE_UTIME + #endif ++#include <sys/types.h> + #define _XOPEN_SOURCE 600 + + #include <unistd.h> +@@ -49,7 +50,6 @@ Last Changed Date: 2007-06-22 13:36:10 - + #include <sys/select.h> + #endif + #include <sys/time.h> +-#include <sys/types.h> + #include <time.h> + #ifdef HAVE_UTIME_H + #include <utime.h> |