diff options
author | rumko <rumko> | 2011-03-14 06:06:58 +0000 |
---|---|---|
committer | rumko <rumko> | 2011-03-14 06:06:58 +0000 |
commit | b6309c519ba66d6620b54f2c03860c0ea54ab433 (patch) | |
tree | d3d1696db1019c03dbd439a4e0ab0dc8a67eb240 /misc/tmux | |
parent | f5319c6c2ed7afa15081b75ba27e53cf11a8dab8 (diff) | |
download | pkgsrc-b6309c519ba66d6620b54f2c03860c0ea54ab433.tar.gz |
misc/tmux: make it compilable on DragonFly
* we need to link to libevent in order to succesfully compile
* we already define closefrom(2) so define HAVE_CLOSEFROM
Patch provided by Antonie Huete Jimenez via private mail.
ok@ wiz
Diffstat (limited to 'misc/tmux')
-rw-r--r-- | misc/tmux/distinfo | 4 | ||||
-rw-r--r-- | misc/tmux/patches/patch-ab | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/misc/tmux/distinfo b/misc/tmux/distinfo index e6255d9f901..3336b1c3d9c 100644 --- a/misc/tmux/distinfo +++ b/misc/tmux/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.12 2011/01/13 16:48:47 jmmv Exp $ +$NetBSD: distinfo,v 1.13 2011/03/14 06:06:58 rumko Exp $ SHA1 (tmux-1.4.tar.gz) = c0cb9b01aee9b2b5c939bacccd5c78cf6fa6773e RMD160 (tmux-1.4.tar.gz) = d8d09ccac7c1c79244f96beccbd6d52f1cc50d1b Size (tmux-1.4.tar.gz) = 259614 bytes SHA1 (patch-aa) = e50976effc9fa43044d45055aabd86a69d9d9047 -SHA1 (patch-ab) = b47bc0846aa8b732d3600e9917011d8e79311408 +SHA1 (patch-ab) = 35dc1e7e8d0cd1bac40c2def39fbaed76d80b3c5 diff --git a/misc/tmux/patches/patch-ab b/misc/tmux/patches/patch-ab index 19c9554cced..5efa2cad215 100644 --- a/misc/tmux/patches/patch-ab +++ b/misc/tmux/patches/patch-ab @@ -1,5 +1,6 @@ -$NetBSD: patch-ab,v 1.7 2010/12/21 12:55:55 jmmv Exp $ +$NetBSD: patch-ab,v 1.8 2011/03/14 06:06:58 rumko Exp $ +Deal with DragonFly BSD separately from FreeBSD. --- configure.orig 2010-06-06 13:00:47.000000000 +0000 +++ configure @@ -205,7 +205,7 @@ SRCS+= osdep-darwin.c \ @@ -11,7 +12,7 @@ $NetBSD: patch-ab,v 1.7 2010/12/21 12:55:55 jmmv Exp $ cat <<EOF >>$CONFIG_H #define HAVE_ASPRINTF #define HAVE_BROKEN_KQUEUE -@@ -236,6 +236,38 @@ SRCS+= osdep-freebsd.c \ +@@ -236,6 +236,39 @@ SRCS+= osdep-freebsd.c \ EOF ;; # ------------------------------------------------------------------------------ @@ -19,6 +20,7 @@ $NetBSD: patch-ab,v 1.7 2010/12/21 12:55:55 jmmv Exp $ + cat <<EOF >>$CONFIG_H +#define HAVE_ASPRINTF +#define HAVE_BZERO ++#define HAVE_CLOSEFROM +#define HAVE_DAEMON +#define HAVE_FGETLN +#define HAVE_FORKPTY @@ -38,7 +40,7 @@ $NetBSD: patch-ab,v 1.7 2010/12/21 12:55:55 jmmv Exp $ +#define HAVE_U_INT +EOF + cat <<EOF >>$CONFIG_MK -+LIBS+= -lcurses -lcrypt -lutil ++LIBS+= -lcurses -lcrypt -lutil -levent +SRCS+= osdep-unknown.c \ + compat/vis.c \ + compat/unvis.c \ |