From 34ff9b538e4d068303c9523d2083f125199abcaf Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 14 Feb 2021 21:06:34 -0800 Subject: [PATCH] open-vm-tools: update to 11.2.5 Work around a quilt bug where instead of showing a rename, it removes and duplicates the file. Signed-off-by: Rosen Penev --- utils/open-vm-tools/Makefile | 15 +++++++++++---- .../patches/0008-Rename-poll.h-to-vm_poll.h.patch | 4 ---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/utils/open-vm-tools/Makefile b/utils/open-vm-tools/Makefile index b7f7aaeed..39cff6e7e 100644 --- a/utils/open-vm-tools/Makefile +++ b/utils/open-vm-tools/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=open-vm-tools -PKG_VERSION:=11.2.0 +PKG_VERSION:=11.2.5 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-16938113.tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-17337674.tar.gz PKG_SOURCE_URL:=https://github.com/vmware/open-vm-tools/releases/download/stable-$(PKG_VERSION) -PKG_HASH:=df16b78bb919e85fe2b9190148f4987ea4942f9f9667836bf1311dfc2eb839db -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-16938113 +PKG_HASH:=d01c9e036536b569ee561e33302e9dad1c2ac27c04f762ebdc3f81791cb44566 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-17337674 PKG_LICENSE:=LGPL-2.1-or-later PKG_LICENSE_FILES:=LICENSE @@ -80,6 +80,13 @@ CONFIGURE_ARGS+= \ TARGET_LDFLAGS += -liconv +define Build/Prepare + $(call Build/Prepare/Default) +ifeq ($(QUILT),) + mv $(PKG_BUILD_DIR)/lib/include/poll.h $(PKG_BUILD_DIR)/lib/include/vm_poll.h +endif +endef + define Package/open-vm-tools/install $(INSTALL_DIR) $(1)/etc/init.d/ $(INSTALL_BIN) ./files/vmtoolsd.init $(1)/etc/init.d/vmtoolsd diff --git a/utils/open-vm-tools/patches/0008-Rename-poll.h-to-vm_poll.h.patch b/utils/open-vm-tools/patches/0008-Rename-poll.h-to-vm_poll.h.patch index f527b0ea6..316d44ed0 100644 --- a/utils/open-vm-tools/patches/0008-Rename-poll.h-to-vm_poll.h.patch +++ b/utils/open-vm-tools/patches/0008-Rename-poll.h-to-vm_poll.h.patch @@ -42,10 +42,6 @@ #include "vm_basic_asm.h" #if defined(__cplusplus) -diff --git a/lib/include/poll.h b/lib/include/vm_poll.h -rename from lib/include/poll.h -rename to lib/include/vm_poll.h -diff --git a/lib/rpcIn/rpcin.c b/lib/rpcIn/rpcin.c --- a/lib/rpcIn/rpcin.c +++ b/lib/rpcIn/rpcin.c @@ -57,7 +57,7 @@