diff options
author | asau <asau> | 2013-12-17 06:45:40 +0000 |
---|---|---|
committer | asau <asau> | 2013-12-17 06:45:40 +0000 |
commit | fe51e976e4207347dc64d69405844c8da6b01ca4 (patch) | |
tree | eb15a50f8d5043f1f681408c12a953073336bfe4 /parallel/clusterit/patches | |
parent | e0dc9e83db76709127fb4f1ee6106a4135cdabea (diff) | |
download | pkgsrc-fe51e976e4207347dc64d69405844c8da6b01ca4.tar.gz |
No utmp.h on modern FreeBSD, use utmpx.h instead.
Diffstat (limited to 'parallel/clusterit/patches')
-rw-r--r-- | parallel/clusterit/patches/patch-ae | 20 | ||||
-rw-r--r-- | parallel/clusterit/patches/patch-rvt_ttyinit.c | 16 |
2 files changed, 32 insertions, 4 deletions
diff --git a/parallel/clusterit/patches/patch-ae b/parallel/clusterit/patches/patch-ae index d57e0a6dd8c..a09c0e7ab6b 100644 --- a/parallel/clusterit/patches/patch-ae +++ b/parallel/clusterit/patches/patch-ae @@ -1,8 +1,20 @@ -$NetBSD: patch-ae,v 1.2 2008/02/27 21:52:16 garbled Exp $ +$NetBSD: patch-ae,v 1.3 2013/12/17 06:45:40 asau Exp $ ---- rvt/command.c.orig 2008-02-27 14:35:55.000000000 -0700 -+++ rvt/command.c 2008-02-27 14:37:56.000000000 -0700 -@@ -453,7 +453,6 @@ +--- rvt/command.c.orig 2008-02-27 19:29:48.000000000 +0000 ++++ rvt/command.c 2013-12-17 06:36:55.670505584 +0000 +@@ -41,7 +41,11 @@ + #include <unistd.h> + #include <signal.h> + #include <fcntl.h> ++#if defined(__FreeBSD__) ++#include <utmpx.h> ++#else + #include <utmp.h> ++#endif + #include <errno.h> + #include <string.h> + #include "rvt.h" +@@ -453,7 +457,6 @@ unsigned char *s; int count, sv; unsigned char mask = is_eightbit() ? 0xff : 0x7f; diff --git a/parallel/clusterit/patches/patch-rvt_ttyinit.c b/parallel/clusterit/patches/patch-rvt_ttyinit.c new file mode 100644 index 00000000000..7298a609fd5 --- /dev/null +++ b/parallel/clusterit/patches/patch-rvt_ttyinit.c @@ -0,0 +1,16 @@ +$NetBSD: patch-rvt_ttyinit.c,v 1.1 2013/12/17 06:45:40 asau Exp $ + +--- rvt/ttyinit.c.orig 2007-01-24 19:02:10.000000000 +0000 ++++ rvt/ttyinit.c 2013-12-17 06:40:04.802505132 +0000 +@@ -41,7 +41,11 @@ + #include <unistd.h> + #include <signal.h> + #include <fcntl.h> ++#if defined(__FreeBSD__) ++#include <utmpx.h> ++#else + #include <utmp.h> ++#endif + #include <grp.h> + #include <pwd.h> + #include <errno.h> |