ptlib: fix build with glibc 2.26

Tracking issue: #31696

+14 -1
+1 -1
pkgs/development/libraries/ptlib/default.nix
··· 27 27 (fetchpatch { url = http://sources.debian.net/data/main/p/ptlib/2.10.11~dfsg-2.1/debian/patches/gcc-5_support; 28 28 sha256 = "0pf2yj0150r4cnc6nv65mclrm3dillqh1xjk7m6gsjnk9b96i5d4"; 29 29 }) 30 + ./ptlib-2.10.11-glibc-2.26.patch 30 31 ]; 31 32 32 33 meta = with stdenv.lib; { ··· 41 42 }; 42 43 }; 43 44 } 44 -
+13
pkgs/development/libraries/ptlib/ptlib-2.10.11-glibc-2.26.patch
··· 1 + diff --git a/src/ptlib/unix/channel.cxx b/src/ptlib/unix/channel.cxx 2 + index 3b17dda..2dcaa18 100644 3 + --- a/src/ptlib/unix/channel.cxx 4 + +++ b/src/ptlib/unix/channel.cxx 5 + @@ -36,7 +36,7 @@ 6 + 7 + #include <ptlib.h> 8 + #include <sys/ioctl.h> 9 + - 10 + +#include <sys/uio.h> 11 + 12 + #include "../common/pchannel.cxx" 13 +