From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 851511396D0 for ; Thu, 28 Sep 2017 07:01:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6E5A2BC005; Thu, 28 Sep 2017 07:01:23 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 774512BC005 for ; Thu, 28 Sep 2017 07:01:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 022ED3416EF for ; Thu, 28 Sep 2017 07:01:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BCF59078 for ; Thu, 28 Sep 2017 07:01:20 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1506582061.391c0b8fcce0821e97eb16655c4833bf2c74921d.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gnatmem/, dev-ada/gnatmem/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ada/gnatmem/Manifest dev-ada/gnatmem/files/gnatmem-2016-gentoo.patch dev-ada/gnatmem/files/gnatmem-2017-gentoo.patch dev-ada/gnatmem/gnatmem-2016.ebuild dev-ada/gnatmem/gnatmem-2017.ebuild dev-ada/gnatmem/metadata.xml X-VCS-Directories: dev-ada/gnatmem/ dev-ada/gnatmem/files/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 391c0b8fcce0821e97eb16655c4833bf2c74921d X-VCS-Branch: master Date: Thu, 28 Sep 2017 07:01:20 +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: 0106da60-f5cd-48fb-9c97-f286f475a84f X-Archives-Hash: 56834b40f1793544b021f62a3c93accc commit: 391c0b8fcce0821e97eb16655c4833bf2c74921d Author: Tupone Alfredo gentoo org> AuthorDate: Thu Sep 28 07:01:01 2017 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Thu Sep 28 07:01:01 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=391c0b8f dev-ada/gnatmem: Adding dev-ada/gnatmem-2017 Package-Manager: Portage-2.3.6, Repoman-2.3.1 dev-ada/gnatmem/Manifest | 1 + dev-ada/gnatmem/files/gnatmem-2016-gentoo.patch | 12 ++++++++---- ...m-2016-gentoo.patch => gnatmem-2017-gentoo.patch} | 12 ++++++++---- dev-ada/gnatmem/gnatmem-2016.ebuild | 15 ++------------- .../{gnatmem-2016.ebuild => gnatmem-2017.ebuild} | 17 +++-------------- dev-ada/gnatmem/metadata.xml | 20 ++++++++++++++++---- 6 files changed, 38 insertions(+), 39 deletions(-) diff --git a/dev-ada/gnatmem/Manifest b/dev-ada/gnatmem/Manifest index e30fd588fc2..2669213c415 100644 --- a/dev-ada/gnatmem/Manifest +++ b/dev-ada/gnatmem/Manifest @@ -1 +1,2 @@ DIST gnatmem-gpl-2016-src.tar.gz 80104 SHA256 bd39c7b18e4f52fdd029b999f7e1af52d01c975063c28ae1ef6875e4fc5e224f SHA512 bc711af9eda55e89a22fee9dbe506a60fbdd718a9f47141a8d13ad4b97c4520c3988e3a55b6c85bb53098e542f655de9572aeefc99d88c41a2645d9f01b2828b WHIRLPOOL 8aee794c18efcbdbb50a4d58b9f247de30dea8d5b0a41034b1e20ad7786eefab5dfd14bf99994340a993d67989eab939ba78097d46933d841686d1bbc68fce0b +DIST gnatmem-gpl-2017-src.tar.gz 80106 SHA256 11a27a66030b1a074875ccdaa0ffb06e86d687e1904ab0f5922e08bb488e5e7c SHA512 52ba2cfb24314f481ec07e351ff6d8883753dcfe5d0489a78536bf0b841d931055be02271a5d93b2ec15c52fd775d4b177a17de52f9472cc8f352bf044b28897 WHIRLPOOL 6599c8b77e89d7bc1f6b1eea459009aa2626173a7ebe47b65ead3ba76a109699ff8d0f27cfe1cea9fb0a8cb90cf9a897f70cf8af4647f21feec87b422e544c1b diff --git a/dev-ada/gnatmem/files/gnatmem-2016-gentoo.patch b/dev-ada/gnatmem/files/gnatmem-2016-gentoo.patch index 357f723c743..69530dd24b2 100644 --- a/dev-ada/gnatmem/files/gnatmem-2016-gentoo.patch +++ b/dev-ada/gnatmem/files/gnatmem-2016-gentoo.patch @@ -1,9 +1,13 @@ --- 1/configure.in.old 2016-12-08 20:57:53.942004080 +0100 +++ 1/configure.in 2016-12-08 21:00:10.393677257 +0100 -@@ -6,19 +6,14 @@ - if test ${GNATBIND} = "no"; then - AC_MSG_ERROR(Ada compiler needed,1) - fi +@@ -2,23 +2,14 @@ + AC_INIT(gnatmem.gpr.in) + AC_CANONICAL_SYSTEM + AC_PROG_CC(gcc) +-AC_CHECK_TOOL(GNATBIND,gnatbind,"no") +-if test ${GNATBIND} = "no"; then +- AC_MSG_ERROR(Ada compiler needed,1) +-fi +AC_CONFIG_HEADERS(config.h:config.in) +AC_DEFINE_UNQUOTED(TARGET, "${target}", [Configured target name.]) AC_ARG_WITH(binutils-buildtree, diff --git a/dev-ada/gnatmem/files/gnatmem-2016-gentoo.patch b/dev-ada/gnatmem/files/gnatmem-2017-gentoo.patch similarity index 93% copy from dev-ada/gnatmem/files/gnatmem-2016-gentoo.patch copy to dev-ada/gnatmem/files/gnatmem-2017-gentoo.patch index 357f723c743..69530dd24b2 100644 --- a/dev-ada/gnatmem/files/gnatmem-2016-gentoo.patch +++ b/dev-ada/gnatmem/files/gnatmem-2017-gentoo.patch @@ -1,9 +1,13 @@ --- 1/configure.in.old 2016-12-08 20:57:53.942004080 +0100 +++ 1/configure.in 2016-12-08 21:00:10.393677257 +0100 -@@ -6,19 +6,14 @@ - if test ${GNATBIND} = "no"; then - AC_MSG_ERROR(Ada compiler needed,1) - fi +@@ -2,23 +2,14 @@ + AC_INIT(gnatmem.gpr.in) + AC_CANONICAL_SYSTEM + AC_PROG_CC(gcc) +-AC_CHECK_TOOL(GNATBIND,gnatbind,"no") +-if test ${GNATBIND} = "no"; then +- AC_MSG_ERROR(Ada compiler needed,1) +-fi +AC_CONFIG_HEADERS(config.h:config.in) +AC_DEFINE_UNQUOTED(TARGET, "${target}", [Configured target name.]) AC_ARG_WITH(binutils-buildtree, diff --git a/dev-ada/gnatmem/gnatmem-2016.ebuild b/dev-ada/gnatmem/gnatmem-2016.ebuild index 6e1f3b1de96..5875024baef 100644 --- a/dev-ada/gnatmem/gnatmem-2016.ebuild +++ b/dev-ada/gnatmem/gnatmem-2016.ebuild @@ -14,26 +14,15 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/573995c8c7a447658e0affa2 -> ${MYP}.t LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="" +IUSE="gnat_2016 gnat_2017" RDEPEND="" -DEPEND="dev-ada/gprbuild" +DEPEND="dev-ada/gprbuild[gnat_2016=,gnat_2017=]" S="${WORKDIR}"/${MYP} PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) -pkg_setup() { - GCC=${ADA:-$(tc-getCC)} - export GNATBIND="${GCC/gcc/gnatbind}" - if [[ -z "$(type ${GNATBIND} 2>/dev/null)" ]] ; then - eerror "You need a gcc compiler that provides the Ada Compiler:" - eerror "1) use gcc-config to select the right compiler or" - eerror "2) set ADA=gcc-4.9.4 in make.conf" - die "ada compiler not available" - fi -} - src_prepare() { default mv configure.in configure.ac diff --git a/dev-ada/gnatmem/gnatmem-2016.ebuild b/dev-ada/gnatmem/gnatmem-2017.ebuild similarity index 57% copy from dev-ada/gnatmem/gnatmem-2016.ebuild copy to dev-ada/gnatmem/gnatmem-2017.ebuild index 6e1f3b1de96..ee97065ed89 100644 --- a/dev-ada/gnatmem/gnatmem-2016.ebuild +++ b/dev-ada/gnatmem/gnatmem-2017.ebuild @@ -9,31 +9,20 @@ MYP=${PN}-gpl-${PV}-src DESCRIPTION="Monitors dynamic allocation and deallocation activity in a program" HOMEPAGE="http://libre.adacore.com/" -SRC_URI="http://mirrors.cdn.adacore.com/art/573995c8c7a447658e0affa2 -> ${MYP}.tar.gz" +SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed033 -> ${MYP}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="" +IUSE="gnat_2016 gnat_2017" RDEPEND="" -DEPEND="dev-ada/gprbuild" +DEPEND="dev-ada/gprbuild[gnat_2016=,gnat_2017=]" S="${WORKDIR}"/${MYP} PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) -pkg_setup() { - GCC=${ADA:-$(tc-getCC)} - export GNATBIND="${GCC/gcc/gnatbind}" - if [[ -z "$(type ${GNATBIND} 2>/dev/null)" ]] ; then - eerror "You need a gcc compiler that provides the Ada Compiler:" - eerror "1) use gcc-config to select the right compiler or" - eerror "2) set ADA=gcc-4.9.4 in make.conf" - die "ada compiler not available" - fi -} - src_prepare() { default mv configure.in configure.ac diff --git a/dev-ada/gnatmem/metadata.xml b/dev-ada/gnatmem/metadata.xml index 4dacd9de192..0119f73e16b 100644 --- a/dev-ada/gnatmem/metadata.xml +++ b/dev-ada/gnatmem/metadata.xml @@ -5,11 +5,23 @@ tupone@gentoo.org Tupone Alfredo + + Compile with dev-lang/gnat-gpl-2016 + Compile with dev-lang/gnat-gpl-2017 + - The gnatmem utility monitors dynamic allocation and deallocation activity in a program, and displays information about incorrect deallocations and possible sources of memory leaks. It provides three type of information: + The gnatmem utility monitors dynamic allocation and deallocation + activity in a program, and displays information about incorrect + deallocations and possible sources of memory leaks. It provides three + type of information: - General information concerning memory management, such as the total number of allocations and deallocations, the amount of allocated memory and the high water mark, i.e. the largest amount of allocated memory in the course of program execution. - Backtraces for all incorrect deallocations, that is to say deallocations which do not correspond to a valid allocation. - Information on each allocation that is potentially the origin of a memory leak. + General information concerning memory management, such as the total + number of allocations and deallocations, the amount of allocated memory + and the high water mark, i.e. the largest amount of allocated memory in + the course of program execution. + Backtraces for all incorrect deallocations, that is to say + deallocations which do not correspond to a valid allocation. + Information on each allocation that is potentially the origin of a + memory leak.