hi there

> > After libXaw3d-1.6.1 upgrade, gv-3.7.3 segfaults with:
> 
> I've started updating Fedora Rawhide to Xaw3d 1.6.1.  Fedora carries a 
> fair number of patches to the library that are still not yet upstream so 
> we're not yet complete.
> 
> However, I cannot compile gv 3.7.3 against it, I get the following
> 
> Scrollbar.c: In function 'Redisplay':
> Scrollbar.c:1009:4: error: too few arguments to function 
> 'swclass->threeD_class.shadowdraw'
> Scrollbar.c: In function 'NotifyThumb':
> Scrollbar.c:1372:4: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules [-Wstrict-aliasing]
> 
> 1.6.1 defines the shadowdraw interface explicitly:
> 
> < 1.5E > 1.6.1
> <     void (*shadowdraw)();
> ---
>  >     void (*shadowdraw)(Widget, XEvent *, Region, XtRelief, Boolean);
> 
> gv calls:
> 
>     (*swclass->threeD_class.shadowdraw) (w, event, region, FALSE);
> 
> Not sure what the proper last two arguments would be.
> 

this should be fixed by this patch:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/gv/files/gv-3.7.3-libXaw3d-1.6.patch?revision=1.1&view=markup

(at least it worked for me with Xaw3d 1.6, where that compilation problem
first appeared)

However, still no clue about the segfaults after apparent smooth
compilation with Xaw3d 1.6.1 ...


ciao
gabriele

-- 
Gabriele Balducci - Dipartimento di Scienze Chimiche - Via L. Giorgieri 1
I-34127 TRIESTE tel: I-040-5583957 fax: I-040-5583903 e-mail: [email protected]
Please, if possible, don't send me MS Word or PowerPoint attachments
Why? See: http://www.gnu.org/philosophy/no-word-attachments.html

Reply via email to