summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-VBoxOGL_FAKEDRI.patch
blob: 2dd66895704fbbbf2b81a5c791a9f0959a5040e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: missing __driDriverExtensions

 On Linux:
 # nm -D /usr/lib/VBoxOGL.so | grep __driDriverExtensions
 00000000003201b0 D __driDriverExtensions

 On Dyson:
 # nm -D /usr/lib/VBoxOGL.so | grep __driDriverExtensions

Index: virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk
===================================================================
--- virtualbox.orig/src/VBox/Additions/common/crOpenGL/Makefile.kmk	2014-06-04 16:43:11.911635780 +0400
+++ virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk	2014-06-08 22:29:06.674291553 +0400
@@ -53,9 +53,7 @@
 
 if1of ($(KBUILD_TARGET), linux solaris freebsd)
  #VBoxOGL_DRI = 1
- ifn1of ($(KBUILD_TARGET),solaris)   # No DRI on Solaris yet
-  VBoxOGL_FAKEDRI = 1
- endif
+ VBoxOGL_FAKEDRI = 1
 
  # Only Solaris right now needs C stubs because I can't figure out how to
  # generate the GOT based relocation ASM yet.