Skip to content

Commit f96b3bf

Browse files
committedNov 15, 2017
ptlib: fix build with glibc 2.26
Tracking issue: #31696
1 parent f55308e commit f96b3bf

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed
 

Diff for: ‎pkgs/development/libraries/ptlib/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ stdenv.mkDerivation rec {
2727
(fetchpatch { url = http://sources.debian.net/data/main/p/ptlib/2.10.11~dfsg-2.1/debian/patches/gcc-5_support;
2828
sha256 = "0pf2yj0150r4cnc6nv65mclrm3dillqh1xjk7m6gsjnk9b96i5d4";
2929
})
30+
./ptlib-2.10.11-glibc-2.26.patch
3031
];
3132

3233
meta = with stdenv.lib; {
@@ -41,4 +42,3 @@ stdenv.mkDerivation rec {
4142
};
4243
};
4344
}
44-
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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+

0 commit comments

Comments
 (0)
Please sign in to comment.