termux-packages/x11-packages/xf86-video-dummy/ndk.patch

19 lines
511 B
Diff

--- ./src/dummy_driver.c.orig 2018-02-23 01:06:42.125661000 +0200
+++ ./src/dummy_driver.c 2018-02-23 01:06:50.741822039 +0200
@@ -436,15 +436,6 @@
/* If monitor resolution is set on the command line, use it */
xf86SetDpi(pScrn, 0, 0);
-
- if (xf86LoadSubModule(pScrn, "fb") == NULL) {
- RETURN;
- }
-
- if (!dPtr->swCursor) {
- if (!xf86LoadSubModule(pScrn, "ramdac"))
- RETURN;
- }
/* We have no contiguous physical fb in physical memory */
pScrn->memPhysBase = 0;