summaryrefslogtreecommitdiff
path: root/graphics/libcaca/patches/patch-ab
diff options
context:
space:
mode:
authorwiz <wiz>2004-08-15 12:40:07 +0000
committerwiz <wiz>2004-08-15 12:40:07 +0000
commitdca04a057d0e39c0f1553d100ec6eba51d6fbd86 (patch)
treea16cbe753f43b69b726075fe417543a1d969fe07 /graphics/libcaca/patches/patch-ab
parent8e1f2283d36a85bdd6e5b40d20498ac495553b62 (diff)
downloadpkgsrc-dca04a057d0e39c0f1553d100ec6eba51d6fbd86.tar.gz
Update to 0.9:
Changes between 0.8 and 0.9: ---------------------------- * fix for a buffer overflow in the line rendering * fixed resizing in the ncurses and slang drivers * aspect ratio and finer zoom support in cacaview * minor compilation fixes Changes between 0.7 and 0.8: ---------------------------- * window resizing support * native Win32 port * autorepeat emulation in the ncurses and slang drivers * support for more keycodes in the ncurses and slang drivers * cacaplas, a plasma animation example * cacamoir, a moiré circles animation example * MSVC project file Changes between 0.6 and 0.7: ---------------------------- * many bugfixes in the event handling * cacaball, a metaball animation example Changes between 0.5 and 0.6: ---------------------------- * 30% speed increase in the bitmap rendering routine * mouse support and various speed optimisations in the X11 driver * X11 is now the preferred driver * improved documentation * minor bugfixes Package change: use (n)curses by default instead of slang.
Diffstat (limited to 'graphics/libcaca/patches/patch-ab')
-rw-r--r--graphics/libcaca/patches/patch-ab20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/libcaca/patches/patch-ab b/graphics/libcaca/patches/patch-ab
new file mode 100644
index 00000000000..4e3b18ef70d
--- /dev/null
+++ b/graphics/libcaca/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 2004/08/15 12:40:07 wiz Exp $
+
+--- src/event.c.orig 2004-02-02 04:00:19.000000000 +0100
++++ src/event.c
+@@ -387,6 +387,7 @@ static unsigned int _lowlevel_event(void
+ return CACA_EVENT_KEY_PRESS | intkey;
+ }
+
++#if defined(MOUSE_SUPPORT)
+ if(intkey == KEY_MOUSE)
+ {
+ MEVENT mevent;
+@@ -515,6 +516,7 @@ static unsigned int _lowlevel_event(void
+
+ return CACA_EVENT_MOUSE_MOTION | (mouse_x << 12) | mouse_y;
+ }
++#endif
+
+ event = CACA_EVENT_KEY_PRESS;
+