diff --git a/srcpkgs/open-vm-tools/patches/0020-configure-kernelver.patch b/srcpkgs/open-vm-tools/patches/0020-configure-kernelver.patch new file mode 100644 index 00000000000..44416a9bc61 --- /dev/null +++ b/srcpkgs/open-vm-tools/patches/0020-configure-kernelver.patch @@ -0,0 +1,15 @@ +reason: drop localversion in x.y.z_LOCALVERSION, else later numeric comparisons +on `micro_version` fail. +upstream: no + +--- open-vm-tools/configure.ac ++++ open-vm-tools/configure.ac +@@ -100,7 +100,7 @@ + [AS_HELP_STRING([--with-kernel-release], + [specifies the kernel release you want to build against])], + [KERNEL_RELEASE="$withval"], +- [KERNEL_RELEASE=`uname -r`]) ++ [KERNEL_RELEASE=`uname -r | sed -e 's/_.*//'`]) + + AC_ARG_WITH([linuxdir], + [AS_HELP_STRING([--with-linuxdir], diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template index ffecab65967..98267b94d82 100644 --- a/srcpkgs/open-vm-tools/template +++ b/srcpkgs/open-vm-tools/template @@ -1,6 +1,6 @@ # Template file for 'open-vm-tools' pkgname=open-vm-tools -version=11.1.0 +version=11.1.5 revision=1 archs="x86_64* i686*" wrksrc="open-vm-tools-stable-${version}" @@ -19,13 +19,11 @@ license="GPL-2.0-only, LGPL-2.1-only" homepage="https://github.com/vmware/open-vm-tools" changelog="https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/ChangeLog" distfiles="https://github.com/vmware/open-vm-tools/archive/stable-${version}.tar.gz" -checksum=5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80 +checksum=0bbc20d725cb2e15db5bd5e6a9cbab7fc98c2e3208f19a233a2308468cb2dc04 build_options="pam x11" build_options_default="pam x11" -CFLAGS="-fcommon" - if [ "$XBPS_TARGET_LIBC" = "musl" ]; then configure_args+=" --disable-glibc-check" fi