diff options
author | minskim <minskim@pkgsrc.org> | 2009-05-27 06:11:23 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2009-05-27 06:11:23 +0000 |
commit | 172bc95ebbc048863e8a041de628b44be2c4e215 (patch) | |
tree | 2226723b8ca81b53fffb4189c1c6cb612a7a906e /misc/tmux/patches | |
parent | 0b4d1fb7bb0b3072dccfbfe81023f71b2c06ae8a (diff) | |
download | pkgsrc-172bc95ebbc048863e8a041de628b44be2c4e215.tar.gz |
Make misc/tmux compile on Darwin.
Diffstat (limited to 'misc/tmux/patches')
-rw-r--r-- | misc/tmux/patches/patch-aa | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/misc/tmux/patches/patch-aa b/misc/tmux/patches/patch-aa index a5ad1db8ae4..37eaa9edd57 100644 --- a/misc/tmux/patches/patch-aa +++ b/misc/tmux/patches/patch-aa @@ -1,8 +1,21 @@ -$NetBSD: patch-aa,v 1.2 2009/05/02 10:50:58 hasso Exp $ +$NetBSD: patch-aa,v 1.3 2009/05/27 06:11:23 minskim Exp $ --- Makefile.orig 2009-04-27 17:38:18.000000000 +0200 +++ Makefile -@@ -91,10 +91,10 @@ LIBS+= -lcrypt +@@ -81,6 +81,12 @@ LDFLAGS+= -pg + .endif + LIBS+= -lutil -lncurses + ++# Darwin ++.if ${OS} == "Darwin" ++SRCS+= compat/strtonum.c compat/vis.c ++CFLAGS+= -DNO_SETPROCTITLE -DNO_STRTONUM -DNO_QUEUE_H -DNO_TREE_H ++.endif ++ + # FreeBSD and DragonFly + .if ${OS} == "FreeBSD" || ${OS} == "DragonFly" + INCDIRS+= -Icompat +@@ -91,10 +97,10 @@ LIBS+= -lcrypt # NetBSD .if ${OS} == "NetBSD" |