linux-wifi-hotspot: fix build with gcc 15

This commit is contained in:
ccicnce113424
2026-01-02 17:01:59 +08:00
parent 16eb4dee7f
commit 27f73850ce
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
which,
pkg-config,
glib,
@@ -50,6 +51,13 @@ stdenv.mkDerivation (finalAttrs: {
outputs = [ "out" ];
patches = [
(fetchpatch {
url = "https://github.com/lakinduakash/linux-wifi-hotspot/commit/a3fce4b3ee9371eeb7b300fa7e9f291d93986db3.patch";
hash = "sha256-tvWoYvQELYVq1Cr6NG+9kafYFHZloNMuOvaPeIbYlSI=";
})
];
postPatch = ''
substituteInPlace ./src/scripts/Makefile \
--replace "etc" "$out/etc"