Skip to contentSkip to conversation

package/openvmtools: introduce SUBDIR variable and update patches

PATCH New Karoly Kasza 2 participants 2 messages Jun 17, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/openvmtools: introduce SUBDIR variable and update patches

The Open-vm-tools package is now distributed from GitHub and a new subdirectory was introduced, which breaks the Buildroot process.

This patch adds the _SUBDIR variable in the Makefile and also updates all distributed patches.

Fixes:

http://autobuild.buildroot.net/results/bfd10c8d454a2686ebb1c4afdb49c55e39a9dd67/

---
 package/openvmtools/0001-has_bsd_printf.patch       |  4 ++--
 package/openvmtools/0002-no_cflags_werror.patch     | 11 ++++++-----
 package/openvmtools/0003-dont-force-cppflags.patch  |  5 ++---
 package/openvmtools/0004-uclibc_secure_getenv.patch |  4 ++--
 package/openvmtools/openvmtools.mk                  |  1 +
 5 files changed, 13 insertions(+), 12 deletions(-)
package/openvmtools/0001-has_bsd_printf.patch +2 -2
index 889f7d1..df23f00 100644
@@ -6,8 +6,8 @@ this case, and they break compilation.
 
 Signed-off-by: Karoly Kasza <[email protected]>
 
---- open-vm-tools-9.4.6-1770165.orig/lib/misc/msgList.c	2014-07-02 00:21:14.000000000 +0200
-+++ open-vm-tools-9.4.6-1770165/lib/misc/msgList.c	2014-07-29 13:40:40.000000000 +0200
+--- openvmtools-stable-9.10.0.orig/open-vm-tools/lib/misc/msgList.c	2015-06-17 10:01:00.000000000 +0200
++++ openvmtools-stable-9.10.0/open-vm-tools/lib/misc/msgList.c		2015-06-17 10:01:00.000000000 +0200
 @@ -487,6 +487,7 @@
     return messages->id;
  }
package/openvmtools/0002-no_cflags_werror.patch +6 -5
index 96bd355..1621574 100644
@@ -4,14 +4,15 @@ Disable the mandatory flag -Werror in configure.ac.
 
 Signed-off-by: Karoly Kasza <[email protected]>
 
---- open-vm-tools-9.4.6-1770165.orig/configure.ac	2014-07-02 00:21:14.000000000 +0200
-+++ open-vm-tools-9.4.6-1770165/configure.ac	2014-09-15 16:03:47.565900402 +0200
-@@ -832,7 +832,7 @@
+--- openvmtools-stable-9.10.0.orig/open-vm-tools/configure.ac	2015-06-17 10:02:00.000000000 +0200
++++ openvmtools-stable-9.10.0/open-vm-tools/configure.ac	2015-06-17 10:02:00.000000000 +0200
+@@ -935,7 +935,7 @@
  
  ### General flags / actions
  CFLAGS="$CFLAGS -Wall"
 -CFLAGS="$CFLAGS -Werror"
 +# 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 \
+ # -Wno-unknown-pragmas is due to gcc not understanding '#pragma ident'
+ # in Xlib.h on OpenSolaris.
+
package/openvmtools/0003-dont-force-cppflags.patch +2 -3
index 8f904b1..c8fa6b1 100644
@@ -4,9 +4,8 @@ This is so horribly broken for cross-compilation. :-(
 
 Signed-off-by: "Yann E. MORIN" <[email protected]>
 
-diff -durN openvmtools-9.4.6-1770165.orig/m4/vmtools.m4 openvmtools-9.4.6-1770165/m4/vmtools.m4
---- openvmtools-9.4.6-1770165.orig/m4/vmtools.m4	2014-07-02 00:21:14.000000000 +0200
-+++ openvmtools-9.4.6-1770165/m4/vmtools.m4	2014-09-21 12:39:15.901659888 +0200
+--- openvmtools-stable-9.10.0.orig/open-vm-tools/m4/vmtools.m4	2015-06-17 10:03:00.000000000 +0200
++++ openvmtools-stable-9.10.0/open-vm-tools/m4/vmtools.m4	2015-06-17 10:03:00.000000000 +0200
 @@ -281,10 +281,10 @@
        if test "$os" = freebsd; then
           CUSTOM_$1_CPPFLAGS="-I/usr/local/include"
package/openvmtools/0004-uclibc_secure_getenv.patch +2 -2
index 28cfdc4..6fb9ebd 100644
@@ -5,8 +5,8 @@ Android method.
 
 Signed-off-by: Karoly Kasza <[email protected]>
 
---- open-vm-tools-9.10.0-2476743.orig/lib/misc/idLinux.c	2015-03-29 12:19:30.776922510 +0200
-+++ open-vm-tools-9.10.0-2476743/lib/misc/idLinux.c	2015-03-29 12:30:30.000000000 +0200
+--- openvmtools-stable-9.10.0.orig/open-vm-tools/lib/misc/idLinux.c	2015-06-17 10:04:00.000000000 +0200
++++ openvmtools-stable-9.10.0/open-vm-tools/lib/misc/idLinux.c		2015-06-17 10:04:00.000000000 +0200
 @@ -997,7 +997,7 @@
  static Bool
  IdIsSetUGid(void)
package/openvmtools/openvmtools.mk +1 -0
index 822bbf1..9819640 100644
@@ -10,6 +10,7 @@ OPENVMTOOLS_LICENSE = LGPLv2.1
 OPENVMTOOLS_LICENSE_FILES = COPYING
 # Autoreconf needed or config/missing will run configure again at buildtime
 OPENVMTOOLS_AUTORECONF = YES
+OPENVMTOOLS_SUBDIR = open-vm-tools
 OPENVMTOOLS_CONF_OPTS = --with-dnet \
 	--without-icu --without-x --without-gtk2 \
 	--without-gtkmm --without-kernel-modules \
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 package/openvmtools: introduce SUBDIR variable and update patches

Dear Karoly Kasza,

Quoted 10 lines · Karoly Kasza

The Open-vm-tools package is now distributed from GitHub and a new subdirectory was introduced, which breaks the Buildroot process.

This patch adds the _SUBDIR variable in the Makefile and also updates all distributed patches.

Fixes:

http://autobuild.buildroot.net/results/bfd10c8d454a2686ebb1c4afdb49c55e39a9dd67/

Quoted 8 lines
---
 package/openvmtools/0001-has_bsd_printf.patch       |  4 ++--
 package/openvmtools/0002-no_cflags_werror.patch     | 11 ++++++-----
 package/openvmtools/0003-dont-force-cppflags.patch  |  5 ++---
 package/openvmtools/0004-uclibc_secure_getenv.patch |  4 ++--
 package/openvmtools/openvmtools.mk                  |  1 +
 5 files changed, 13 insertions(+), 12 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com