Merge pull request #101240 from gnidorah/openxray
Fix builds of my packages w/glibc-2.32
This commit is contained in:
commit
3c7890d47e
@ -74,5 +74,6 @@ EOF
|
|||||||
license = licenses.lgpl2;
|
license = licenses.lgpl2;
|
||||||
maintainers = [ maintainers.gnidorah ];
|
maintainers = [ maintainers.gnidorah ];
|
||||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||||
|
broken = true; # not compatible with glibc 2.32
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -50,6 +50,10 @@ in stdenv.mkDerivation rec {
|
|||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace src/xrCore/xrCore.cpp \
|
substituteInPlace src/xrCore/xrCore.cpp \
|
||||||
--replace /usr/share $out/share
|
--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 = ''
|
postInstall = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user