open-vm-tools: import gcc9 fixes from fedora

* fixes:
  ../../../git/open-vm-tools/lib/hgfsServer/hgfsServer.c: In function 'HgfsServerRead':
  ../../../git/open-vm-tools/lib/hgfsServer/hgfsServer.c:6541:43: error: taking address of packed member of 'struct HgfsReplyReadV3' may result in an unaligned pointer value [-Werror=address-of-packed-member]
   6541 |                                           &reply->actualSize);
        |                                           ^~~~~~~~~~~~~~~~~~
  ../../../git/open-vm-tools/lib/hgfsServer/hgfsServer.c:6562:56: error: taking address of packed member of 'struct HgfsReplyRead' may result in an unaligned pointer value [-Werror=address-of-packed-member]
   6562 |                                        reply->payload, &reply->actualSize);
        |                                                        ^~~~~~~~~~~~~~~~~~
  cc1: all warnings being treated as errors

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Martin Jansa
2019-06-13 16:26:44 +00:00
committed by Khem Raj
parent 6642ae9422
commit 26a390305c
2 changed files with 1282 additions and 0 deletions
@@ -38,6 +38,7 @@ SRC_URI = "git://github.com/vmware/open-vm-tools.git;protocol=https \
file://0011-Use-uintmax_t-for-handling-rlim_t.patch;patchdir=.. \
file://0012-Use-off64_t-instead-of-__off64_t.patch;patchdir=.. \
file://0013-misc-Do-not-print-NULL-string-into-logs.patch;patchdir=.. \
file://0014-Fix-new-warnings-from-gcc9.patch;patchdir=.. \
"
# stable-10.3.5
SRCREV = "f2ff192717375b95a6b7e278fb47dbb3d3bc56d1"