Date: Sat, 13 Dec 2014 18:41:11 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 195950] New: VirtualBox Additions vxboxmouse compile error Message-ID: <bug-195950-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195950 Bug ID: 195950 Summary: VirtualBox Additions vxboxmouse compile error Product: Ports Tree Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: papowell@astart.com Created attachment 150550 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150550&action=edit Error Details System: FreeBSD amd64 9.3 running under VirtualBox Date: 13 Dec 2014 Installed all ports using PKGng. Installed Xorg-7.7_1 using PKGng. Installed kde-4-14 using PKGng. X.Org X Server 1.12.4 Compiled: /usr/ports/emulators/virtualbox-ose-additions In file included from /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.3.20/src/VBox/Additions/x11/vbox mouse/vboxmouse.c:50: /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.3.20/src/VBox/Additions/x11/x11i nclude/xorg-server-1.16.0/xf86Xinput.h:113: error: redefinition of typedef 'InputInfoPtr' /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.3.20/src/VBox/Additions/x11/x11i nclude/xorg-server-1.16.0/xf86.h:218: error: previous declaration of 'InputInfoPtr' was here NOTE 1: the X Server is version 1.12 but the VirtualBox compile appears to use xorg-server-1.16.0. NOTE 2: the following patch fixes this problem and the VirtualBox extensions compile and install. FIX: diff -bc work/VirtualBox-4.3.20/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/ xf86Xinput.h work.old/VirtualBox-4.3.20/src/VBox/Additions/x11/x11include/xorg-server -1.16.0/xf86Xinput.h *** work/VirtualBox-4.3.20/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/xf86X input.h Fri Nov 21 07:18:44 2014 --- work.old/VirtualBox-4.3.20/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/x f86Xinput.h Fri Dec 12 08:20:25 2014 *************** *** 85,91 **** --- 85,94 ---- /* This is to input devices what the ScrnInfoRec is to screens. */ + /* typedef struct _InputInfoRec { + */ + struct _InputInfoRec { struct _InputInfoRec *next; char *name; char *driver; *************** *** 110,116 **** void *module; XF86OptionPtr options; InputAttributes *attrs; ! } *InputInfoPtr; /* xf86Globals.c */ extern InputInfoPtr xf86InputDevs; --- 113,123 ---- void *module; XF86OptionPtr options; InputAttributes *attrs; ! }; ! /* ! *InputInfoPtr; ! */ ! //typedef struct _InputInfoRec *InputInfoPtr; /* xf86Globals.c */ extern InputInfoPtr xf86InputDevs; -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195950-13>