From 090082ae01ab61c2a3e68ac28026e39d768edca7 Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Tue, 4 Apr 2006 14:13:52 +0000 Subject: [PATCH] Stefan Fiedler: aumix: fix for gpm without duplicated ncurses symbols Index: package/tibit/aumix/Gpm_Wgetch.patch =================================================================== [2006032923494113769] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7433 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/tibit/aumix/Gpm_Wgetch.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/tibit/aumix/Gpm_Wgetch.patch diff --git a/package/tibit/aumix/Gpm_Wgetch.patch b/package/tibit/aumix/Gpm_Wgetch.patch new file mode 100644 index 000000000..2d22269ad --- /dev/null +++ b/package/tibit/aumix/Gpm_Wgetch.patch @@ -0,0 +1,16 @@ +--- ./src/mouse.c~ 2002-05-07 10:41:38.000000000 +0200 ++++ ./src/mouse.c 2006-03-29 22:35:28.000000000 +0200 +@@ -75,11 +75,9 @@ + conn.maxMod = 0; + conn.minMod = 0; + /* don't check for < 0, gpm-xterm returns -2 */ +- if (Gpm_Open(&conn, 0) != -1) { ++ if (Gpm_Open(&conn, 0) != -1) + gpm_handler = MouseHandler; +- Wgetch = Gpm_Wgetch; +- } else +- Wgetch = wgetch; ++ Wgetch = wgetch; + #if HAVE_GETMOUSE + /* enable ncurses mouse reporting */ + #define MMASK (BUTTON1_PRESSED | BUTTON1_CLICKED | \