[packages/bash] - up to 5.1.0

arekm arekm at pld-linux.org
Mon Dec 7 20:44:15 CET 2020


commit 4579413b3728ccec4886c779935b928ccd0e6721
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Dec 7 20:44:07 2020 +0100

    - up to 5.1.0

 bash-5.1-parallel_make.patch | 15 +++++++++++++++
 bash-loadables.patch         | 11 -----------
 bash.spec                    | 10 +++++-----
 3 files changed, 20 insertions(+), 16 deletions(-)
---
diff --git a/bash.spec b/bash.spec
index cf9ceed..d5294f4 100644
--- a/bash.spec
+++ b/bash.spec
@@ -6,10 +6,10 @@
 %bcond_with	bash_history	# build with additional history in /var/log/bash_hist ;)
 %bcond_without	tests	# do not perform "make test"
 
-%define		ver		5.0
-%define		patchlevel	18
+%define		ver		5.1
+%define		patchlevel	0
 %define		rel		1
-%define		min_readline	8.0
+%define		min_readline	8.1
 Summary:	GNU Bourne Again Shell (bash)
 Summary(fr.UTF-8):	Le shell Bourne Again de GNU
 Summary(pl.UTF-8):	Powłoka GNU Bourne Again Shell (bash)
@@ -19,7 +19,7 @@ Release:	%{rel}%{?with_bash_history:inv}
 License:	GPL v3+
 Group:		Applications/Shells
 Source0:	http://ftp.gnu.org/gnu/bash/%{name}-%{ver}.tar.gz
-# Source0-md5:	2b44b47b905be16f45709648f671820b
+# Source0-md5:	bb91a17fd6c9032c26d0b2b78b50aff5
 Source1:	%{name}rc
 Source2:	%{name}-skel-.bash_logout
 Source3:	%{name}-skel-.bash_profile
@@ -33,7 +33,7 @@ Patch3:		%{name}-info.patch
 Patch4:		%{name}-profile.patch
 Patch5:		%{name}-requires.patch
 Patch6:		%{name}-compat.patch
-Patch7:		%{name}-loadables.patch
+Patch7:		bash-5.1-parallel_make.patch
 Patch8:		%{name}-sighup.patch
 Patch9:		%{name}-backup_history.patch
 Patch10:	%{name}-act_like_sh.patch
diff --git a/bash-5.1-parallel_make.patch b/bash-5.1-parallel_make.patch
new file mode 100644
index 0000000..b341a8a
--- /dev/null
+++ b/bash-5.1-parallel_make.patch
@@ -0,0 +1,15 @@
+bashline.c:65:10: fatal error: builtins/builtext.h: No such file or directory
+   65 | #include "builtins/builtext.h"  /* for read_builtin */
+      |          ^~~~~~~~~~~~~~~~~~~~~
+
+--- bash-5.1/Makefile.in
++++ bash-5.1/Makefile.in
+@@ -584,6 +584,8 @@
+ 	ls -l $(Program)
+ 	-$(SIZE) $(Program)
+ 
++$(CSOURCES): $(DEFDIR)/builtext.h
++
+ .build:	$(SOURCES) config.h Makefile version.h $(VERSPROG)
+ 	@echo
+ 	@echo "	  ***********************************************************"
diff --git a/bash-loadables.patch b/bash-loadables.patch
deleted file mode 100644
index 8832282..0000000
--- a/bash-loadables.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- bash-5.0/examples/loadables/push.c~	2017-06-20 16:54:52.000000000 +0200
-+++ bash-5.0/examples/loadables/push.c	2019-03-21 14:40:08.789376401 +0100
-@@ -36,7 +36,7 @@ extern int errno;
- #endif
- 
- extern int dollar_dollar_pid;
--extern int last_command_exit_value;
-+extern volatile int last_command_exit_value;
- 
- int
- push_builtin (list)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bash.git/commitdiff/4579413b3728ccec4886c779935b928ccd0e6721



More information about the pld-cvs-commit mailing list