mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Tweak tparm() to make Solaris' backward userland happy and remove the -I mess
in configure which tried to deal with the fallout from their horrible package management.
This commit is contained in:
		
							
								
								
									
										8
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@@ -1,5 +1,5 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
# $Id: configure,v 1.38 2009-09-20 17:51:54 nicm Exp $
 | 
			
		||||
# $Id: configure,v 1.39 2009-09-22 19:20:08 nicm Exp $
 | 
			
		||||
 | 
			
		||||
TMUX_PLATFORM=${TMUX_PLATFORM:-`uname -s`}
 | 
			
		||||
 | 
			
		||||
@@ -139,13 +139,7 @@ EOF
 | 
			
		||||
#define HAVE_STRLCPY
 | 
			
		||||
EOF
 | 
			
		||||
	cat <<EOF >>$CONFIG_MK
 | 
			
		||||
CPPFLAGS+= -I/usr/local/include/ncurses \
 | 
			
		||||
	-I/opt/csw/include -I/opt/csw/include/ncurses \
 | 
			
		||||
	-I/opt/sfw/include -I/opt/sfw/include/ncurses
 | 
			
		||||
CFLAGS+= -D_XPG4_2 -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS
 | 
			
		||||
LDFLAGS+= -L/usr/gnu/lib \
 | 
			
		||||
	-L/opt/csw/lib \
 | 
			
		||||
	-L/opt/sfw/lib
 | 
			
		||||
LIBS+= -lcurses -lsocket -lnsl
 | 
			
		||||
SRCS+= osdep-unknown.c \
 | 
			
		||||
	compat/asprintf.c \
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: tty-term.c,v 1.30 2009-08-23 11:50:39 nicm Exp $ */
 | 
			
		||||
/* $Id: tty-term.c,v 1.31 2009-09-22 19:20:08 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -417,13 +417,13 @@ tty_term_string(struct tty_term *term, enum tty_code_code code)
 | 
			
		||||
const char *
 | 
			
		||||
tty_term_string1(struct tty_term *term, enum tty_code_code code, int a)
 | 
			
		||||
{
 | 
			
		||||
	return (tparm((char *) tty_term_string(term, code), a));
 | 
			
		||||
	return (tparm((char *) tty_term_string(term, code), a, 0, 0, 0, 0, 0, 0, 0, 0));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const char *
 | 
			
		||||
tty_term_string2(struct tty_term *term, enum tty_code_code code, int a, int b)
 | 
			
		||||
{
 | 
			
		||||
	return (tparm((char *) tty_term_string(term, code), a, b));
 | 
			
		||||
	return (tparm((char *) tty_term_string(term, code), a, b, 0, 0, 0, 0, 0, 0, 0));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user