CVS commit: xsrc/external/mit/xf86-video-vboxvideo/dist/src

2020-10-22 Thread Jason R Thorpe
Module Name:xsrc
Committed By:   thorpej
Date:   Thu Oct 22 20:47:23 UTC 2020

Modified Files:
xsrc/external/mit/xf86-video-vboxvideo/dist/src: Makefile.am
Makefile.in edid.c getmode.c helpers.c pointer.c setmode.c
vboxvideo.c vbva.c
Added Files:
xsrc/external/mit/xf86-video-vboxvideo/dist/src: vboxvideo_drv.h
Removed Files:
xsrc/external/mit/xf86-video-vboxvideo/dist/src: vboxvideo.h

Log Message:
Rename vboxvideo.h -> vboxvideo_drv.h, so that this can be built on
a host with a case-insensitive + case-preserving file system.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
xsrc/external/mit/xf86-video-vboxvideo/dist/src/Makefile.am \
xsrc/external/mit/xf86-video-vboxvideo/dist/src/Makefile.in \
xsrc/external/mit/xf86-video-vboxvideo/dist/src/edid.c \
xsrc/external/mit/xf86-video-vboxvideo/dist/src/getmode.c \
xsrc/external/mit/xf86-video-vboxvideo/dist/src/helpers.c \
xsrc/external/mit/xf86-video-vboxvideo/dist/src/pointer.c \
xsrc/external/mit/xf86-video-vboxvideo/dist/src/setmode.c \
xsrc/external/mit/xf86-video-vboxvideo/dist/src/vboxvideo.c \
xsrc/external/mit/xf86-video-vboxvideo/dist/src/vbva.c
cvs rdiff -u -r1.1.1.1 -r0 \
xsrc/external/mit/xf86-video-vboxvideo/dist/src/vboxvideo.h
cvs rdiff -u -r0 -r1.1 \
xsrc/external/mit/xf86-video-vboxvideo/dist/src/vboxvideo_drv.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-vboxvideo/dist/src/Makefile.am
diff -u xsrc/external/mit/xf86-video-vboxvideo/dist/src/Makefile.am:1.1.1.1 xsrc/external/mit/xf86-video-vboxvideo/dist/src/Makefile.am:1.2
--- xsrc/external/mit/xf86-video-vboxvideo/dist/src/Makefile.am:1.1.1.1	Wed Jan  9 23:50:31 2019
+++ xsrc/external/mit/xf86-video-vboxvideo/dist/src/Makefile.am	Thu Oct 22 20:47:23 2020
@@ -59,7 +59,7 @@ vboxvideo_drv_la_SOURCES = \
  vboxvideo.c \
  VBoxVideoErr.h \
  VBoxVideoGuest.h \
- vboxvideo.h \
+ vboxvideo_drv.h \
  VBoxVideo.h \
  VBoxVideoIPRT.h \
  VBoxVideoVBE.h \
Index: xsrc/external/mit/xf86-video-vboxvideo/dist/src/Makefile.in
diff -u xsrc/external/mit/xf86-video-vboxvideo/dist/src/Makefile.in:1.1.1.1 xsrc/external/mit/xf86-video-vboxvideo/dist/src/Makefile.in:1.2
--- xsrc/external/mit/xf86-video-vboxvideo/dist/src/Makefile.in:1.1.1.1	Wed Jan  9 23:50:31 2019
+++ xsrc/external/mit/xf86-video-vboxvideo/dist/src/Makefile.in	Thu Oct 22 20:47:23 2020
@@ -408,7 +408,7 @@ vboxvideo_drv_la_SOURCES = \
  vboxvideo.c \
  VBoxVideoErr.h \
  VBoxVideoGuest.h \
- vboxvideo.h \
+ vboxvideo_drv.h \
  VBoxVideo.h \
  VBoxVideoIPRT.h \
  VBoxVideoVBE.h \
