ab71dff0dd
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/ Signed-off-by: Karoly Kasza <kaszak@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
27 lines
730 B
Diff
27 lines
730 B
Diff
lib/misc/msgList.c: missing #ifdef
|
|
|
|
This macro checks for BSD style printf(), which is not present
|
|
when compiling for uClibc. The linked functions are unnecessary in
|
|
this case, and they break compilation.
|
|
|
|
Signed-off-by: Karoly Kasza <kaszak@gmail.com>
|
|
|
|
--- 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;
|
|
}
|
|
|
|
+#ifdef HAS_BSD_PRINTF
|
|
|
|
/*
|
|
*----------------------------------------------------------------------
|
|
@@ -566,6 +567,7 @@
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
/*
|
|
*----------------------------------------------------------------------
|