aboutsummaryrefslogtreecommitdiffstats
path: root/main/bison
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-05-19 06:25:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-05-19 06:52:04 +0000
commit0b1fd6ec0173245b996e0cc01c3b1f6ed3355021 (patch)
tree14d88ff5eb02ae0b3681e58ea88b66b609aab581 /main/bison
parente4aed32dc64e805160c6e2bc169a60bd83ed5b00 (diff)
main/bison: upgrade to 2.5
Diffstat (limited to 'main/bison')
-rw-r--r--main/bison/APKBUILD11
-rw-r--r--main/bison/gnulib-uclibc.patch13
2 files changed, 4 insertions, 20 deletions
diff --git a/main/bison/APKBUILD b/main/bison/APKBUILD
index bba989a9979..8eb1242407c 100644
--- a/main/bison/APKBUILD
+++ b/main/bison/APKBUILD
@@ -1,20 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bison
-pkgver=2.4.3
-pkgrel=1
+pkgver=2.5
+pkgrel=0
pkgdesc="The GNU general-purpose parser generator"
arch="all"
license="GPL"
url="http://www.gnu.org/software/bison/bison.html"
depends="m4"
-source="ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.gz
- gnulib-uclibc.patch"
+source="ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.gz"
subpackages="$pkgname-doc"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
- patch -p1 -i "$srcdir"/gnulib-uclibc.patch
}
build() {
@@ -31,5 +29,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-md5sums="ea45c778b36bdc7a720096819e292a73 bison-2.4.3.tar.gz
-20a7dedec0e9e0ee7107e33e798ffdbe gnulib-uclibc.patch"
+md5sums="687e1dcd29452789d34eaeea4c25abe4 bison-2.5.tar.gz"
diff --git a/main/bison/gnulib-uclibc.patch b/main/bison/gnulib-uclibc.patch
deleted file mode 100644
index 09775d6b18d..00000000000
--- a/main/bison/gnulib-uclibc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/lib/spawn.in.h b/lib/spawn.in.h
-index 84ba93c..6df4599 100644
---- a/lib/spawn.in.h
-+++ b/lib/spawn.in.h
-@@ -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>
- #endif