mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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.
This commit is contained in:
parent
fa25b268dc
commit
d5019f9ca7
2 changed files with 15 additions and 1 deletions
|
@ -318,7 +318,7 @@ (define-public php
|
|||
("libxpm" ,libxpm)
|
||||
("libxslt" ,libxslt)
|
||||
("libx11" ,libx11)
|
||||
("oniguruma" ,oniguruma)
|
||||
("oniguruma" ,oniguruma-5)
|
||||
("openldap" ,openldap)
|
||||
("openssl" ,openssl)
|
||||
("pcre" ,pcre)
|
||||
|
|
|
@ -355,6 +355,20 @@ (define-public oniguruma
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue