diff options
author | adamw <adamw@FreeBSD.org> | 2005-03-08 20:55:45 +0000 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2005-03-08 20:55:45 +0000 |
commit | 1bab7c3ac38081ff49e91a7fce59cc98b29e68ef (patch) | |
tree | fa5fb4f40c364eefe928fb08548969b8098edf24 /accessibility | |
parent | c6b1f864752b7b57c69f05d4c3cf1dcc28b7f859 (diff) | |
download | FreeBSD-ports-1bab7c3ac38081ff49e91a7fce59cc98b29e68ef.zip FreeBSD-ports-1bab7c3ac38081ff49e91a7fce59cc98b29e68ef.tar.gz |
Fix build on 4.X.
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/gnome-mag/files/patch-magnifier_magnifier.c | 12 | ||||
-rw-r--r-- | accessibility/gnomemag/files/patch-magnifier_magnifier.c | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/accessibility/gnome-mag/files/patch-magnifier_magnifier.c b/accessibility/gnome-mag/files/patch-magnifier_magnifier.c new file mode 100644 index 0000000..9b0193a --- /dev/null +++ b/accessibility/gnome-mag/files/patch-magnifier_magnifier.c @@ -0,0 +1,12 @@ +--- magnifier/magnifier.c.orig Tue Mar 8 15:52:39 2005 ++++ magnifier/magnifier.c Tue Mar 8 15:52:53 2005 +@@ -675,8 +675,8 @@ + static void magnifier_adjust_source_size (Magnifier *magnifier) + { + GNOME_Magnifier_RectBounds rect_bounds; +- magnifier_get_display_rect_bounds (magnifier, &rect_bounds, FALSE); + gdouble vfract, hfract; ++ magnifier_get_display_rect_bounds (magnifier, &rect_bounds, FALSE); + hfract = (double) (magnifier->target_bounds.x2 - magnifier->target_bounds.x1) / (double) (rect_bounds.x2 - rect_bounds.x1); + vfract = (double) (magnifier->target_bounds.y2 - magnifier->target_bounds.y1) / (double) (rect_bounds.y2 - rect_bounds.y1); + if (vfract > hfract) /* vertical splitpane, approximately */ diff --git a/accessibility/gnomemag/files/patch-magnifier_magnifier.c b/accessibility/gnomemag/files/patch-magnifier_magnifier.c new file mode 100644 index 0000000..9b0193a --- /dev/null +++ b/accessibility/gnomemag/files/patch-magnifier_magnifier.c @@ -0,0 +1,12 @@ +--- magnifier/magnifier.c.orig Tue Mar 8 15:52:39 2005 ++++ magnifier/magnifier.c Tue Mar 8 15:52:53 2005 +@@ -675,8 +675,8 @@ + static void magnifier_adjust_source_size (Magnifier *magnifier) + { + GNOME_Magnifier_RectBounds rect_bounds; +- magnifier_get_display_rect_bounds (magnifier, &rect_bounds, FALSE); + gdouble vfract, hfract; ++ magnifier_get_display_rect_bounds (magnifier, &rect_bounds, FALSE); + hfract = (double) (magnifier->target_bounds.x2 - magnifier->target_bounds.x1) / (double) (rect_bounds.x2 - rect_bounds.x1); + vfract = (double) (magnifier->target_bounds.y2 - magnifier->target_bounds.y1) / (double) (rect_bounds.y2 - rect_bounds.y1); + if (vfract > hfract) /* vertical splitpane, approximately */ |