summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2009-02-21 14:18:01 +0000
committerTorsten Veller <tove@gentoo.org>2009-02-21 14:18:01 +0000
commit4356eba16f15b6464c71f5f2b371aeba44d2477a (patch)
treee8275f5bf16a06a6c5f0e5442b0b897ef62b9f97 /dev-perl/perl-tk/files
parentVersion bump (diff)
downloadhistorical-4356eba16f15b6464c71f5f2b371aeba44d2477a.tar.gz
historical-4356eba16f15b6464c71f5f2b371aeba44d2477a.tar.bz2
historical-4356eba16f15b6464c71f5f2b371aeba44d2477a.zip
Fix bug #200859 (anti-aliased fonts) and bug #238079 (mouse wheel problem). Add jpeg and png dependencies.
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'dev-perl/perl-tk/files')
-rw-r--r--dev-perl/perl-tk/files/804.028-FBox.patch11
-rw-r--r--dev-perl/perl-tk/files/804.028-MouseWheel.patch25
-rw-r--r--dev-perl/perl-tk/files/804.028-path.patch24
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;