pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41384: Perl/Tk events break if built with x11proto-core 7.0.13+



>Number:         41384
>Category:       pkg
>Synopsis:       Perl/Tk events break if built with x11proto-core 7.0.13+
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 08 12:55:00 +0000 2009
>Originator:     Thorsten Schmerer
>Release:        pkgsrc 08Q4, with modular X11
>Organization:
Silicon Image
>Environment:
Redhat Enterprise Linux 4.7

Linux hajsx1307 2.6.9-78.EL #1 Wed Jul 9 15:26:38 EDT 2008 x86_64 x86_64 x86_64 
GNU/Linux

>Description:
Tk events break if built with x11proto-core 7.0.13+

This is a known Bug in Perl/Tk. It is already fixed in the current developer 
release at CPAN.org but not in the stable release used for pkgsrc.

The bug description along with the patch (downloadable from the bug report) can 
be found at:

   http://rt.cpan.org/Public/Bug/Display.html?id=38746

Myself, I ran into the problem when using the Listbox widget of Perl/Tk, 
resulting in this error message:

"no event type or button # or keysym at Widget.pm line" ...

>How-To-Repeat:

>Fix:
The patchfile is available for download on the CPAN bug report page:

   http://rt.cpan.org/Public/Bug/Display.html?id=38746

It patches the file pTk/mTk/generic/tk.h , replacing some #define lines.

Simply putting the patchfile into the x11/p5-Tk/patches directory and "bmake 
makepatchsum" solved the problem after a recompile.



Home | Main Index | Thread Index | Old Index