xmagnify: fix build with gcc15
This commit is contained in:
@@ -17,7 +17,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
sha256 = "1ngnp5f5zl3v35vhbdyjpymy6mwrs0476fm5nd7dzkba7n841jdh";
|
||||
};
|
||||
|
||||
prePatch = "substituteInPlace ./Makefile --replace /usr $out";
|
||||
prePatch = ''
|
||||
substituteInPlace Makefile --replace-fail /usr $out
|
||||
# gcc15
|
||||
substituteInPlace main.c --replace-fail 'handler ()' 'handler (int sig)'
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
libx11
|
||||
|
||||
Reference in New Issue
Block a user