mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
openxray: fix build w/glibc-2.32
This commit is contained in:
parent
8133b9cb5f
commit
2c6de0b9ab
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user