ODROID-U3 xorg-server debian package fork :
[deb_xorg-server.git] / debian / patches / 05_Revert-Unload-submodules.diff
CommitLineData
7217e0ca
ML
1From 272537ae14a04911fcf2fec51492fa0f91c4a676 Mon Sep 17 00:00:00 2001
2From: Julien Cristau <jcristau@debian.org>
3Date: Wed, 29 Aug 2012 20:16:40 +0200
4Subject: [PATCH] Revert "Unload submodules."
5
6This reverts commit 0d4bb5442ceb8e8e4a8de6cfc4203cae469eee72.
7
8This doesn't seem to work quite well. See Debian bug#686152.
9---
10 hw/xfree86/common/xf86Helper.c | 6 ++++++
11 1 file changed, 6 insertions(+)
12
13--- a/hw/xfree86/common/xf86Helper.c
14+++ b/hw/xfree86/common/xf86Helper.c
4db25562 15@@ -1597,7 +1597,13 @@ xf86LoadOneModule(char *name, pointer op
7217e0ca
ML
16 void
17 xf86UnloadSubModule(pointer mod)
18 {
19+ /*
20+ * This is disabled for now. The loader isn't smart enough yet to undo
21+ * relocations.
22+ */
23+#if 0
24 UnloadSubModule(mod);
25+#endif
26 }
27
28 Bool