mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: perl-tk: Fix build with gcc-14.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Remove labels. [arguments]: Use G-Expressions. Add CC to #:make-maker-flags to relax gcc-14's strictness. Change-Id: Id4d65d2e60bbb1e1e78a220b9e6c72277d24e799
This commit is contained in:
parent
80cf217acf
commit
a85225586b
1 changed files with 12 additions and 8 deletions
|
@ -278,13 +278,17 @@ (define-public perl-tk
|
|||
"0pha40m97fzafjnq8vwkbi5sml6xv8jki6qi60rxrzmxlrqp5aij"))))
|
||||
(build-system perl-build-system)
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs `(("libx11" ,libx11)
|
||||
("libpng" ,libpng)
|
||||
("libjpeg" ,libjpeg-turbo)))
|
||||
(inputs (list libx11 libpng libjpeg-turbo))
|
||||
(arguments
|
||||
`(#:make-maker-flags `(,(string-append
|
||||
"X11=" (assoc-ref %build-inputs "libx11")))
|
||||
|
||||
(list
|
||||
#:make-maker-flags
|
||||
#~(list (string-append "X11=" #$libx11)
|
||||
;; Using CFLAGS partly works but also creates a broken Makefile
|
||||
#$(string-append "CC=gcc"
|
||||
" -Wno-error=implicit-function-declaration"
|
||||
" -Wno-error=implicit-int"
|
||||
" -Wno-error=incompatible-pointer-types"
|
||||
" -Wno-error=int-to-pointer-cast"))
|
||||
;; Fails to build in parallel: <http://bugs.gnu.org/18262>.
|
||||
#:parallel-build? #f))
|
||||
(synopsis "Graphical user interface toolkit for Perl")
|
||||
|
|
Loading…
Reference in a new issue