From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 934271388C0 for ; Tue, 23 Feb 2016 18:50:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28E9B21C004; Tue, 23 Feb 2016 18:50:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BF91821C004 for ; Tue, 23 Feb 2016 18:50:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D2F2E340BB4 for ; Tue, 23 Feb 2016 18:50:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBDE215FB for ; Tue, 23 Feb 2016 18:50:30 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1456253421.dcd30cf750b6cc2207a98baff90e15ce8f305c79.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/bwm-ng/, net-analyzer/bwm-ng/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/bwm-ng/bwm-ng-0.6.1-r1.ebuild net-analyzer/bwm-ng/bwm-ng-0.6.1.ebuild net-analyzer/bwm-ng/files/bwm-ng-0.6.1-fix-buildsystem.patch X-VCS-Directories: net-analyzer/bwm-ng/ net-analyzer/bwm-ng/files/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: dcd30cf750b6cc2207a98baff90e15ce8f305c79 X-VCS-Branch: master Date: Tue, 23 Feb 2016 18:50:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 24277143-8bc7-4b97-a278-a7322a7ca812 X-Archives-Hash: 693f703fafd030d8dc22213aecea1a22 commit: dcd30cf750b6cc2207a98baff90e15ce8f305c79 Author: David Seifert gentoo org> AuthorDate: Tue Feb 23 18:50:07 2016 +0000 Commit: David Seifert gentoo org> CommitDate: Tue Feb 23 18:50:21 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcd30cf7 net-analyzer/bwm-ng: Amend patch to include missing AC_DEFINE Gentoo-Bug: 561718 Package-Manager: portage-2.2.27 .../bwm-ng/{bwm-ng-0.6.1.ebuild => bwm-ng-0.6.1-r1.ebuild} | 0 .../bwm-ng/files/bwm-ng-0.6.1-fix-buildsystem.patch | 13 ++++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/net-analyzer/bwm-ng/bwm-ng-0.6.1.ebuild b/net-analyzer/bwm-ng/bwm-ng-0.6.1-r1.ebuild similarity index 100% rename from net-analyzer/bwm-ng/bwm-ng-0.6.1.ebuild rename to net-analyzer/bwm-ng/bwm-ng-0.6.1-r1.ebuild diff --git a/net-analyzer/bwm-ng/files/bwm-ng-0.6.1-fix-buildsystem.patch b/net-analyzer/bwm-ng/files/bwm-ng-0.6.1-fix-buildsystem.patch index 85f2819..5e1b227 100644 --- a/net-analyzer/bwm-ng/files/bwm-ng-0.6.1-fix-buildsystem.patch +++ b/net-analyzer/bwm-ng/files/bwm-ng-0.6.1-fix-buildsystem.patch @@ -48,7 +48,7 @@ https://bugs.gentoo.org/show_bug.cgi?id=561718 - CURSES_CHECKED="1" -fi +AS_IF([test "x$enable_ncurses" != "xno"], [ -+ PKG_CHECK_MODULES([NCURSES], [ncurses]) ++ PKG_CHECK_MODULES([NCURSES], [ncurses], [AC_DEFINE([HAVE_LIBNCURSES], [1], [Define to 1 if you have the `ncurses' library (-lncurses).])]) ]) -fi - @@ -80,3 +80,14 @@ https://bugs.gentoo.org/show_bug.cgi?id=561718 noinst_HEADERS = bwm-ng.h process.h output.h options.h help.h curses_tools.h types.h defines.h global_vars.h input/devstat.h input/libkstat.h input/netstat.h input/proc_net_dev.h input/sysctl.h input/ioservice.h input/libstatgrab.h input/proc_diskstats.h input/retrieve.h input/win32.h input/getifaddrs.h +--- bwm-ng-0.6.1/src/defines.h ++++ bwm-ng-0.6.1/src/defines.h +@@ -48,7 +48,7 @@ + #define LIBSTATGRAB + #endif + +-#if HAVE_LIBCURSES || HAVE_LIBNCURSES ++#if defined(HAVE_LIBCURSES) || defined(HAVE_LIBNCURSES) + #define HAVE_CURSES + #endif +