diff options
-rw-r--r-- | main/open-vm-tools/APKBUILD | 13 | ||||
-rw-r--r-- | main/open-vm-tools/werror.patch | 10 |
2 files changed, 18 insertions, 5 deletions
diff --git a/main/open-vm-tools/APKBUILD b/main/open-vm-tools/APKBUILD index 10f7712210..053581baaa 100644 --- a/main/open-vm-tools/APKBUILD +++ b/main/open-vm-tools/APKBUILD @@ -1,7 +1,8 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=open-vm-tools -pkgver=2012.05.21 -_pkgsubver=724730 +pkgver=9.2.0_p799703 +_pkgsubver=${pkgver#*_p} +_ver=${pkgver/_p/-} pkgrel=0 pkgdesc="The Open Virtual Machine Tools are the open source implementation of VMware Tools." url="http://open-vm-tools.sourceforge.net/" @@ -15,16 +16,17 @@ makedepends="procps-dev libdnet-dev icu-dev glib-dev pkgconfig bash libnotify-dev libxrandr-dev libxcomposite-dev libice-dev libsm-dev fuse-dev " -source="http://downloads.sourceforge.net/open-vm-tools/open-vm-tools-$pkgver-$_pkgsubver.tar.gz +source="http://downloads.sourceforge.net/project/open-vm-tools/open-vm-tools/stable-${pkgver%.*}.x/open-vm-tools-$_ver.tar.gz codeset-uclibc.patch iconv-uclibc.patch uclibc-stubs.patch libm.patch 0001-lib-misc-Recognize-Alpine-Linux.patch + werror.patch open-vm-tools.initd " -_builddir="$srcdir"/$pkgname-$pkgver-$_pkgsubver +_builddir="$srcdir"/$pkgname-$_ver prepare() { cd "$_builddir" @@ -82,10 +84,11 @@ gtk() { "$subpkgdir"/usr/lib/open-vm-tools/plugins/ } -md5sums="91affb5b23db8abceff930613845f434 open-vm-tools-2012.05.21-724730.tar.gz +md5sums="37341978a00a1568b898a8ce024f9da9 open-vm-tools-9.2.0-799703.tar.gz 82840b6bed002284b9bd2358707ee826 codeset-uclibc.patch 89c7449323ddac4666b73a8467baf95a iconv-uclibc.patch 30a4161baf6274ac9cceb879460cd894 uclibc-stubs.patch 7d02fc25aba5c248f3d98dac238f175b libm.patch 87b131c2208b32d9c0bb6fbacd7f75a9 0001-lib-misc-Recognize-Alpine-Linux.patch +e462f567cd5588d738af4cfa0dd13b3c werror.patch 905ef6a3bac87c9ba2e5d3897ca230e7 open-vm-tools.initd" diff --git a/main/open-vm-tools/werror.patch b/main/open-vm-tools/werror.patch new file mode 100644 index 0000000000..cd203cf81d --- /dev/null +++ b/main/open-vm-tools/werror.patch @@ -0,0 +1,10 @@ +--- ./configure.ac.orig ++++ ./configure.ac +@@ -832,7 +832,6 @@ + + ### General flags / actions + CFLAGS="$CFLAGS -Wall" +-CFLAGS="$CFLAGS -Werror" + + # -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident' in Xlib.h on OpenSolaris. + for TEST_CFLAG in -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing \ |