Xaw3d/xaw3d.patch
cvsdist 833ae1c216 auto-import changelog data from Xaw3d-1.5-7.src.rpm
Mon Jul 24 2000 Bill Nottingham <notting@redhat.com>
- ia64 tweaks
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Mon Jul 10 2000 Bernhard Rosenkraenzer <bero@redhat.de>
- Restore Xaw3d 1.5 - the addition of the backward compatibility library
    killed the current one.
- get rid of the CDEBUGFLAGS="" hack, the current gcc fixes it
Mon Jul 03 2000 Than Ngo <than@redhat.de>
- fix Imakefile to static Xawd3d
Sat Jun 17 2000 Than Ngo <than@redhat.de>
- add backward compatibility libXaw3d.so.6 (Bug# 12261)
Mon May 15 2000 Bill Nottingham <notting@redhat.com>
- fix unaligned traps on ia64
Mon May 08 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- 1.5
Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 21)
Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
- Injected new description and group.
Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
- bumped spec number for initial rh 6.0 build
Fri Nov 06 1998 Preston Brown <pbrown@redhat.com>
- added security/update patch from debian (the X11R6.3 patch). Thanks guys.
    :)
Wed Oct 14 1998 Cristian Gafton <gafton@redhat.com>
- handle the symlink with triggers instead of getting rid of it
Mon Oct 05 1998 Jeff Johnson <jbj@redhat.com>
- remove backward compatible symlink.
Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
- fixed the bad symlink
- BuildRoot
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Tue Nov 04 1997 Erik Troan <ewt@redhat.com>
- don't lave an improper return code from %pre
Mon Nov 03 1997 Cristian Gafton <gafton@redhat.com>
- take care of the old location of the Xaw3d includes in case that one
    exist
- updated Prereq: field
Sun Oct 26 1997 Cristian Gafton <gafton@redhat.com
- fixed the -devel package for the right include files path
Mon Oct 13 1997 Donnie Barnes <djb@redhat.com>
- minor spec file cleanups
Wed Oct 01 1997 Erik Troan <ewt@redhat.com>
- i18n widec.h patch needs to be applied on all systems
Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
- changed axp check to alpha
Mon Jun 16 1997 Erik Troan <ewt@redhat.com>
- built against glibc
2004-09-09 02:48:41 +00:00

31 lines
986 B
Diff

--- Xaw3d-1.5/xc/lib/Xaw3d/Scrollbar.c Tue Oct 15 07:41:21 1996
+++ Xaw3d-1.5.ia64/xc/lib/Xaw3d/Scrollbar.c Tue May 9 07:02:52 2000
@@ -1178,7 +1178,11 @@
Cardinal *num_params; /* unused */
{
register ScrollbarWidget sbw = (ScrollbarWidget) w;
- float top = sbw->scrollbar.top;
+ union {
+ XtPointer pt;
+ float top;
+ } foo;
+ foo.top = sbw->scrollbar.top;
#ifndef ARROW_SCROLLBAR
if (sbw->scrollbar.direction == 0) return; /* if no StartScroll */
@@ -1204,10 +1208,10 @@
there is no problem since in this case there is always a constant
integer number of pixels the thumb must be moved in order to scroll
to the next line/column. */
- top += 0.0001;
+ foo.top += 0.0001;
#endif
- XtCallCallbacks (w, XtNthumbProc, *(XtPointer*)&top);
- XtCallCallbacks (w, XtNjumpProc, (XtPointer)&top);
+ XtCallCallbacks (w, XtNthumbProc, foo.pt);
+ XtCallCallbacks (w, XtNjumpProc, (XtPointer)&sbw->scrollbar.top);
}