gentoo-ebuilds/app-text/gv/files/gv-3.7.4-remove-aliasing-violation.patch
Matt Turner bad533b896
app-text/gv: Version bump to 3.7.4
v3.7.4 was released in 2013, so this is a little overdue...

* Bump to EAPI=8
* Fix build with CFLAGS=-lflto (bug #855011)
* Fix build to call toolchain's AR (bug #729564)
* Add (+) to x11-libs/libXaw3d's unicode USE-dep
* Run gnuconfig_update since the included config.guess is ancient
* Apply a bunch of patches from Fedora

Closes: https://bugs.gentoo.org/729564
Closes: https://bugs.gentoo.org/855011
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2022-08-27 11:29:37 -04:00

18 lines
590 B
Diff

https://bugs.gentoo.org/855011
diff -ruN a/src/Scrollbar.c b/src/Scrollbar.c
--- a/src/Scrollbar.c
+++ b/src/Scrollbar.c
@@ -1364,12 +1364,6 @@
INFMESSAGE(returning due to LookAhead) ENDMESSAGE(NotifyThumb)
return;
}
- /*
- thumbProc is not pretty, but is necessary for backwards
- compatibility on those architectures for which it work{s,ed};
- the intent is to pass a (truncated) float by value.
- */
- XtCallCallbacks (w, XtNthumbProc, *(XtPointer*)&TOP);
XtCallCallbacks (w, XtNjumpProc, (XtPointer)&TOP);
ENDMESSAGE(NotifyThumb)
}