libstrangle: pull gcc-13 fix pending upstream inclusion
Without thenc change build on `gcc-13` fails as: src/vulkan/overlay.cpp:113:25: error: 'fprintf' was not declared in this scope src/vulkan/overlay.cpp:41:1: note: 'stderr' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>' 40 | #include "limiter.h" +++ |+#include <cstdio>
This commit is contained in:
parent
9f039b93af
commit
c9791d9a0b
1 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitLab, libGL, libX11 }:
|
||||
{ lib, stdenv, fetchFromGitLab, fetchpatch, libGL, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libstrangle";
|
||||
|
@ -17,6 +17,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
patches = [
|
||||
./nixos.patch
|
||||
# Pull the fix pending upstream inclusion for gcc-13:
|
||||
# https://gitlab.com/torkel104/libstrangle/-/merge_requests/29
|
||||
(fetchpatch {
|
||||
name = "gcc-13.patch";
|
||||
url = "https://gitlab.com/torkel104/libstrangle/-/commit/4e17025071de1d99630febe7270b4f63056d0dfa.patch";
|
||||
hash = "sha256-AKMHAZhCPcn62pi4fBGhw2r8SNSkCDMUCpR3IlmJ7wQ=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
|
Loading…
Reference in a new issue