diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2025-07-19 01:28:25 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-19 17:03:58 +0200 |
commit | 13614fc500d7ef83e045a97a2df93b698ddc0d7a (patch) | |
tree | e131121f435e8e56b3fecd710636e0b35a444dd9 /gnu/packages/photo.scm | |
parent | 4cb2e664bde0e419f2f7d3231d64474f7c9006de (diff) |
gnu: libgphoto2: Fix build with GCC 14.
* gnu/packages/video.scm (libgphoto2)[arguments]: Add
'relax-gcc-14-strictness phase to fix CFLAGS.
Change-Id: I1f9df6ff1fcb5868199e09127b5c03127a26201b
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/photo.scm')
-rw-r--r-- | gnu/packages/photo.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm index 07c6c15c54..2a74c3c788 100644 --- a/gnu/packages/photo.scm +++ b/gnu/packages/photo.scm @@ -250,6 +250,16 @@ data as produced by digital cameras.") (base32 "1d0g3ixxfz3sfm5rzibydqd9ccflls86pq0ls48zfp5dqvda2qgf")))) (build-system gnu-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'relax-gcc-14-strictness + ;; Required on i686, but not x86_64. + (lambda _ + (setenv "CFLAGS" + (string-append + "-g -O2 " + "-Wno-incompatible-pointer-types"))))))) (native-inputs (list pkg-config)) (inputs (list libjpeg-turbo libltdl libusb libxml2)) |