View | Details | Raw Unified | Return to bug 154485
Collapse All | Expand All

(-)sysutils/tmux/Makefile (-2 / +1 lines)
Lines 32-39 Link Here
32
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
33
33
34
.if ${OSVERSION} < 702104
34
.if ${OSVERSION} < 702104
35
BROKEN=		fails to build with closefrom
35
EXTRA_PATCHES=	${PATCHDIR}/extra-patch-configure
36
# More detailed message: http://svn.freebsd.org/viewvc/base/stable/7/sys/kern/syscalls.master?revision=195694&amp;view=markup
37
.endif
36
.endif
38
37
39
post-patch:
38
post-patch:
(-)sysutils/tmux/files/extra-patch-configure (+18 lines)
Line 0 Link Here
1
--- configure.orig	2011-02-03 13:42:50.000000000 +0300
2
+++ configure	2011-02-03 13:45:11.000000000 +0300
3
@@ -224,7 +224,6 @@
4
 #define HAVE_ASPRINTF
5
 #define HAVE_BROKEN_KQUEUE
6
 #define HAVE_BZERO
7
-#define HAVE_CLOSEFROM
8
 #define HAVE_DAEMON
9
 #define HAVE_FGETLN
10
 #define HAVE_FORKPTY
11
@@ -245,6 +244,7 @@
12
 	cat <<EOF >>$CONFIG_MK
13
 LIBS+= -lcurses -lutil -levent
14
 SRCS+= osdep-freebsd.c \
15
+	compat/closefrom.c \
16
 	compat/vis.c \
17
 	compat/unvis.c \
18
 	compat/imsg-buffer.c \

Return to bug 154485