diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-27 20:54:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-27 20:54:43 +0100 |
commit | dab4468820bf30b5a0764b19f519006f0e6bb371 (patch) | |
tree | 81b0d4daac1676804b504ed5c49a833b334d1024 /app-text/gv/files/gv-3.7.4-remove-aliasing-violation.patch | |
parent | d654bb059f90c086625a31ce15747f8418cd4bd5 (diff) |
gentoo auto-resync : 27:08:2022 - 20:54:42
Diffstat (limited to 'app-text/gv/files/gv-3.7.4-remove-aliasing-violation.patch')
-rw-r--r-- | app-text/gv/files/gv-3.7.4-remove-aliasing-violation.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app-text/gv/files/gv-3.7.4-remove-aliasing-violation.patch b/app-text/gv/files/gv-3.7.4-remove-aliasing-violation.patch new file mode 100644 index 000000000000..540d590e4520 --- /dev/null +++ b/app-text/gv/files/gv-3.7.4-remove-aliasing-violation.patch @@ -0,0 +1,18 @@ +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) + } |