Skip to content

Commit b8b639a

Browse files
committed
bison: Update to 3.8.1
1 parent d635d59 commit b8b639a

File tree

2 files changed

+8
-54
lines changed

2 files changed

+8
-54
lines changed

bison/PKGBUILD

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maintainer: Alexey Pavlov <[email protected]>
22

33
pkgname=bison
4-
pkgver=3.7.6
4+
pkgver=3.8.1
55
pkgrel=1
66
pkgdesc="The GNU general-purpose parser generator"
77
arch=('i686' 'x86_64')
@@ -14,12 +14,11 @@ makedepends=('flex')
1414
install=bison.install
1515
source=(https://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.xz{,.sig}
1616
bison-3.1-msys2.patch)
17-
sha256sums=('67d68ce1e22192050525643fc0a7a22297576682bef6a5c51446903f5aeef3cf'
17+
sha256sums=('31fc602488aad6bdecf0ccc556e0fc72fc57cdc595cf92398f020e0cf4980f15'
1818
'SKIP'
19-
'3c4253ba6088bed5581617142a3bb4497ff20e28831c57adba46fc8028fd989c')
19+
'2ba57d420b630e57225b23f684317c7e399510a69a3ab9f3dcd5eafa4ff9c321')
2020
validpgpkeys=('7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E') # Akim Demaille
2121

22-
2322
prepare() {
2423
cd ${srcdir}/${pkgname}-${pkgver}
2524
patch -p1 -i ${srcdir}/bison-3.1-msys2.patch

bison/bison-3.1-msys2.patch

Lines changed: 5 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,16 @@
1-
diff -Naur bison-3.0.5-orig/build-aux/compile bison-3.0.5/build-aux/compile
2-
--- bison-3.0.5-orig/build-aux/compile 2018-05-27 12:34:40.000000000 +0300
3-
+++ bison-3.0.5/build-aux/compile 2018-05-31 08:49:39.118626800 +0300
4-
@@ -53,7 +53,7 @@
5-
MINGW*)
6-
file_conv=mingw
7-
;;
8-
- CYGWIN*)
9-
+ CYGWIN* | MSYS*)
10-
file_conv=cygwin
11-
;;
12-
*)
13-
@@ -67,7 +67,7 @@
14-
mingw/*)
15-
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
16-
;;
17-
- cygwin/*)
18-
+ cygwin/* | msys/*)
19-
file=`cygpath -m "$file" || echo "$file"`
20-
;;
21-
wine/*)
221
diff -Naur bison-3.0.5-orig/build-aux/config.guess bison-3.0.5/build-aux/config.guess
232
--- bison-3.0.5-orig/build-aux/config.guess 2018-05-08 13:02:48.000000000 +0300
243
+++ bison-3.0.5/build-aux/config.guess 2018-05-31 08:52:50.957050300 +0300
25-
@@ -883,6 +883,9 @@
4+
@@ -947,6 +947,9 @@
265
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
27-
echo x86_64-unknown-cygwin
28-
exit ;;
6+
GUESS=x86_64-pc-cygwin
7+
;;
298
+ amd64:MSYS*:*:* | x86_64:MSYS*:*:*)
309
+ echo x86_64-unknown-msys
3110
+ exit ;;
3211
prep*:SunOS:5.*:*)
33-
echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
34-
exit ;;
12+
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
13+
GUESS=powerpcle-unknown-solaris2$SUN_REL
3514
diff -Naur bison-3.0.5-orig/build-aux/config.rpath bison-3.0.5/build-aux/config.rpath
3615
--- bison-3.0.5-orig/build-aux/config.rpath 2018-05-08 13:02:48.000000000 +0300
3716
+++ bison-3.0.5/build-aux/config.rpath 2018-05-31 08:49:39.149826800 +0300
@@ -128,18 +107,6 @@ diff -Naur bison-3.0.5-orig/m4/getdtablesize.m4 bison-3.0.5/m4/getdtablesize.m4
128107
gl_cv_func_getdtablesize_works="guessing no" ;;
129108
*) gl_cv_func_getdtablesize_works="guessing yes" ;;
130109
esac
131-
diff -Naur bison-3.0.5-orig/m4/malloc.m4 bison-3.0.5/m4/malloc.m4
132-
--- bison-3.0.5-orig/m4/malloc.m4 2018-05-08 13:02:49.000000000 +0300
133-
+++ bison-3.0.5/m4/malloc.m4 2018-05-31 08:53:58.982170000 +0300
134-
@@ -33,7 +33,7 @@
135-
[case "$host_os" in
136-
# Guess yes on platforms where we know the result.
137-
*-gnu* | gnu* | *-musl* | freebsd* | netbsd* | openbsd* \
138-
- | hpux* | solaris* | cygwin* | mingw*)
139-
+ | hpux* | solaris* | cygwin* | msys* | mingw*)
140-
ac_cv_func_malloc_0_nonnull="guessing yes" ;;
141-
# If we don't know, assume the worst.
142-
*) ac_cv_func_malloc_0_nonnull="guessing no" ;;
143110
diff -Naur bison-3.0.5-orig/m4/printf.m4 bison-3.0.5/m4/printf.m4
144111
--- bison-3.0.5-orig/m4/printf.m4 2018-05-08 13:02:49.000000000 +0300
145112
+++ bison-3.0.5/m4/printf.m4 2018-05-31 08:54:22.304211000 +0300
@@ -159,18 +126,6 @@ diff -Naur bison-3.0.5-orig/m4/printf.m4 bison-3.0.5/m4/printf.m4
159126
# Guess yes on Solaris >= 2.6.
160127
solaris2.[0-5] | solaris2.[0-5].*)
161128
gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
162-
diff -Naur bison-3.0.5-orig/m4/realloc.m4 bison-3.0.5/m4/realloc.m4
163-
--- bison-3.0.5-orig/m4/realloc.m4 2018-05-08 13:02:49.000000000 +0300
164-
+++ bison-3.0.5/m4/realloc.m4 2018-05-31 08:54:48.293856600 +0300
165-
@@ -33,7 +33,7 @@
166-
[case "$host_os" in
167-
# Guess yes on platforms where we know the result.
168-
*-gnu* | gnu* | *-musl* | freebsd* | netbsd* | openbsd* \
169-
- | hpux* | solaris* | cygwin* | mingw*)
170-
+ | hpux* | solaris* | cygwin* | msys* | mingw*)
171-
ac_cv_func_realloc_0_nonnull="guessing yes" ;;
172-
# If we don't know, assume the worst.
173-
*) ac_cv_func_realloc_0_nonnull="guessing no" ;;
174129
diff -Naur bison-3.0.5-orig/m4/threadlib.m4 bison-3.0.5/m4/threadlib.m4
175130
--- bison-3.0.5-orig/m4/threadlib.m4 2018-05-08 13:02:50.000000000 +0300
176131
+++ bison-3.0.5/m4/threadlib.m4 2018-05-31 08:49:39.446227300 +0300

0 commit comments

Comments
 (0)