svn commit: r341527 - in head/sysutils/tmux: . files
Pietro Cerutti
gahr at FreeBSD.org
Tue Jan 28 09:49:22 UTC 2014
Author: gahr
Date: Tue Jan 28 09:49:21 2014
New Revision: 341527
URL: http://svnweb.freebsd.org/changeset/ports/341527
QAT: https://qat.redports.org/buildarchive/r341527/
Log:
- Chase compiler warning
- Fix segfault on "tmux info" due to broken strnvis(3), see
http://sourceforge.net/mailarchive/message.php?msg_id=31707330
Reported by: Robert Simmons <rsimmons0 at gmail.com>
Added:
head/sysutils/tmux/files/patch-configure (contents, props changed)
Modified:
head/sysutils/tmux/Makefile
Modified: head/sysutils/tmux/Makefile
==============================================================================
--- head/sysutils/tmux/Makefile Tue Jan 28 09:42:03 2014 (r341526)
+++ head/sysutils/tmux/Makefile Tue Jan 28 09:49:21 2014 (r341527)
@@ -31,6 +31,8 @@ LIBEVENT2_DESC= Use libevent version 2
LIBEVENT_STATIC_DESC= Build with static libevent
BACKSPACE_DESC= Build with tty/keys patch
+CFLAGS+= -Wno-pointer-sign
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLIBEVENT2}
Added: head/sysutils/tmux/files/patch-configure
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/tmux/files/patch-configure Tue Jan 28 09:49:21 2014 (r341527)
@@ -0,0 +1,31 @@
+--- configure.bak 2013-03-26 21:08:51.000000000 +0100
++++ configure 2014-01-28 10:49:58.000000000 +0100
+@@ -5635,6 +5635,28 @@
+ fi
+
+ if test "x$found_strnvis" = xyes; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnvis is broken" >&5
++$as_echo_n "checking if strnvis is broken... " >&6; }
++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h. */
++#include <vis.h>
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++ $EGREP "strnvis\(char \*, const char \*, size_t, int\)" >/dev/null 2>&1; then :
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
++$as_echo "no" >&6; }
++else
++ found_strnvis=no
++fi
++rm -f conftest*
++
++ if test "x$found_strnvis" = xno; then
++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++$as_echo "yes" >&6; }
++ fi
++fi
++if test "x$found_strnvis" = xyes; then
+ $as_echo "#define HAVE_VIS 1" >>confdefs.h
+
+ fi
More information about the svn-ports-all
mailing list