diff options
author | ume <ume@FreeBSD.org> | 2005-12-19 03:03:26 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-12-19 03:03:26 +0800 |
commit | 7fa6ff55f403cf7c84874e0b819a2a3cac467562 (patch) | |
tree | 898c65edc116327136e9c53d96a78180fdd5a44d /japanese/libtomoe-gtk | |
parent | dd7e3c8b07389da8a546435954a5f154a5dfe8e4 (diff) | |
download | freebsd-ports-gnome-7fa6ff55f403cf7c84874e0b819a2a3cac467562.tar.gz freebsd-ports-gnome-7fa6ff55f403cf7c84874e0b819a2a3cac467562.tar.zst freebsd-ports-gnome-7fa6ff55f403cf7c84874e0b819a2a3cac467562.zip |
make it buildable on 4.x.
Diffstat (limited to 'japanese/libtomoe-gtk')
-rw-r--r-- | japanese/libtomoe-gtk/files/patch-src::tomoe_canvas.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/japanese/libtomoe-gtk/files/patch-src::tomoe_canvas.c b/japanese/libtomoe-gtk/files/patch-src::tomoe_canvas.c new file mode 100644 index 000000000000..303bfb332b42 --- /dev/null +++ b/japanese/libtomoe-gtk/files/patch-src::tomoe_canvas.c @@ -0,0 +1,17 @@ +Index: src/tomoe_canvas.c +diff -u -p src/tomoe_canvas.c.orig src/tomoe_canvas.c +--- src/tomoe_canvas.c.orig Tue Oct 18 17:56:15 2005 ++++ src/tomoe_canvas.c Mon Dec 19 03:53:30 2005 +@@ -1073,9 +1073,11 @@ draw_stroke (GList *stroke, TomoeCanvas + + for (node = stroke; node; node = g_list_next (node)) { + GList *next = g_list_next (node); ++ point *p1, *p2; + if (!next) break; + +- point *p1 = (point*) node->data, *p2 = (point*) next->data; ++ p1 = (point*) node->data; ++ p2 = (point*) next->data; + tomoe_canvas_draw_line (canvas, p1, p2, FALSE); + } + draw_annotate (stroke, canvas, *index); |