tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ptlib: fix build
patch typedef clashes with unixODBC>=2.3.5
xeji
7 years ago
4308403c
8c2c82bf
+7
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
ptlib
default.nix
+7
-3
pkgs/development/libraries/ptlib/default.nix
···
24
24
(fetchpatch { url = http://sources.debian.net/data/main/p/ptlib/2.10.11~dfsg-2.1/debian/patches/no-sslv3;
25
25
sha256 = "172s1dnnrl54p9sf1nl7s475sm78rpw3p8jxi0pdx6izzl8hcdr0";
26
26
})
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
27
./ptlib-2.10.11-glibc-2.26.patch
31
28
];
29
29
+
30
30
+
# fix typedef clashes with unixODBC>=2.3.5
31
31
+
postPatch = ''
32
32
+
substituteInPlace include/ptlib/unix/ptlib/contain.h \
33
33
+
--replace "typedef uintptr_t UINT" "typedef unsigned int UINT" \
34
34
+
--replace "typedef wchar_t WCHAR" "typedef unsigned short WCHAR"
35
35
+
'';
32
36
33
37
meta = with stdenv.lib; {
34
38
description = "Portable Tools from OPAL VoIP";