From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1450532-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 4F389158020
	for <garchives@archives.gentoo.org>; Fri, 28 Oct 2022 02:02:53 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5B4BFE0837;
	Fri, 28 Oct 2022 02:02:52 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2C4AEE0837
	for <gentoo-commits@lists.gentoo.org>; Fri, 28 Oct 2022 02:02:52 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 6E71E340FBC
	for <gentoo-commits@lists.gentoo.org>; Fri, 28 Oct 2022 02:02:49 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 90A43629
	for <gentoo-commits@lists.gentoo.org>; Fri, 28 Oct 2022 02:02:47 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1666922299.812e4a387f47eac3a832690655cbceffa51aab18.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/procps/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-process/procps/procps-3.3.17-r1.ebuild
X-VCS-Directories: sys-process/procps/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 812e4a387f47eac3a832690655cbceffa51aab18
X-VCS-Branch: master
Date: Fri, 28 Oct 2022 02:02:47 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: f1cd0b6d-6fe3-4afa-84ec-821c8ab59e8e
X-Archives-Hash: 18ee99ac972d56994408d856d74d8c5f

commit:     812e4a387f47eac3a832690655cbceffa51aab18
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 01:58:07 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 01:58:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=812e4a38

sys-process/procps: drop obsolete cross malloc workaround

We set the right bits in crossdev for musl targets now and, in theory, while
unlikely, it is possible that some cross targets don't have the right behaviour
anyway (not that i'm aware of any in use).

Bug: https://bugs.gentoo.org/705800
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/procps/procps-3.3.17-r1.ebuild | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/sys-process/procps/procps-3.3.17-r1.ebuild b/sys-process/procps/procps-3.3.17-r1.ebuild
index 79ab60beefd1..8761ccfd17e1 100644
--- a/sys-process/procps/procps-3.3.17-r1.ebuild
+++ b/sys-process/procps/procps-3.3.17-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 # See https://bugs.gentoo.org/835813 before bumping to 4.x!
 
-inherit flag-o-matic multilib-minimal toolchain-funcs usr-ldscript
+inherit flag-o-matic multilib-minimal usr-ldscript
 
 DESCRIPTION="Standard informational utilities and process-handling tools"
 HOMEPAGE="http://procps-ng.sourceforge.net/ https://gitlab.com/procps-ng/procps"
@@ -53,18 +53,9 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-	if tc-is-cross-compiler ; then
-		# This isn't ideal but upstream don't provide a placement
-		# when malloc is missing anyway, leading to errors like:
-		# pslog.c:(.text.startup+0x108): undefined reference to `rpl_malloc'
-		# See https://sourceforge.net/p/psmisc/bugs/71/
-		# (and https://lists.gnu.org/archive/html/autoconf/2011-04/msg00019.html)
-		export ac_cv_func_malloc_0_nonnull=yes \
-			ac_cv_func_realloc_0_nonnull=yes
-	fi
-
 	# http://www.freelists.org/post/procps/PATCH-enable-transparent-large-file-support
 	append-lfs-flags #471102
+
 	local myeconfargs=(
 		$(multilib_native_use_with elogind) # No elogind multilib support
 		$(multilib_native_use_enable kill)