aboutsummaryrefslogtreecommitdiffstats
path: root/editors/glimmer
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2007-04-07 13:53:56 +0800
committermarcus <marcus@FreeBSD.org>2007-04-07 13:53:56 +0800
commit130ae245c08270d72fc7c1fb721ba09c578f7351 (patch)
treef65dc0a6dd2fed247d1fb2479f0641e687c87fd5 /editors/glimmer
parent91948da4c2e6936039afbdc106cb02928a71ac26 (diff)
downloadfreebsd-ports-gnome-130ae245c08270d72fc7c1fb721ba09c578f7351.tar.gz
freebsd-ports-gnome-130ae245c08270d72fc7c1fb721ba09c578f7351.tar.zst
freebsd-ports-gnome-130ae245c08270d72fc7c1fb721ba09c578f7351.zip
Fix the build with GCC 4.x.
Reported by: pointyhat via kris
Diffstat (limited to 'editors/glimmer')
-rw-r--r--editors/glimmer/files/patch-src_gtkextext_gtkextext.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/editors/glimmer/files/patch-src_gtkextext_gtkextext.c b/editors/glimmer/files/patch-src_gtkextext_gtkextext.c
new file mode 100644
index 000000000000..4518af2b8394
--- /dev/null
+++ b/editors/glimmer/files/patch-src_gtkextext_gtkextext.c
@@ -0,0 +1,12 @@
+--- src/gtkextext/gtkextext.c.orig Sat Apr 7 01:47:56 2007
++++ src/gtkextext/gtkextext.c Sat Apr 7 01:52:20 2007
+@@ -1140,7 +1140,8 @@ line_set_cursor_pos (GtkExText * text, g
+ val = (gfloat) width;
+ gtk_adjustment_set_value (text->hadj, val);
+ } else if (text->draw_numbers && width < (val + text->gutter_width)) {
+- val = (gfloat) width -= text->gutter_width;
++ width -= text->gutter_width;
++ val = (gfloat) width;
+ gtk_adjustment_set_value (text->hadj, val);
+ }
+