zsh: Delete ${D}/usr if empty
PATCH 1/2 zsh: Delete ${D}/usr if empty
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-shells/zsh/zsh_5.4.2.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-shells/zsh/zsh_5.4.2.bb +1 -0
@@ -49,6 +49,7 @@ do_configure () { do_install_append () { rm -fr ${D}/usr/share + rmdir --ignore-fail-on-non-empty ${D}/usr } pkg_postinst_${PN} () {
Signature · 1 line
2.18.0
PATCH 2/2 open-vm-tools: Upgrade to 10.3.0
License-update: Copyright year and formatting changes
Signed-off-by Khem Raj <[email protected]>
---
...ns-about-glibc-being-only-libc-imple.patch | 45 --
...001-Use-off64_t-instead-of-__off64_t.patch | 31 ++
...ible-pointer-types-and-Wno-error-add.patch | 31 --
.../open-vm-tools/use-tirpc.patch | 481 ------------------
...ools_10.2.5.bb => open-vm-tools_10.3.0.bb} | 8 +-
5 files changed, 34 insertions(+), 562 deletions(-)
delete mode 100644 meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Remove-assumptions-about-glibc-being-only-libc-imple.patch
create mode 100644 meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Use-off64_t-instead-of-__off64_t.patch
delete mode 100644 meta-oe/recipes-support/open-vm-tools/open-vm-tools/0004-Add-Wno-incompatible-pointer-types-and-Wno-error-add.patch
delete mode 100644 meta-oe/recipes-support/open-vm-tools/open-vm-tools/use-tirpc.patch
rename meta-oe/recipes-support/open-vm-tools/{open-vm-tools_10.2.5.bb => open-vm-tools_10.3.0.bb} (92%)meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Remove-assumptions-about-glibc-being-only-libc-imple.patch deleted +0 -45
@@ -1,45 +0,0 @@ -From a0983d84185f04c4e40778fe951fde4439894882 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sun, 16 Jul 2017 07:37:03 -0700 -Subject: [PATCH 01/11] Remove assumptions about glibc being only libc - implementation on linux - -Signed-off-by: Khem Raj <[email protected]> ---- - open-vm-tools/lib/file/fileIOPosix.c | 2 +- - open-vm-tools/lib/include/vm_basic_defs.h | 2 ++ - 2 files changed, 3 insertions(+), 1 deletion(-) - -Index: open-vm-tools/lib/file/fileIOPosix.c -=================================================================== ---- open-vm-tools.orig/lib/file/fileIOPosix.c -+++ open-vm-tools/lib/file/fileIOPosix.c -@@ -205,7 +205,7 @@ static AlignedPool alignedPool; - * are not available in any header file. - */ - --#if defined(__linux__) && !defined(__ANDROID__) -+#if defined(__linux__) && defined(__GLIBC__) - #if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64) - /* - * We want preadv/pwritev. But due to FOB=64, the symbols are -64. -Index: open-vm-tools/lib/include/vm_basic_defs.h -=================================================================== ---- open-vm-tools.orig/lib/include/vm_basic_defs.h -+++ open-vm-tools/lib/include/vm_basic_defs.h -@@ -571,6 +571,7 @@ typedef int pid_t; - #if defined __linux__ && !defined __KERNEL__ && !defined MODULE && \ - !defined VMM && !defined FROBOS && !defined __ANDROID__ - #include <features.h> -+#if __GLIBC__ - #if __GLIBC_PREREQ(2, 1) && !defined GLIBC_VERSION_21 - #define GLIBC_VERSION_21 - #endif -@@ -590,6 +591,7 @@ typedef int pid_t; - #define GLIBC_VERSION_212 - #endif - #endif -+#endif - - /* - * Convenience definitions of unicode characters.
meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Use-off64_t-instead-of-__off64_t.patch new file +31 -0
@@ -0,0 +1,31 @@ +From 43d859f9d5eecdc0fdc1a6bf539bcde4a152e6f5 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Mon, 27 Aug 2018 23:22:21 -0700 +Subject: [PATCH] Use off64_t instead of __off64_t + +Fixes +unknown type name '__off64_t' + +Upstream-Status: Pending +Signed-off-by: Khem Raj <[email protected]> +--- + lib/file/fileIOPosix.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/file/fileIOPosix.c b/lib/file/fileIOPosix.c +index 23108279..bcd2ddc5 100644 +--- a/lib/file/fileIOPosix.c ++++ b/lib/file/fileIOPosix.c +@@ -206,10 +206,10 @@ static AlignedPool alignedPool; + * the symbols (and anyone building XOPEN<700 gets nothing). + */ + extern ssize_t preadv64(int fd, const struct iovec *iov, int iovcnt, +- __off64_t offset) __attribute__ ((weak)); ++ off64_t offset) __attribute__ ((weak)); + + extern ssize_t pwritev64(int fd, const struct iovec *iov, int iovcnt, +- __off64_t offset) __attribute__ ((weak)); ++ off64_t offset) __attribute__ ((weak)); + #else + #error "Large file support unavailable. Aborting." + #endif
meta-oe/recipes-support/open-vm-tools/open-vm-tools/0004-Add-Wno-incompatible-pointer-types-and-Wno-error-add.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From cdb0b3c898c6b6b6c8259d9ddb8b00163ac5e419 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sun, 16 Jul 2017 09:43:18 -0700 -Subject: [PATCH 04/11] Add -Wno-incompatible-pointer-types and - -Wno-error=address - -Signed-off-by: Khem Raj <[email protected]> ---- - open-vm-tools/lib/dynxdr/Makefile.am | 2 +- - open-vm-tools/lib/file/Makefile.am | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -Index: open-vm-tools/lib/dynxdr/Makefile.am -=================================================================== ---- open-vm-tools.orig/lib/dynxdr/Makefile.am -+++ open-vm-tools/lib/dynxdr/Makefile.am -@@ -20,4 +20,4 @@ noinst_LTLIBRARIES = libDynxdr.la - libDynxdr_la_SOURCES = - libDynxdr_la_SOURCES += dynxdr.c - libDynxdr_la_SOURCES += xdrutil.c -- -+libDynxdr_la_CPPFLAGS = -Wno-incompatible-pointer-types -Index: open-vm-tools/lib/file/Makefile.am -=================================================================== ---- open-vm-tools.orig/lib/file/Makefile.am -+++ open-vm-tools/lib/file/Makefile.am -@@ -27,3 +27,4 @@ libFile_la_SOURCES += fileLockPrimitive. - libFile_la_SOURCES += fileLockPosix.c - libFile_la_SOURCES += fileTempPosix.c - libFile_la_SOURCES += fileTemp.c -+libFile_la_CPPFLAGS = -Wno-error=address
meta-oe/recipes-support/open-vm-tools/open-vm-tools/use-tirpc.patch deleted +0 -481
481 lines not on this page · raw message
meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.3.0.bb renamed from meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.2.5.bb +3 -5
@@ -14,7 +14,7 @@ HOMEPAGE = "https://github.com/vmware/open-vm-tools" SECTION = "vmware-tools" LICENSE = "LGPL-2.0 & GPL-2.0 & BSD & CDDL-1.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e5000bc3c5a39b6e66579d72cc32b45a" +LIC_FILES_CHKSUM = "file://LICENSE;md5=559317809c5444fb39ceaf6ac45c43ac" LICENSE_modules/freebsd/vmblock = "BSD" LICENSE_modules/freebsd/vmmemctl = "GPL-2.0" LICENSE_modules/freebsd/vmxnet = "GPL-2.0"
@@ -27,20 +27,18 @@ SRC_URI = "git://github.com/vmware/open-vm-tools.git;protocol=https \ file://vmtoolsd.init \ file://0001-configure.ac-don-t-use-dnet-config.patch \ file://0002-add-include-sys-sysmacros.h.patch \ - file://0001-Remove-assumptions-about-glibc-being-only-libc-imple.patch \ - file://0004-Add-Wno-incompatible-pointer-types-and-Wno-error-add.patch \ file://0005-Use-configure-test-for-struct-timespec.patch \ file://0006-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch \ file://0007-Use-configure-to-test-for-feature-instead-of-platfor.patch \ file://0011-Use-configure-test-for-sys-stat.h-include.patch \ - file://use-tirpc.patch \ file://fix-subdir-objects-configure-error.patch \ file://0001-include-poll.h-instead-of-sys-poll.h.patch \ file://0002-Rename-poll.h-to-vm_poll.h.patch \ file://0003-use-posix-strerror_r-unless-on-gnu-libc-system.patch \ file://0004-Use-uintmax_t-for-handling-rlim_t.patch \ + file://0001-Use-off64_t-instead-of-__off64_t.patch \ " -SRCREV = "380a3d9747999e8bcbcbcd03b1402b702770db79" +SRCREV = "2147df6aabe639fc5ff423ed791a8e7f02bf8d0a" S = "${WORKDIR}/git/open-vm-tools"
Signature · 1 line
2.18.0