diff options
author | Michael Strecke | 2018-02-04 14:14:07 +0100 |
---|---|---|
committer | Michael Strecke | 2018-02-04 14:14:07 +0100 |
commit | a1f587b07d7e0b86091edda031e55bcc0d92bd80 (patch) | |
tree | db486f4ff9389a5002b99c9b8e57c5b21ec5890c /0002-gcc-5.4-__res_state.patch | |
download | aur-a1f587b07d7e0b86091edda031e55bcc0d92bd80.tar.gz |
Pull from gcc5 and fixes for glibc 2.26 from gcc49
Diffstat (limited to '0002-gcc-5.4-__res_state.patch')
-rw-r--r-- | 0002-gcc-5.4-__res_state.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/0002-gcc-5.4-__res_state.patch b/0002-gcc-5.4-__res_state.patch new file mode 100644 index 000000000000..e198be63bce8 --- /dev/null +++ b/0002-gcc-5.4-__res_state.patch @@ -0,0 +1,11 @@ +--- libsanitizer/tsan/tsan_platform_linux.cc.orig 2018-02-03 18:26:53.153703109 +0100 ++++ libsanitizer/tsan/tsan_platform_linux.cc 2018-02-03 18:27:30.326068569 +0100 +@@ -377,7 +377,7 @@ + int ExtractResolvFDs(void *state, int *fds, int nfd) { + #if SANITIZER_LINUX + int cnt = 0; +- __res_state *statp = (__res_state*)state; ++ res_state statp = (res_state)state; + for (int i = 0; i < MAXNS && cnt < nfd; i++) { + if (statp->_u._ext.nsaddrs[i] && statp->_u._ext.nssocks[i] != -1) + fds[cnt++] = statp->_u._ext.nssocks[i]; |