fix: lfs/bison

This commit is contained in:
wyj
2026-02-06 16:10:29 -05:00
parent 48904c349b
commit 98ad182c19
2 changed files with 73 additions and 2 deletions
+4 -2
View File
@@ -6,13 +6,13 @@ homepage="https://www.gnu.org/software/bison/bison.html"
sources=("${pkgname}-${pkgver}.tar.xz"
"bison-3.8.2-gcc15-glibcxx-assertions.patch")
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}"
"https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/bison/files/${sources[1]}")
"${sources[1]}")
md5sums=("c28f119f405a2304ff0a7ccdcc629713"
"c82e47067aa2fb6f15ab930245b7bbb2")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
patch -Np1 -i ${distdir}/${sources[1]}
patch -Np1 -i ${filedir}/${sources[1]}
}
src_build() {
@@ -27,3 +27,5 @@ src_check() {
src_install() {
make DESTDIR="$pkgdir" install
}
# vim:ft=sh syn=sh et sw=2: