Skip to content

Commit

Permalink
ptlib: fix build with glibc 2.26
Browse files Browse the repository at this point in the history
Tracking issue: #31696
  • Loading branch information
orivej committed Nov 15, 2017
1 parent f55308e commit f96b3bf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/ptlib/default.nix
Expand Up @@ -27,6 +27,7 @@ stdenv.mkDerivation rec {
(fetchpatch { url = http://sources.debian.net/data/main/p/ptlib/2.10.11~dfsg-2.1/debian/patches/gcc-5_support;
sha256 = "0pf2yj0150r4cnc6nv65mclrm3dillqh1xjk7m6gsjnk9b96i5d4";
})
./ptlib-2.10.11-glibc-2.26.patch
];

meta = with stdenv.lib; {
Expand All @@ -41,4 +42,3 @@ stdenv.mkDerivation rec {
};
};
}

13 changes: 13 additions & 0 deletions pkgs/development/libraries/ptlib/ptlib-2.10.11-glibc-2.26.patch
@@ -0,0 +1,13 @@
diff --git a/src/ptlib/unix/channel.cxx b/src/ptlib/unix/channel.cxx
index 3b17dda..2dcaa18 100644
--- a/src/ptlib/unix/channel.cxx
+++ b/src/ptlib/unix/channel.cxx
@@ -36,7 +36,7 @@

#include <ptlib.h>
#include <sys/ioctl.h>
-
+#include <sys/uio.h>

#include "../common/pchannel.cxx"

0 comments on commit f96b3bf

Please sign in to comment.