Skip to contentSkip to conversation

xf86-input-vmmouse: Make xf86-input-vmmouse available only to x86/x86_64 architectures

PATCH New Markos Chandras 3 participants 3 messages Apr 25, 2012 – May 1, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 xf86-input-vmmouse: Make xf86-input-vmmouse available only to x86/x86_64 architectures

The xf86-input-vmmouse source code fails to compile intentionally on any architecture but x86/x86_64. The following error is printed when compiling for a different architecture:

vmmouse_proto.h:62:2: error: #error The vmmouse protocol is only supported on x86 architectures.
vmmouse_proto.c:117:2: error: #error "VMMouse is only supported on x86 and x86-64.

---
 package/x11r7/xdriver_xf86-input-vmmouse/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
package/x11r7/xdriver_xf86-input-vmmouse/Config.in +1 -0
index 377e7e4..b2284cd 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_XDRIVER_XF86_INPUT_VMMOUSE
 	bool "xf86-input-vmmouse"
+	depends on BR2_i386 || BR2_x86_64
 	select BR2_PACKAGE_XSERVER_XORG_SERVER
 	select BR2_PACKAGE_XPROTO_INPUTPROTO
 	select BR2_PACKAGE_XPROTO_RANDRPROTO
Signature · 1 line
1.7.1
#1 lore raw

PATCH v2 1/1 xf86-input-vmmouse: Make xf86-input-vmmouse available only to x86/x86_64 architectures

Le Wed, 25 Apr 2012 16:49:02 +0100,
Markos Chandras <[email protected]> a ?crit :

Quoted 10 lines

The xf86-input-vmmouse source code fails to compile intentionally on any architecture but x86/x86_64. The following error is printed when compiling for a different architecture:

vmmouse_proto.h:62:2: error: #error The vmmouse protocol is only supported on x86 architectures.
vmmouse_proto.c:117:2: error: #error "VMMouse is only supported on x86 and x86-64.

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH v2 1/1 xf86-input-vmmouse: Make xf86-input-vmmouse available only to x86/x86_64 architectures

In reply to Markos Chandras
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Markos" == Markos Chandras <[email protected]> writes:

Markos> The xf86-input-vmmouse source code fails to compile Markos> intentionally on any architecture but x86/x86_64. The following Markos> error is printed when compiling for a different architecture:

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard