linux-wifi-hotspot: fix build with gcc 15
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user