Merge pull request !1 from syyhao/init
This commit is contained in:
openeuler-ci-bot 2020-01-09 09:27:45 +08:00 committed by Gitee
commit 5b9b83ba81
4 changed files with 10 additions and 24 deletions

View File

@ -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

Binary file not shown.

View File

@ -1,11 +1,10 @@
Name: bison
Version: 3.0.5
Release: 4
Version: 3.5
Release: 1
Summary: A GNU general-purpose parser generator
License: GPLv3+
URL: http://www.gnu.org/software/bison/
Source0: https://ftp.gnu.org/gnu/bison/bison-3.0.5.tar.xz
Patch0: bison-3.0.5-gnulib-fseterr.patch
Source0: https://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz
BuildRequires: gcc-c++ autoconf automake m4 flex
Requires(post): info
@ -67,7 +66,6 @@ fi
%{_docdir}/%{name}/{AUTHORS,README}
%{_datadir}/aclocal/bison*
%{_datadir}/bison
%{_datadir}/bison/yacc*
%{_bindir}/bison
%exclude %{_bindir}/yacc
%exclude %{_docdir}/%{name}/COPYING
@ -87,8 +85,15 @@ fi
%defattr(-,root,root)
%{_datadir}/locale/*/LC_MESSAGES/bison.mo
%{_datadir}/locale/*/LC_MESSAGES/bison-runtime.mo
%{_datadir}/locale/*/LC_MESSAGES/bison-gnulib.mo
%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
- Type:enhancement
- ID:NA