Skip to content

Commit

Permalink
php56: add patch for autoconf >= 2.72
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Feb 6, 2024
1 parent 170e141 commit c0366ec
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/patches/php56-autoconf.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From ba4055cccc859a5b65158fddabdae6fec21dbb60 Mon Sep 17 00:00:00 2001
From: Pol Dellaiera <pol.dellaiera@protonmail.com>
Date: Tue, 6 Feb 2024 18:50:49 +0100
Subject: [PATCH] fix for autoconf 2.72

---
TSRM/threads.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/TSRM/threads.m4 b/TSRM/threads.m4
index 38494ce7ca..42f7bb9271 100644
--- a/TSRM/threads.m4
+++ b/TSRM/threads.m4
@@ -135,8 +135,8 @@ else
fi
done
fi
-fi
])
+fi

AC_CACHE_CHECK(for pthreads_lib, ac_cv_pthreads_lib,[
ac_cv_pthreads_lib=
--
2.43.0

3 changes: 3 additions & 0 deletions pkgs/phps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ let
{
patches =
attrs.patches or []
++ prev.lib.optionals (prev.lib.versions.majorMinor args.version == "5.6") [
./patches/php56-autoconf.patch
]
++ prev.lib.optionals (prev.lib.versions.majorMinor args.version == "7.2") [
# Building the bundled intl extension fails on Mac OS.
# See https://bugs.php.net/bug.php?id=76826 for more information.
Expand Down

0 comments on commit c0366ec

Please sign in to comment.