diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-23 14:12:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-23 14:41:42 +0000 |
commit | a28895f56f2ab9233f7ad1b345e07c6249bef1f3 (patch) | |
tree | 84d5692bfd48a1c91da1bb1113078093be582b3f /community/open-vm-tools/strerror_r.patch | |
parent | 00fc18aa0c07998215c7fc55185c63ae496592eb (diff) | |
download | aports-a28895f56f2ab9233f7ad1b345e07c6249bef1f3.tar.bz2 aports-a28895f56f2ab9233f7ad1b345e07c6249bef1f3.tar.xz |
community/open-vm-tools: move from main
Diffstat (limited to 'community/open-vm-tools/strerror_r.patch')
-rw-r--r-- | community/open-vm-tools/strerror_r.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/open-vm-tools/strerror_r.patch b/community/open-vm-tools/strerror_r.patch new file mode 100644 index 0000000000..1d3554d0fd --- /dev/null +++ b/community/open-vm-tools/strerror_r.patch @@ -0,0 +1,13 @@ +diff --git a/open-vm-tools/vgauth/common/VGAuthLog.c b/open-vm-tools/vgauth/common/VGAuthLog.c +index fb4261e..1b29536 100644 +--- a/open-vm-tools/vgauth/common/VGAuthLog.c ++++ b/open-vm-tools/vgauth/common/VGAuthLog.c +@@ -210,7 +210,7 @@ LogErrorPosixCodeV(int code, + g_vsnprintf(buf, sizeof buf, fmt, args); + buf[sizeof buf - 1] = '\0'; + +-#ifdef sun ++#if !defined(__GLIBC__) + strerror_r(code, errMsg, sizeof errMsg); + g_warning("[function %s, file %s, line %d], %s, [errno = %d], %s\n", + func, file, line, buf, code, errMsg); |