summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Beddek <telans@posteo.de>2021-11-13 23:33:26 +1300
committerSam James <sam@gentoo.org>2021-11-13 10:52:39 +0000
commit63a644e25059fee0a3054e673e11e4e3ba037a45 (patch)
tree441be39b3868432b645a8dc1c5a08aaf0f748b65 /dev-util/btyacc
parentmedia-libs/svt-av1: remove apply patch (diff)
downloadgentoo-63a644e25059fee0a3054e673e11e4e3ba037a45.tar.gz
gentoo-63a644e25059fee0a3054e673e11e4e3ba037a45.tar.bz2
gentoo-63a644e25059fee0a3054e673e11e4e3ba037a45.zip
dev-util/btyacc: update patch, remove static linking
Signed-off-by: James Beddek <telans@posteo.de> Closes: https://github.com/gentoo/gentoo/pull/22928 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/btyacc')
-rw-r--r--dev-util/btyacc/btyacc-3.0-r4.ebuild (renamed from dev-util/btyacc/btyacc-3.0-r3.ebuild)4
-rw-r--r--dev-util/btyacc/files/btyacc-3.0-makefile.patch2
2 files changed, 1 insertions, 5 deletions
diff --git a/dev-util/btyacc/btyacc-3.0-r3.ebuild b/dev-util/btyacc/btyacc-3.0-r4.ebuild
index 8949c4f6fe14..750243f22758 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 60187256d1a0..d55ff4317652 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 =