diff options
author | Chris Severance | 2017-09-13 10:45:58 -0400 |
---|---|---|
committer | Chris Severance | 2017-09-13 10:45:58 -0400 |
commit | e44c369edbcdd3320ae6e9cd1cf63c98d4fdd21d (patch) | |
tree | 9a44ebc4e019b882c31a06448d03e935fc62914b /0002-gcc-4.8-__res_state.patch | |
parent | 25ef28c7c965a42bb721da61a684fd179d09f8fb (diff) | |
download | aur-e44c369edbcdd3320ae6e9cd1cf63c98d4fdd21d.tar.gz |
Update to glibc 2.26
Diffstat (limited to '0002-gcc-4.8-__res_state.patch')
-rw-r--r-- | 0002-gcc-4.8-__res_state.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/0002-gcc-4.8-__res_state.patch b/0002-gcc-4.8-__res_state.patch new file mode 100644 index 000000000000..34e25e51d028 --- /dev/null +++ b/0002-gcc-4.8-__res_state.patch @@ -0,0 +1,15 @@ +--- libsanitizer/tsan/tsan_platform_linux.cc.orig 2013-02-21 05:57:10.000000000 -0500 ++++ libsanitizer/tsan/tsan_platform_linux.cc 2017-09-13 01:35:01.712039033 -0400 +@@ -290,11 +290,11 @@ bool IsGlobalVar(uptr addr) { + } + + #ifndef TSAN_GO + int ExtractResolvFDs(void *state, int *fds, int nfd) { + 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]; + } + return cnt; |