aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-12-19 06:45:00 +0800
committerjkim <jkim@FreeBSD.org>2014-12-19 06:45:00 +0800
commitd0ab2de1929d0d073ac70e56409fac2af484f7c2 (patch)
tree888d1b0ed0953742687eba36888463d085e69150
parentb7b4d199c4004d413dd8c42666edc4803534b55e (diff)
downloadfreebsd-ports-gnome-d0ab2de1929d0d073ac70e56409fac2af484f7c2.tar.gz
freebsd-ports-gnome-d0ab2de1929d0d073ac70e56409fac2af484f7c2.tar.zst
freebsd-ports-gnome-d0ab2de1929d0d073ac70e56409fac2af484f7c2.zip
Add an X.org patch to fix emulators/virtualbox-ose-additions with GCC 4.2.
http://cgit.freedesktop.org/xorg/xserver/commit?id=ee9f766a PR: 195950 Obtained from: The X.Org project
-rw-r--r--emulators/virtualbox-ose/files/patch-src-VBox-Additions-x11-x11include-xorg-server-1.16.0-xf86Xinput.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose/files/patch-src-VBox-Additions-x11-x11include-xorg-server-1.16.0-xf86Xinput.h b/emulators/virtualbox-ose/files/patch-src-VBox-Additions-x11-x11include-xorg-server-1.16.0-xf86Xinput.h
new file mode 100644
index 000000000000..da1060ffb6ba
--- /dev/null
+++ b/emulators/virtualbox-ose/files/patch-src-VBox-Additions-x11-x11include-xorg-server-1.16.0-xf86Xinput.h
@@ -0,0 +1,28 @@
+--- src/VBox/Additions/x11/x11include/xorg-server-1.16.0/xf86Xinput.h.orig 2014-11-21 10:18:44.000000000 -0500
++++ src/VBox/Additions/x11/x11include/xorg-server-1.16.0/xf86Xinput.h 2014-12-18 16:26:57.000000000 -0500
+@@ -51,6 +51,7 @@
+ #ifndef _xf86Xinput_h
+ #define _xf86Xinput_h
+
++#include "xf86.h"
+ #include "xf86str.h"
+ #include "inputstr.h"
+ #include <X11/extensions/XI.h>
+@@ -85,7 +86,7 @@
+
+ /* This is to input devices what the ScrnInfoRec is to screens. */
+
+-typedef struct _InputInfoRec {
++struct _InputInfoRec {
+ struct _InputInfoRec *next;
+ char *name;
+ char *driver;
+@@ -110,7 +111,7 @@
+ void *module;
+ XF86OptionPtr options;
+ InputAttributes *attrs;
+-} *InputInfoPtr;
++};
+
+ /* xf86Globals.c */
+ extern InputInfoPtr xf86InputDevs;