diff options
Diffstat (limited to 'dev-perl/perl-tk/files')
-rw-r--r-- | dev-perl/perl-tk/files/804.028-FBox.patch | 11 | ||||
-rw-r--r-- | dev-perl/perl-tk/files/804.028-MouseWheel.patch | 25 | ||||
-rw-r--r-- | dev-perl/perl-tk/files/804.028-path.patch | 24 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-perl/perl-tk/files/804.028-FBox.patch b/dev-perl/perl-tk/files/804.028-FBox.patch new file mode 100644 index 000000000000..02b77aad281b --- /dev/null +++ b/dev-perl/perl-tk/files/804.028-FBox.patch @@ -0,0 +1,11 @@ +--- perl-tk-804.028/Tk/FBox.pm ++++ perl-tk-804.028/Tk/FBox.pm +@@ -906,7 +906,7 @@ + if ($w->cget('-multiple')) { + $selectFilePath = []; + for my $f (@{ $w->{'selectFile'} }) { +- push @$selectFilePath, JoinFile($w->_get_select_Path, $f); ++ push @$selectFilePath, JoinFile($w->_get_select_path, $f); + } + } else { + $selectFilePath = JoinFile($w->_get_select_path, diff --git a/dev-perl/perl-tk/files/804.028-MouseWheel.patch b/dev-perl/perl-tk/files/804.028-MouseWheel.patch new file mode 100644 index 000000000000..6dabacb264f6 --- /dev/null +++ b/dev-perl/perl-tk/files/804.028-MouseWheel.patch @@ -0,0 +1,25 @@ +--- perl-tk-804.028/pTk/mTk/generic/tk.h ++++ perl-tk-804.028/pTk/mTk/generic/tk.h +@@ -677,17 +677,15 @@ + * + *--------------------------------------------------------------------------- + */ +-#define VirtualEvent (LASTEvent) +-#define ActivateNotify (LASTEvent + 1) +-#define DeactivateNotify (LASTEvent + 2) +-#define MouseWheelEvent (LASTEvent + 3) +-#define TK_LASTEVENT (LASTEvent + 4) ++#define VirtualEvent (MappingNotify + 1) ++#define ActivateNotify (MappingNotify + 2) ++#define DeactivateNotify (MappingNotify + 3) ++#define MouseWheelEvent (MappingNotify + 4) ++#define TK_LASTEVENT (MappingNotify + 5) + + #define MouseWheelMask (1L << 28) +- + #define ActivateMask (1L << 29) + #define VirtualEventMask (1L << 30) +-#define TK_LASTEVENT (LASTEvent + 4) + + + /* diff --git a/dev-perl/perl-tk/files/804.028-path.patch b/dev-perl/perl-tk/files/804.028-path.patch new file mode 100644 index 000000000000..8a3689c09a4f --- /dev/null +++ b/dev-perl/perl-tk/files/804.028-path.patch @@ -0,0 +1,24 @@ +--- perl-tk-804.028/pTk/Tcl-pTk ++++ perl-tk-804.028/pTk/Tcl-pTk +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + use open IO => ':bytes'; # Avoid UTF-8 issues with some perl5.8.0 (RedHat) + use Carp; + my $verbose = 0; +--- perl-tk-804.028.orig/pTk/mkVFunc ++++ perl-tk-804.028/pTk/mkVFunc +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + use strict; + + +--- perl-tk-804.028/TextList/reindex.pl ++++ perl-tk-804.028/TextList/reindex.pl +@@ -1,4 +1,4 @@ +-#!/bin/perl ++#!/usr/bin/perl + + use lib qw(/home1/gbartels/textlist); + use Tk; |