pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/tmux Make misc/tmux compile on Darwin.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00978dec4dc1
branches:  trunk
changeset: 393809:00978dec4dc1
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed May 27 06:11:23 2009 +0000

description:
Make misc/tmux compile on Darwin.

diffstat:

 misc/tmux/distinfo         |   4 ++--
 misc/tmux/patches/patch-aa |  17 +++++++++++++++--
 2 files changed, 17 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r 25c310e3aedd -r 00978dec4dc1 misc/tmux/distinfo
--- a/misc/tmux/distinfo        Wed May 27 05:47:44 2009 +0000
+++ b/misc/tmux/distinfo        Wed May 27 06:11:23 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2009/05/02 10:50:57 hasso Exp $
+$NetBSD: distinfo,v 1.3 2009/05/27 06:11:23 minskim Exp $
 
 SHA1 (tmux-0.8.tar.gz) = 87a9db829ff36cc432114672f7354a74d673832b
 RMD160 (tmux-0.8.tar.gz) = 81f828e0af59a994e0b4ba86ab17421ffd7d7e98
 Size (tmux-0.8.tar.gz) = 175515 bytes
-SHA1 (patch-aa) = d8edf7fba23ddeadc1fe62567d96ac06fa5c7e85
+SHA1 (patch-aa) = 75b6b54aff322f8aa4c76e6720067f2b69cfd474
diff -r 25c310e3aedd -r 00978dec4dc1 misc/tmux/patches/patch-aa
--- a/misc/tmux/patches/patch-aa        Wed May 27 05:47:44 2009 +0000
+++ b/misc/tmux/patches/patch-aa        Wed May 27 06:11:23 2009 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index