[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/18: gnu: php: Build with an older oniguruma.
From: |
Marius Bakke |
Subject: |
16/18: gnu: php: Build with an older oniguruma. |
Date: |
Thu, 12 Jul 2018 11:21:41 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit d5019f9ca750aa2bd49048c5462d9eac220b0644
Author: Marius Bakke <address@hidden>
Date: Thu Jul 12 16:59:56 2018 +0200
gnu: php: Build with an older oniguruma.
* gnu/packages/textutils.scm (oniguruma-5): New public variable.
* gnu/packages/php.scm (php)[inputs]: Change ONIGURUMA to ONIGURUMA-5.
---
gnu/packages/php.scm | 2 +-
gnu/packages/textutils.scm | 14 ++++++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm
index 90e6ab1..1acab0d 100644
--- a/gnu/packages/php.scm
+++ b/gnu/packages/php.scm
@@ -318,7 +318,7 @@
("libxpm" ,libxpm)
("libxslt" ,libxslt)
("libx11" ,libx11)
- ("oniguruma" ,oniguruma)
+ ("oniguruma" ,oniguruma-5)
("openldap" ,openldap)
("openssl" ,openssl)
("pcre" ,pcre)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 9cf324b..355683d 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -355,6 +355,20 @@ characteristic of this library is that different character
encoding for every
regular expression object can be specified.")
(license license:bsd-2)))
+;; PHP < 7.3.0 requires this old version. Remove once no longer needed.
+(define-public oniguruma-5
+ (package
+ (inherit oniguruma)
+ (version "5.9.6")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/kkos/"
+ "oniguruma/releases/download/v" version
+ "/onig-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19s79vsclqn170mw0ajwv7j37qsbn4f1yjz3yavnhvva6c820r6m"))))))
+
(define-public antiword
(package
(name "antiword")
- 03/18: gnu: rng-tools: Update to 6.3., (continued)
- 03/18: gnu: rng-tools: Update to 6.3., Marius Bakke, 2018/07/12
- 08/18: gnu: tevent: Update to 0.9.37., Marius Bakke, 2018/07/12
- 07/18: gnu: talloc: Update to 2.1.14., Marius Bakke, 2018/07/12
- 17/18: gnu: unbound: Update to 1.7.3., Marius Bakke, 2018/07/12
- 04/18: gnu: libzip: Update to 1.5.1., Marius Bakke, 2018/07/12
- 01/18: gnu: xapian: Update to 1.4.6 [fixes CVE-2018-0499]., Marius Bakke, 2018/07/12
- 05/18: gnu: appstream-glib: Update to 0.7.10., Marius Bakke, 2018/07/12
- 12/18: gnu: lsof: Update to 4.91., Marius Bakke, 2018/07/12
- 13/18: gnu: lsof: Return #t from all phases., Marius Bakke, 2018/07/12
- 14/18: gnu: oniguruma: Update to 6.8.2., Marius Bakke, 2018/07/12
- 16/18: gnu: php: Build with an older oniguruma.,
Marius Bakke <=
- 11/18: gnu: xf86-input-libinput: Update to 0.28.0., Marius Bakke, 2018/07/12
- 18/18: gnu: psmisc: Update to 23.1., Marius Bakke, 2018/07/12
- 09/18: gnu: tdb: Update to 1.3.16., Marius Bakke, 2018/07/12
- 10/18: gnu: ldb: Downgrade to 1.3.3., Marius Bakke, 2018/07/12
- 15/18: gnu: iso-codes: Update home page., Marius Bakke, 2018/07/12