Index: xsrc/external/mit/xf86-video-vboxvideo/dist/src/edid.c
diff -u xsrc/external/mit/xf86-video-vboxvideo/dist/src/edid.c:1.1.1.1 xsrc/external/mit/xf86-video-vboxvideo/dist/src/edid.c:1.2
--- xsrc/external/mit/xf86-video-vboxvideo/dist/src/edid.c:1.1.1.1	Wed Jan  9 23:50:31 2019
+++ xsrc/external/mit/xf86-video-vboxvideo/dist/src/edid.c	Thu Oct 22 20:47:23 2020
@@ -1,4 +1,4 @@
-/* $Id: edid.c,v 1.1.1.1 2019/01/09 23:50:31 mrg Exp $ */
+/* $Id: edid.c,v 1.2 2020/10/22 20:47:23 thorpej Exp $ */
 /** @file
  *
  * Linux Additions X11 graphics driver, EDID construction
@@ -39,7 +39,7 @@
 #include "misc.h"
 #include "xf86DDC.h"
 #include "xf86Crtc.h"
-#include "vboxvideo.h"
+#include "vboxvideo_drv.h"
 
 enum { EDID_SIZE = 128 };
 
Index: xsrc/external/mit/xf86-video-vboxvideo/dist/src/getmode.c
diff -u xsrc/external/mit/xf86-video-vboxvideo/dist/src/getmode.c:1.1.1.1 xsrc/external/mit/xf86-video-vboxvideo/dist/src/getmode.c:1.2
--- xsrc/external/mit/xf86-video-vboxvideo/dist/src/getmode.c:1.1.1.1	Wed Jan  9 23:50:31 2019
+++ xsrc/external/mit/xf86-video-vboxvideo/dist/src/getmode.c	Thu Oct 22 20:47:23 2020
@@ -1,4 +1,4 @@
-/* $Id: getmode.c,v 1.1.1.1 2019/01/09 23:50:31 mrg Exp $ */
+/* $Id: getmode.c,v 1.2 2020/10/22 20:47:23 thorpej Exp $ */
 /** @file
  * VirtualBox X11 Additions graphics driver dynamic video mode functions.
  */
@@ -25,7 +25,7 @@
  * USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include "vboxvideo.h"
+#include "vboxvideo_drv.h"
 
 #define NEED_XF86_TYPES
 #include "xf86.h"
Index: xsrc/external/mit/xf86-video-vboxvideo/dist/src/helpers.c
diff -u xsrc/external/mit/xf86-video-vboxvideo/dist/src/helpers.c:1.1.1.1 xsrc/external/mit/xf86-video-vboxvideo/dist/src/helpers.c:1.2
--- xsrc/external/mit/xf86-video-vboxvideo/dist/src/helpers.c:1.1.1.1	Wed Jan  9 23:50:31 2019
+++ xsrc/external/mit/xf86-video-vboxvideo/dist/src/helpers.c	Thu Oct 22 20:47:23 2020
@@ -20,7 +20,7 @@
  * USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include "vboxvideo.h"
+#include "vboxvideo_drv.h"
 #include "os.h"
 #include "propertyst.h"
 #include "windowstr.h"
Index: 

CVS commit: xsrc/external/mit/xf86-video-vboxvideo/dist/src

2019-01-31 Thread Christos Zoulas
Module Name:xsrc
Committed By:   christos
Date:   Thu Jan 31 20:46:43 UTC 2019

Modified Files:
xsrc/external/mit/xf86-video-vboxvideo/dist/src: VBoxVideoIPRT.h

Log Message:
Don't play smart with the compiler, it complains about unused values.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
xsrc/external/mit/xf86-video-vboxvideo/dist/src/VBoxVideoIPRT.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-vboxvideo/dist/src/VBoxVideoIPRT.h
diff -u xsrc/external/mit/xf86-video-vboxvideo/dist/src/VBoxVideoIPRT.h:1.1.1.1 xsrc/external/mit/xf86-video-vboxvideo/dist/src/VBoxVideoIPRT.h:1.2
--- xsrc/external/mit/xf86-video-vboxvideo/dist/src/VBoxVideoIPRT.h:1.1.1.1	Wed Jan  9 18:50:31 2019
+++ xsrc/external/mit/xf86-video-vboxvideo/dist/src/VBoxVideoIPRT.h	Thu Jan 31 15:46:43 2019
@@ -1,4 +1,4 @@
-/* $Id: VBoxVideoIPRT.h,v 1.1.1.1 2019/01/09 23:50:31 mrg Exp $ */
+/* $Id: VBoxVideoIPRT.h,v 1.2 2019/01/31 20:46:43 christos Exp $ */
 /*
  * Copyright (C) 2017 Oracle Corporation
  *
@@ -116,7 +116,11 @@ RT_C_DECLS_END
 #define RT_CLAMP(Value, Min, Max)   ( (Value) > (Max) ? (Max) : (Value) < (Min) ? (Min) : (Value) )
 #define RT_ELEMENTS(aArray) ( sizeof(aArray) / sizeof((aArray)[0]) )
 #define RTIOPORT unsigned short
+#ifdef __clang__
+#define RT_NOREF(...)   ((void)0)
+#else
 #define RT_NOREF(...)   (void)(__VA_ARGS__)
+#endif
 #define RT_OFFSETOF(type, member) offsetof(type, member)
 #define RT_ZERO(Obj)RT_BZERO(&(Obj), sizeof(Obj))
 #define VALID_PTR(ptr)(   (uintptr_t)(ptr) + 0x1000U >= 0x2000U )