From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1339107-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 30F1D158086
	for <garchives@archives.gentoo.org>; Sat, 13 Nov 2021 10:52:49 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3FA1DE099E;
	Sat, 13 Nov 2021 10:52:48 +0000 (UTC)
Received: from smtp.gentoo.org (mail.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 262ACE099E
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Nov 2021 10:52:48 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 296DC3432E8
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Nov 2021 10:52:47 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B2EBB10C
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Nov 2021 10:52:45 +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: <1636800759.63a644e25059fee0a3054e673e11e4e3ba037a45.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/btyacc/files/, dev-util/btyacc/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/btyacc/btyacc-3.0-r3.ebuild dev-util/btyacc/btyacc-3.0-r4.ebuild dev-util/btyacc/files/btyacc-3.0-makefile.patch
X-VCS-Directories: dev-util/btyacc/files/ dev-util/btyacc/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 63a644e25059fee0a3054e673e11e4e3ba037a45
X-VCS-Branch: master
Date: Sat, 13 Nov 2021 10:52:45 +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: c275df86-941b-4ac2-9e3f-04dad51374aa
X-Archives-Hash: eb02aec50b6bb72fbf7db0ed5aa53c86

commit:     63a644e25059fee0a3054e673e11e4e3ba037a45
Author:     James Beddek <telans <AT> posteo <DOT> de>
AuthorDate: Sat Nov 13 10:33:26 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 13 10:52:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63a644e2

dev-util/btyacc: update patch, remove static linking

Signed-off-by: James Beddek <telans <AT> posteo.de>
Closes: https://github.com/gentoo/gentoo/pull/22928
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/btyacc/{btyacc-3.0-r3.ebuild => btyacc-3.0-r4.ebuild} | 4 ----
 dev-util/btyacc/files/btyacc-3.0-makefile.patch                | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/dev-util/btyacc/btyacc-3.0-r3.ebuild b/dev-util/btyacc/btyacc-3.0-r4.ebuild
similarity index 86%
rename from dev-util/btyacc/btyacc-3.0-r3.ebuild
rename to dev-util/btyacc/btyacc-3.0-r4.ebuild
index 8949c4f6fe1..750243f2275 100644
--- a/dev-util/btyacc/btyacc-3.0-r3.ebuild
+++ b/dev-util/btyacc/btyacc-3.0-r4.ebuild
@@ -26,10 +26,6 @@ src_prepare() {
 	default
 	# fix memory issue/glibc corruption
 	sed -i -e "s|len + 13|len + 14|" main.c || die "Could not fix main.c"
-	# Darwin doesn't do static binaries
-	if [[ ${CHOST} == *-darwin* ]]; then
-		sed -i -e 's/-static//' Makefile || die
-	fi
 }
 
 src_compile() {

diff --git a/dev-util/btyacc/files/btyacc-3.0-makefile.patch b/dev-util/btyacc/files/btyacc-3.0-makefile.patch
index 60187256d1a..d55ff431765 100644
--- a/dev-util/btyacc/files/btyacc-3.0-makefile.patch
+++ b/dev-util/btyacc/files/btyacc-3.0-makefile.patch
@@ -10,7 +10,7 @@ Respect CC, append to CFLAGS (but not -g), append to LDFLAGS, use system LD -jer
 +CFLAGS	      += -Wall -Wstrict-prototypes -Wmissing-prototypes
  
 -LDFLAGS	      = -static
-+LDFLAGS	      += -static
++LDFLAGS	      +=
  
  LIBS	      =