From f83e4ba79cdf6ad1b2625caa9156cec6a44ce311 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Mon, 24 Feb 2025 23:02:31 -0500 Subject: [PATCH] make: Make 4.4.1 build with GCC 2. --- sys-devel/make/make-4.4.1.recipe | 1 + sys-devel/make/patches/make-4.4.1.patchset | 32 ++++++++++++++++++++-- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/sys-devel/make/make-4.4.1.recipe b/sys-devel/make/make-4.4.1.recipe index 12a1aca35..5600ee686 100644 --- a/sys-devel/make/make-4.4.1.recipe +++ b/sys-devel/make/make-4.4.1.recipe @@ -47,6 +47,7 @@ BUILD() runConfigure ./configure \ --disable-rpath --with-gnu-ld --disable-dependency-tracking ./build.sh + ./make } INSTALL() diff --git a/sys-devel/make/patches/make-4.4.1.patchset b/sys-devel/make/patches/make-4.4.1.patchset index 77d4e890f..08091ded8 100644 --- a/sys-devel/make/patches/make-4.4.1.patchset +++ b/sys-devel/make/patches/make-4.4.1.patchset @@ -1,4 +1,4 @@ -From f31b86938397bd423a781ce0f989749827256962 Mon Sep 17 00:00:00 2001 +From 658ed6893399b547592d3d1337cb2f64ff551b3d Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Fri, 26 Feb 2016 14:51:15 +0000 Subject: Haiku patch @@ -21,7 +21,7 @@ index edd4070..ee88d6b 100644 2.45.2 -From ebc3c52617c0f666f3a59fdd0160786f9cc05e94 Mon Sep 17 00:00:00 2001 +From e696c3b02830364bbb498fe9595bf82b42d8cae9 Mon Sep 17 00:00:00 2001 From: David Karoly Date: Sun, 21 Nov 2021 15:47:19 +0000 Subject: fix build @@ -43,3 +43,31 @@ index 3e94b98..622a9a0 100644 -- 2.45.2 + +From 7d56b49fa87e2336feb225575dae63b54d34b045 Mon Sep 17 00:00:00 2001 +From: Augustin Cavalier +Date: Mon, 24 Feb 2025 23:01:53 -0500 +Subject: Build fix for GCC2. + + +diff --git a/lib/findprog-in.c b/lib/findprog-in.c +index c0768c2..346a6ee 100644 +--- a/lib/findprog-in.c ++++ b/lib/findprog-in.c +@@ -223,6 +223,7 @@ find_in_given_path (const char *progname, const char *path, + if (path_copy == NULL) + return NULL; /* errno is set here */ + ++ { + int failure_errno; + char *path_rest; + char *cp; +@@ -395,4 +396,5 @@ find_in_given_path (const char *progname, const char *path, + errno = failure_errno; + return NULL; + } ++ } + } +-- +2.45.2 +