mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: wxwidgets-2: Fix build.
* gnu/packages/wxwidgets.scm (wxwidgets-2)[arguments]: Add phase ignore-narrowing-errors to patch "configure" script.
This commit is contained in:
parent
3d916a115b
commit
0aa0e1f8f4
1 changed files with 9 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
||||
;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2016, 2018, 2020 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2016 Theodoros Foradis <theodoros@foradis.org>
|
||||
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
|
||||
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
|
||||
|
@ -126,7 +126,14 @@ (define-public wxwidgets-2
|
|||
(list (string-append "LDFLAGS=-Wl,-rpath="
|
||||
(assoc-ref %outputs "out") "/lib"))
|
||||
;; No 'check' target.
|
||||
#:tests? #f))))
|
||||
#:tests? #f
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'ignore-narrowing-errors
|
||||
(lambda _
|
||||
(substitute* "configure"
|
||||
(("-Wall") "-Wall -Wno-narrowing"))
|
||||
#t)))))))
|
||||
|
||||
(define-public wxwidgets-gtk2
|
||||
(package (inherit wxwidgets)
|
||||
|
|
Loading…
Reference in a new issue