summaryrefslogtreecommitdiff
path: root/user/xf86-video-sis/virtualFrom.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-17 12:58:35 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-17 12:58:35 +0000
commit647f293cf3f53278eb63534c105505192423b9fd (patch)
treef7b7af88703351da2e3f0cd3754097f64f752257 /user/xf86-video-sis/virtualFrom.patch
parent17537862f03d74ec5949884c92b677846c48eeb4 (diff)
downloadpackages-647f293cf3f53278eb63534c105505192423b9fd.tar.gz
packages-647f293cf3f53278eb63534c105505192423b9fd.tar.bz2
packages-647f293cf3f53278eb63534c105505192423b9fd.tar.xz
packages-647f293cf3f53278eb63534c105505192423b9fd.zip
user/xf86-video-sis: new package
Diffstat (limited to 'user/xf86-video-sis/virtualFrom.patch')
-rw-r--r--user/xf86-video-sis/virtualFrom.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/user/xf86-video-sis/virtualFrom.patch b/user/xf86-video-sis/virtualFrom.patch
new file mode 100644
index 000000000..4413c4a0f
--- /dev/null
+++ b/user/xf86-video-sis/virtualFrom.patch
@@ -0,0 +1,28 @@
+From 4b1356a2b7fd06e9a05d134caa4033681c939737 Mon Sep 17 00:00:00 2001
+From: Adam Jackson <ajax@redhat.com>
+Date: Thu, 16 Feb 2017 11:21:27 -0500
+Subject: [PATCH 1/2] Remove reference to ->virtualFrom
+
+The core will print this information as well anyway.
+
+Signed-off-by: Adam Jackson <ajax@redhat.com>
+---
+ src/sis_driver.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/sis_driver.c b/src/sis_driver.c
+index 8f06164..513f68b 100644
+--- a/src/sis_driver.c
++++ b/src/sis_driver.c
+@@ -2738,7 +2738,7 @@ SiSPrintModes(ScrnInfoPtr pScrn)
+ float hsync, refresh = 0.0;
+ char *desc, *desc2, *prefix, *uprefix, *output;
+
+- xf86DrvMsg(pScrn->scrnIndex, pScrn->virtualFrom, "Virtual size is %dx%d "
++ xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Virtual size is %dx%d "
+ "(pitch %d)\n", pScrn->virtualX, pScrn->virtualY,
+ pScrn->displayWidth);
+
+--
+2.16.2
+