diff options
author | Brian P. Hinz <bphinz@users.sf.net> | 2014-12-26 00:53:33 -0500 |
---|---|---|
committer | Brian P. Hinz <bphinz@users.sf.net> | 2014-12-26 01:17:12 -0500 |
commit | f882232f81c270eee49c673b69b1797bdd6fb2f7 (patch) | |
tree | 27f4a287f76a4c1160aa73ef1d65832731f14c49 /contrib/packages/rpm/sle11/SOURCES/p_bug96328.diff | |
parent | 5aa7cfa17c6a535f05da216fb7fbd70e2c23c8d8 (diff) | |
download | tigervnc-f882232f81c270eee49c673b69b1797bdd6fb2f7.tar.gz tigervnc-f882232f81c270eee49c673b69b1797bdd6fb2f7.zip |
Remove support for openSUSE 11.4
Project Evergreen stopped supporting 11.4 in October and it's not feasible to
back-port the patches for the Xorg 2014-12-09 CVEs, so as a result we can no
longer provide pre-built packages for this distribution. The genric binaries
can be used instead.
(cherry picked from commit f2079c0e421b9b951f4e6c72bcdeded8b804f1df)
Diffstat (limited to 'contrib/packages/rpm/sle11/SOURCES/p_bug96328.diff')
-rw-r--r-- | contrib/packages/rpm/sle11/SOURCES/p_bug96328.diff | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/contrib/packages/rpm/sle11/SOURCES/p_bug96328.diff b/contrib/packages/rpm/sle11/SOURCES/p_bug96328.diff deleted file mode 100644 index 3fe9f46b..00000000 --- a/contrib/packages/rpm/sle11/SOURCES/p_bug96328.diff +++ /dev/null @@ -1,52 +0,0 @@ -Index: hw/xfree86/common/xf86Configure.c -================================================================================ ---- hw/xfree86/common/xf86Configure.c -+++ hw/xfree86/common/xf86Configure.c -@@ -250,23 +250,35 @@ - - /* Crude mechanism to auto-detect mouse (os dependent) */ - { -- int fd; -+ int fd = -1; - #ifdef WSCONS_SUPPORT -- fd = open("/dev/wsmouse", 0); -- if (fd >= 0) { -- DFLT_MOUSE_DEV = "/dev/wsmouse"; -- DFLT_MOUSE_PROTO = "wsmouse"; -- close(fd); -- } else { -- ErrorF("cannot open /dev/wsmouse\n"); -+ if (fd == -1) { -+ fd = open("/dev/wsmouse", 0); -+ if (fd != -1) { -+ DFLT_MOUSE_DEV = "/dev/wsmouse"; -+ DFLT_MOUSE_PROTO = "wsmouse"; -+ close(fd); -+ } else { -+ ErrorF("cannot open /dev/wsmouse\n"); -+ } - } - #endif - - #ifndef __SCO__ -- fd = open(DFLT_MOUSE_DEV, 0); -- if (fd != -1) { -- foundMouse = TRUE; -- close(fd); -+ if (fd == -1) { -+ fd = open(DFLT_MOUSE_DEV, 0); -+# ifdef linux -+ if (fd == -1) { -+ char *name = "/dev/input/mice"; -+ fd = open(name, 0); -+ if (fd != -1) -+ DFLT_MOUSE_DEV = name; -+ } -+# endif -+ if (fd != -1) { -+ foundMouse = TRUE; -+ close(fd); -+ } - } - #else - foundMouse = TRUE; |