Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 510310 Details for
Bug 639448
x11-libs/gtkmathview-0.8.0-r3 : gtkmathview_common.cc:912:50: error: call of overloaded abs(guint32) is ambiguous
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This patch seems to work for me
gtkmathview-0.8.0-gcc7.patch (text/plain), 1.26 KB, created by
David Haller
on 2017-12-16 09:31:20 UTC
(
hide
)
Description:
This patch seems to work for me
Filename:
MIME Type:
Creator:
David Haller
Created:
2017-12-16 09:31:20 UTC
Size:
1.26 KB
patch
obsolete
>diff -x '*~' -purNb a/src/widget/gtkmathview_common.cc b/src/widget/gtkmathview_common.cc >--- a/src/widget/gtkmathview_common.cc 2007-08-17 12:02:35.000000000 +0200 >+++ b/src/widget/gtkmathview_common.cc 2017-12-16 10:20:48.849839617 +0100 >@@ -909,7 +909,7 @@ gtk_math_view_button_release_event(GtkWi > math_view->select_state == SELECT_STATE_NO && > fabs(math_view->button_press_x - event->x) <= CLICK_SPACE_RANGE && > fabs(math_view->button_press_y - event->y) <= CLICK_SPACE_RANGE && >- abs(math_view->button_press_time - event->time) <= CLICK_TIME_RANGE) >+ abs((int)(math_view->button_press_time - event->time)) <= CLICK_TIME_RANGE) > { > // the mouse should have not moved more than one pixel in each direction > // and the time elapsed from the press event should be no more than 250ms >@@ -969,7 +969,7 @@ gtk_math_view_motion_notify_event(GtkWid > (math_view->select_state == SELECT_STATE_YES || > fabs(math_view->button_press_x - x) > CLICK_SPACE_RANGE || > fabs(math_view->button_press_y - y) > CLICK_SPACE_RANGE || >- abs(math_view->button_press_time - event->time) > CLICK_TIME_RANGE)) >+ abs((int)(math_view->button_press_time - event->time)) > CLICK_TIME_RANGE)) > { > if (math_view->select_state == SELECT_STATE_NO) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 639448
:
507578
|
507580
|
507582
|
507584
|
507586
|
507588
|
507590
| 510310