Commit 9cd3b9ef authored by Natanael Copa's avatar Natanael Copa

main/bison: upgrade to 2.4.2

parent 4fe58eca
# Maintainer: Natanael Copa <> # Maintainer: Natanael Copa <>
pkgname=bison pkgname=bison
pkgver=2.4.1 pkgver=2.4.2
pkgrel=5 pkgrel=0
pkgdesc="The GNU general-purpose parser generator" pkgdesc="The GNU general-purpose parser generator"
license="GPL" license="GPL"
url="" url=""
depends="uclibc m4" depends="m4"
source="${pkgname}-${pkgver}.tar.gz" source="${pkgname}-${pkgver}.tar.gz
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
prepare() {
cd "$_builddir"
patch -p1 -i "$srcdir"/gnulib-uclibc.patch
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$_builddir"
./configure --prefix=/usr \ ./configure --prefix=/usr \
--datadir=/usr/share \ --datadir=/usr/share \
--infodir=/usr/share/info \ --infodir=/usr/share/info \
--mandir=/usr/share/man --mandir=/usr/share/man
make || return 1 make || return 1
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }
md5sums="c58aa1da418dc9704070872489e89bf5 bison-2.4.1.tar.gz" md5sums="6fc502f135738e98fecf1e5c8de38d62 bison-2.4.2.tar.gz
20a7dedec0e9e0ee7107e33e798ffdbe gnulib-uclibc.patch"
diff --git a/lib/ b/lib/
index 84ba93c..6df4599 100644
--- a/lib/
+++ b/lib/
@@ -31,7 +31,7 @@
/* Get definitions of 'struct sched_param' and 'sigset_t'.
But avoid namespace pollution on glibc systems. */
-#ifndef __GLIBC__
+#if !defined(__GLIBC__) || defined(__UCLIBC__)
# include <sched.h>
# include <signal.h>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment