From: <abe...@us...> - 2016-08-14 13:46:18
|
Revision: 7797 http://sourceforge.net/p/astlinux/code/7797 Author: abelbeck Date: 2016-08-14 13:46:16 +0000 (Sun, 14 Aug 2016) Log Message: ----------- mtr, version bump to 0.87 Modified Paths: -------------- branches/1.0/package/mtr/mtr.mk Removed Paths: ------------- branches/1.0/package/mtr/mtr-remove-ipv6-error-warning.patch branches/1.0/package/mtr/mtr-use-default-colors.patch Deleted: branches/1.0/package/mtr/mtr-remove-ipv6-error-warning.patch =================================================================== --- branches/1.0/package/mtr/mtr-remove-ipv6-error-warning.patch 2016-08-12 16:27:47 UTC (rev 7796) +++ branches/1.0/package/mtr/mtr-remove-ipv6-error-warning.patch 2016-08-14 13:46:16 UTC (rev 7797) @@ -1,17 +0,0 @@ ---- mtr-0.85.1/dns.c.orig 2014-02-03 19:06:21.000000000 -0600 -+++ mtr-0.85.1/dns.c 2014-02-03 19:09:48.000000000 -0600 -@@ -527,14 +527,6 @@ - } - #ifdef ENABLE_IPV6 - resfd6 = socket(AF_INET6, SOCK_DGRAM, 0); -- if (resfd6 == -1) { -- // consider making removing this warning. For now leave it in to see -- // new code activated. -- REW -- fprintf(stderr, -- "Unable to allocate IPv6 socket for nameserver communication: %s\n", -- strerror(errno)); -- // exit(-1); -- } - #endif - option = 1; - if (setsockopt(resfd,SOL_SOCKET,SO_BROADCAST,(char *)&option,sizeof(option))) { Deleted: branches/1.0/package/mtr/mtr-use-default-colors.patch =================================================================== --- branches/1.0/package/mtr/mtr-use-default-colors.patch 2016-08-12 16:27:47 UTC (rev 7796) +++ branches/1.0/package/mtr/mtr-use-default-colors.patch 2016-08-14 13:46:16 UTC (rev 7797) @@ -1,57 +0,0 @@ ---- mtr-0.86/configure.ac.orig 2014-12-28 15:26:09.000000000 -0600 -+++ mtr-0.86/configure.ac 2014-12-28 15:35:37.000000000 -0600 -@@ -34,6 +34,9 @@ - AC_DEFINE(NO_CURSES, 1, Define if you don't have the curses libraries available.) - CURSES_OBJ=)))) - -+AC_CHECK_LIB(ncurses, use_default_colors, -+ AC_DEFINE(HAVE_USE_DEFAULT_COLORS, 1, [Define this if your curses library has the use_default_colors() command.])) -+ - AC_CHECK_FUNCS(attron fcntl) - - AC_CHECK_LIB(m, floor, , AC_MSG_ERROR(No math library found)) ---- mtr-0.86/curses.c.orig 2014-12-28 14:57:03.000000000 -0600 -+++ mtr-0.86/curses.c 2014-12-28 14:58:19.000000000 -0600 -@@ -701,6 +701,9 @@ - raw(); - noecho(); - start_color(); -+#ifdef HAVE_USE_DEFAULT_COLORS -+ use_default_colors(); -+#endif - int i; - for (i = 0; i < 8; i++) - init_pair(i+1, i, 0); - -From 7571201cf7a3394e0dcd2b037aba1836089cc084 Mon Sep 17 00:00:00 2001 -From: Narthorn <nar...@gm...> -Date: Mon, 12 Oct 2015 13:24:57 +0200 -Subject: [PATCH] curses: Fix background transparency in terminal - -Patch comes from, and closes traviscross/mtr#72. ---- - curses.c | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/curses.c b/curses.c -index 02b7937..f95f5d1 100644 ---- a/curses.c -+++ b/curses.c -@@ -700,13 +700,15 @@ void mtr_curses_open(void) - initscr(); - raw(); - noecho(); -+ int bg_col = 0; - start_color(); - #ifdef HAVE_USE_DEFAULT_COLORS -- use_default_colors(); -+ if (use_default_colors() == OK) -+ bg_col = -1; - #endif - int i; - for (i = 0; i < 8; i++) -- init_pair(i+1, i, 0); -+ init_pair(i+1, i, bg_col); - - mtr_curses_init(); - mtr_curses_redraw(); Modified: branches/1.0/package/mtr/mtr.mk =================================================================== --- branches/1.0/package/mtr/mtr.mk 2016-08-12 16:27:47 UTC (rev 7796) +++ branches/1.0/package/mtr/mtr.mk 2016-08-14 13:46:16 UTC (rev 7797) @@ -3,10 +3,9 @@ # mtr # ############################################################# -MTR_VERSION = 0.86 +MTR_VERSION = 0.87 MTR_SITE = ftp://ftp.bitwizard.nl/mtr MTR_SOURCE = mtr-$(MTR_VERSION).tar.gz -MTR_AUTORECONF = YES MTR_DEPENDENCIES = host-pkg-config ncurses This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |