diff --git a/package/tmux/0001-Makefile.am-remove-unsafe-headers-path.patch b/package/tmux/0001-Makefile.am-remove-unsafe-headers-path.patch deleted file mode 100644 index 4a2094577e..0000000000 --- a/package/tmux/0001-Makefile.am-remove-unsafe-headers-path.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 4095ee95141063ff3f91153e84bd029b019b8dad Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 26 Dec 2014 17:44:15 +0100 -Subject: [PATCH] Makefile.am: remove unsafe headers path - -/usr/local/include is probably not needed and it's unsafe for -cross-compilation. - -Signed-off-by: Romain Naour ---- - Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index a9ad5b9..0109e5d 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -38,12 +38,12 @@ else - CFLAGS += -O2 - endif - if IS_GCC4 --CPPFLAGS += -iquote. -I/usr/local/include -+CPPFLAGS += -iquote. - if IS_DEBUG - CFLAGS += -Wno-pointer-sign - endif - else --CPPFLAGS += -I. -I- -I/usr/local/include -+CPPFLAGS += -I. -I- - endif - endif - --- -1.9.3 - diff --git a/package/tmux/tmux.hash b/package/tmux/tmux.hash index eb9f4fdc4f..ab7c4d333a 100644 --- a/package/tmux/tmux.hash +++ b/package/tmux/tmux.hash @@ -1,2 +1,2 @@ # Locally computed: -sha256 c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5 tmux-1.9a.tar.gz +sha256 795f4b4446b0ea968b9201c25e8c1ef8a6ade710ebca4657dd879c35916ad362 tmux-2.0.tar.gz diff --git a/package/tmux/tmux.mk b/package/tmux/tmux.mk index 9c8921ead6..c9abbf77f8 100644 --- a/package/tmux/tmux.mk +++ b/package/tmux/tmux.mk @@ -4,13 +4,10 @@ # ################################################################################ -TMUX_VERSION = 1.9a -TMUX_SITE = http://downloads.sourceforge.net/tmux +TMUX_VERSION = 2.0 +TMUX_SITE = https://github.com/tmux/tmux/releases/download/$(TMUX_VERSION) TMUX_LICENSE = ISC TMUX_LICENSE_FILES = README TMUX_DEPENDENCIES = libevent ncurses host-pkgconf -# we patch Makefile.am -TMUX_AUTORECONF = YES - $(eval $(autotools-package))