io: remove deprecated sysctl.h
glibc 2.32 removed <sys/sysctl.h> But since it is only required with __CYGWIN__ it can be removed safely See related Issues upstream: https://github.com/IoLanguage/io/issues/433 https://github.com/IoLanguage/io/pull/446
This commit is contained in:
parent
71fcdff01a
commit
c2b65f7f91
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, zlib, sqlite, gmp, libffi, cairo,
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, sqlite, gmp, libffi, cairo,
|
||||
ncurses, freetype, libGLU, libGL, libpng, libtiff, libjpeg, readline, libsndfile,
|
||||
libxml2, freeglut, libsamplerate, pcre, libevent, libedit, yajl,
|
||||
python3, openssl, glfw, pkg-config, libpthreadstubs, libXdmcp, libmemcached
|
||||
|
@ -13,6 +13,14 @@ stdenv.mkDerivation {
|
|||
sha256 = "0ll2kd72zy8vf29sy0nnx3awk7nywpwpv21rvninjjaqkygrc0qw";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "check-for-sysctl-h.patch";
|
||||
url = "https://github.com/IoLanguage/io/pull/446/commits/9f3e4d87b6d4c1bf583134d55d1cf92d3464c49f.patch";
|
||||
sha256 = "9f06073ac17f26c2ef6298143bdd1babe7783c228f9667622aa6c91bb7ec7fa0";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue