summaryrefslogtreecommitdiffstats
path: root/pkgs/games
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-10-27 15:10:54 +0100
committerGitHub <noreply@github.com>2020-10-27 15:10:54 +0100
commit3c7890d47e758d278f9246cd6d2c20bd65ddca9a (patch)
tree5c7d23bcd4e77da15d5294858cc418b9beb28e5e /pkgs/games
parent8a1fdce8d3482b60ac13678a8eab838777b51549 (diff)
parentf6560368a7218b298db65e1a35be8db894395d1b (diff)
Merge pull request #101240 from gnidorah/openxray
Fix builds of my packages w/glibc-2.32
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/openxray/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/games/openxray/default.nix b/pkgs/games/openxray/default.nix
index fe2e978c4cc4..394edcf1953a 100644
--- a/pkgs/games/openxray/default.nix
+++ b/pkgs/games/openxray/default.nix
@@ -50,6 +50,10 @@ in stdenv.mkDerivation rec {
preConfigure = ''
substituteInPlace src/xrCore/xrCore.cpp \
--replace /usr/share $out/share
+
+ # https://github.com/OpenXRay/xray-16/issues/667
+ echo "inline const char* xr_sys_errlist[100] = {};" >> src/Common/PlatformLinux.inl
+ echo "#define _sys_errlist xr_sys_errlist" >> src/Common/PlatformLinux.inl
'';
postInstall = ''