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 =
