commit
5b9b83ba81
@ -1,19 +0,0 @@
|
|||||||
commit 4af4a4a71827c0bc5e0ec67af23edef4f15cee8e
|
|
||||||
Author: Paul Eggert <address@hidden>
|
|
||||||
Date: Mon Mar 5 10:56:29 2018 -0800
|
|
||||||
|
|
||||||
fflush: adjust to glibc 2.28 libio.h removal
|
|
||||||
(Only part of this commit was backported as needed.)
|
|
||||||
|
|
||||||
diff -Nrup a/lib/fseterr.c b/lib/fseterr.c
|
|
||||||
--- a/lib/fseterr.c 2018-05-08 06:02:48.000000000 -0400
|
|
||||||
+++ b/lib/fseterr.c 2018-08-14 16:06:19.636282264 -0400
|
|
||||||
@@ -29,7 +29,7 @@ fseterr (FILE *fp)
|
|
||||||
/* Most systems provide FILE as a struct and the necessary bitmask in
|
|
||||||
<stdio.h>, because they need it for implementing getc() and putc() as
|
|
||||||
fast macros. */
|
|
||||||
-#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
|
|
||||||
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1
|
|
||||||
/* GNU libc, BeOS, Haiku, Linux libc5 */
|
|
||||||
fp->_flags |= _IO_ERR_SEEN;
|
|
||||||
#elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
|
|
||||||
Binary file not shown.
BIN
bison-3.5.tar.xz
Normal file
BIN
bison-3.5.tar.xz
Normal file
Binary file not shown.
15
bison.spec
15
bison.spec
@ -1,11 +1,10 @@
|
|||||||
Name: bison
|
Name: bison
|
||||||
Version: 3.0.5
|
Version: 3.5
|
||||||
Release: 4
|
Release: 1
|
||||||
Summary: A GNU general-purpose parser generator
|
Summary: A GNU general-purpose parser generator
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.gnu.org/software/bison/
|
URL: http://www.gnu.org/software/bison/
|
||||||
Source0: https://ftp.gnu.org/gnu/bison/bison-3.0.5.tar.xz
|
Source0: https://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz
|
||||||
Patch0: bison-3.0.5-gnulib-fseterr.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc-c++ autoconf automake m4 flex
|
BuildRequires: gcc-c++ autoconf automake m4 flex
|
||||||
Requires(post): info
|
Requires(post): info
|
||||||
@ -67,7 +66,6 @@ fi
|
|||||||
%{_docdir}/%{name}/{AUTHORS,README}
|
%{_docdir}/%{name}/{AUTHORS,README}
|
||||||
%{_datadir}/aclocal/bison*
|
%{_datadir}/aclocal/bison*
|
||||||
%{_datadir}/bison
|
%{_datadir}/bison
|
||||||
%{_datadir}/bison/yacc*
|
|
||||||
%{_bindir}/bison
|
%{_bindir}/bison
|
||||||
%exclude %{_bindir}/yacc
|
%exclude %{_bindir}/yacc
|
||||||
%exclude %{_docdir}/%{name}/COPYING
|
%exclude %{_docdir}/%{name}/COPYING
|
||||||
@ -87,8 +85,15 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/locale/*/LC_MESSAGES/bison.mo
|
%{_datadir}/locale/*/LC_MESSAGES/bison.mo
|
||||||
%{_datadir}/locale/*/LC_MESSAGES/bison-runtime.mo
|
%{_datadir}/locale/*/LC_MESSAGES/bison-runtime.mo
|
||||||
|
%{_datadir}/locale/*/LC_MESSAGES/bison-gnulib.mo
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 7 2020 openEuler Buildteam <buildteam@openeuler.org> 3.5-1
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:update version to 3.5
|
||||||
|
|
||||||
* Wed Oct 16 2019 shenyangyang <shenyangyang4@huawei.com> - 3.0.5-4
|
* Wed Oct 16 2019 shenyangyang <shenyangyang4@huawei.com> - 3.0.5-4
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user