Revert "gnu: opencv: Fix build with new version of jasper."

This reverts commit 2759d4ca74.  The
substitution, it does nothing!  (We already applied an upstream patch).
This commit is contained in:
Tobias Geerinckx-Rice 2020-08-14 17:51:20 +02:00
parent 2759d4ca74
commit 58410eb402
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -358,14 +358,6 @@ (define-public opencv
"--strip-components=1"
"-C" "../opencv-contrib")))
(add-after 'unpack 'fix-jasper
(lambda _
;; See <https://github.com/opencv/opencv/pull/17983>.
(substitute* "modules/imgcodecs/src/grfmt_jpeg2000.cpp"
(("&jas_matrix_get")
"jas_matrix_getref"))
#t))
(add-after 'set-paths 'add-ilmbase-include-path
(lambda* (#:key inputs #:allow-other-keys)
;; OpenEXR propagates ilmbase, but its include files do not appear