Accepting request 891133 from home:kallan:branches:Virtualization:VMware
- Add open-vm-tools-pollGtk.patch: Fixes boo#1185103 GCC 11: open-vm-tools package fails. OBS-URL: https://build.opensuse.org/request/show/891133 OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=413
This commit is contained in:
parent
07c5eff063
commit
168c8a87f8
11
open-vm-tools-pollGtk.patch
Normal file
11
open-vm-tools-pollGtk.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/lib/pollGtk/pollGtk.c 2020-03-10 16:12:24.000000000 -0700
|
||||
+++ b/lib/pollGtk/pollGtk.c 2020-03-10 16:12:24.000000000 -0700
|
||||
@@ -99,7 +99,7 @@
|
||||
} Poll;
|
||||
|
||||
static Poll *pollState;
|
||||
-static volatile gsize inited = 0;
|
||||
+static gsize inited = 0;
|
||||
|
||||
static VMwareStatus
|
||||
PollGtkCallback(PollClassSet classSet, // IN
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 6 19:53:08 UTC 2021 - Kirk Allan <kallan@suse.com>
|
||||
|
||||
- Add open-vm-tools-pollGtk.patch: Fixes boo#1185103 GCC 11: open-vm-tools
|
||||
package fails.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 26 09:40:41 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -58,6 +58,7 @@ Source8: vgauthd.service
|
||||
Source9: vmblock-fuse.service
|
||||
# PATCH-FIX-UPSTREAM open-vm-tools-glib-2.67.patch dimstar@opensuse.org -- Fix build with glib 2.67, https://github.com/vmware/open-vm-tools/issues/500
|
||||
Patch100: open-vm-tools-glib-2.67.patch
|
||||
Patch101: open-vm-tools-pollGtk.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++
|
||||
# don't use pkgconfig(gtk+-2.0) so we can build on SLE
|
||||
@ -222,6 +223,7 @@ sed -i -e "s/\r//" README
|
||||
|
||||
# patch not yet coming from upstream, https://github.com/vmware/open-vm-tools/issues/500
|
||||
%patch100 -p1
|
||||
%patch101 -p1
|
||||
|
||||
%build
|
||||
%if %{with_X}
|
||||
|
Loading…
Reference in New Issue
Block a user