update version to 4.4

This commit is contained in:
fly_fzc 2022-11-09 15:32:50 +08:00
parent 37073fee47
commit 58faa13e5f
5 changed files with 5 additions and 46 deletions

View File

@ -1,25 +0,0 @@
diff -Nrup a/src/main.c b/src/main.c
--- a/src/main.c 2016-05-31 03:17:26.000000000 -0400
+++ b/src/main.c 2016-09-22 16:18:52.283889265 -0400
@@ -2051,6 +2051,21 @@ main (int argc, char **argv, char **envp
}
#endif
+#ifdef PIPE_BUF
+ if (job_slots > PIPE_BUF)
+#elif defined _POSIX_PIPE_BUF
+ if (job_slots > _POSIX_PIPE_BUF)
+#else
+ if (job_slots > 512)
+#endif
+ {
+ O (error, NILF,
+ _("More parallel jobs (-jN) than this platform can handle requested."));
+ O (error, NILF, _("Resetting to single job (-j1) mode."));
+ job_slots = 1;
+ }
+
+
/* If we have >1 slot at this point, then we're a top-level make.
Set up the jobserver.

View File

@ -1,16 +0,0 @@
diff -up make-4.3/src/job.c\~ make-4.3/src/job.c
--- make-3.82/src/job.c~ 2010-08-11 16:13:33.000000000 +0200
+++ make-3.82/src/job.c 2010-08-12 14:20:08.000000000 +0200
@@ -2442,7 +2442,11 @@ construct_command_argv_internal (char *l
/* See if it is safe to parse commands internally. */
if (shell == 0)
- shell = default_shell;
+ {
+ shell = default_shell;
+ if (shellflags == 0)
+ shellflags = "-c";
+ }
#ifdef WINDOWS32
else if (strcmp (shell, default_shell))
{

Binary file not shown.

BIN
make-4.4.tar.gz Normal file

Binary file not shown.

View File

@ -1,15 +1,12 @@
Name: make
Epoch: 1
Version: 4.3
Release: 3
Version: 4.4
Release: 1
Summary: A tool which controls the generation of executables and non-source files of a program
License: GPLv3+
URL: http://www.gnu.org/software/make/
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Patch0: make-4.3-weird-shell.patch
Patch1: make-4.3-j8k.patch
BuildRequires: gcc git autoconf automake procps
BuildRequires: guile-devel perl-interpreter make
Requires(post): /sbin/install-info
@ -87,6 +84,9 @@ fi
%{_infodir}/*
%changelog
* Wed Nov 09 2022 fuanan <fuanan3@h-partners.com> - 1:4.4-1
- update version to 4.4
* Wed Oct 19 2022 fuanan <fuanan3@h-partners.com> - 1:4.3-3
- Fix spelling in spec