trayer: Fix compilation bug for new gcc (#476210)

This commit is contained in:
Aleksana
2026-01-03 11:56:54 +00:00
committed by GitHub
+10
View File
@@ -5,6 +5,7 @@
pkg-config,
gdk-pixbuf,
gtk2,
fetchpatch,
}:
stdenv.mkDerivation rec {
@@ -22,6 +23,15 @@ stdenv.mkDerivation rec {
patchShebangs configure
'';
patches = [
# Adding missing arg in function decleration
(fetchpatch {
name = "fix_function_dec.patch";
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/x11-misc/trayer-srg/files/trayer-srg-1.1.8-fix-define.patch?id=94ae89d1b044c24138d5c8903df68e9654a5462f";
hash = "sha256-LighVaBDePheBO+dWG6JHhm/Y6sxdtvTrBar8VrPRH4=";
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [