sane-frontends: fix build with gcc 15

This commit is contained in:
ccicnce113424
2026-01-02 16:32:38 +08:00
parent 16eb4dee7f
commit 4eb923beb6
+10 -1
View File
@@ -3,6 +3,7 @@
stdenv,
fetchurl,
fetchpatch,
autoconf,
sane-backends,
libX11,
gtk2,
@@ -67,10 +68,18 @@ stdenv.mkDerivation rec {
gtk2
]
++ lib.optional (libusb-compat-0_1 != null) libusb-compat-0_1;
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
autoconf
];
enableParallelBuilding = true;
# https://bugzilla.redhat.com/show_bug.cgi?id=2341321
preConfigure = ''
autoconf
'';
meta = {
description = "Scanner Access Now Easy";
homepage = "http://www.sane-project.org/";