perl/perl-tk: Updated for version 804.031.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
ArTourter 2013-11-03 10:25:31 -06:00 committed by Robby Workman
parent 57cafca9a6
commit ae093eaf82
5 changed files with 15 additions and 56 deletions

View File

@ -1,19 +0,0 @@
https://bugs.gentoo.org/show_bug.cgi?id=345987
--- Tk-804.029/pTk/Xlib.h
+++ Tk-804.029/pTk/Xlib.h
@@ -1,6 +1,7 @@
#ifndef _XLIB
#define _XLIB
#ifndef _XLIB_H_
+#ifndef _X11_XLIB_H_
extern XFontStruct *XLoadQueryFont _ANSI_ARGS_((Display *, const char *));
extern XModifierKeymap *XGetModifierMapping _ANSI_ARGS_((Display *));
extern XImage *XCreateImage _ANSI_ARGS_((Display *, Visual *, unsigned int, int, int, char *, unsigned int, unsigned int, int, int));
@@ -143,6 +144,7 @@
extern Window XGetSelectionOwner _ANSI_ARGS_((Display *, Atom));
extern int XRectInRegion _ANSI_ARGS_((Region,int,int,unsigned,unsigned));
extern int XSubtractRegion _ANSI_ARGS_((Region, Region, Region));
+#endif /* _X11_XLIB_H_ */
#endif /* _XLIB_H_ */
extern int _XInitImageFuncPtrs _ANSI_ARGS_((XImage *image));
#endif /* _XLIB */

View File

@ -1,27 +0,0 @@
diff -ru Tk-804.029.org//TextList/reindex.pl Tk-804.029/TextList/reindex.pl
--- Tk-804.029.org//TextList/reindex.pl 2007-02-10 05:54:45.000000000 -0300
+++ Tk-804.029/TextList/reindex.pl 2010-08-05 13:53:36.447371174 -0300
@@ -1,4 +1,4 @@
-#!/bin/perl
+#!/usr/bin/perl
use lib qw(/home1/gbartels/textlist);
use Tk;
diff -ru Tk-804.029.org//pTk/Tcl-pTk Tk-804.029/pTk/Tcl-pTk
--- Tk-804.029.org//pTk/Tcl-pTk 2007-02-10 05:55:23.000000000 -0300
+++ Tk-804.029/pTk/Tcl-pTk 2010-08-05 13:54:06.527369253 -0300
@@ -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;
diff -ru Tk-804.029.org//pTk/mkVFunc Tk-804.029/pTk/mkVFunc
--- Tk-804.029.org//pTk/mkVFunc 2008-11-04 20:06:50.000000000 -0200
+++ Tk-804.029/pTk/mkVFunc 2010-08-05 13:54:20.074244152 -0300
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
use strict;

View File

@ -0,0 +1,9 @@
diff -ru Tk-804.031.org/TextList/reindex.pl Tk-804.031/TextList/reindex.pl
--- Tk-804.031.org/TextList/reindex.pl 2007-02-10 05:54:45.000000000 -0300
+++ Tk-804.031/TextList/reindex.pl 2010-08-05 13:53:36.447371174 -0300
@@ -1,4 +1,4 @@
-#!/bin/perl
+#!/usr/bin/perl
use lib qw(/home1/gbartels/textlist);
use Tk;

View File

@ -5,8 +5,8 @@
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
PRGNAM=perl-tk
VERSION=${VERSION:-804.029}
BUILD=${BUILD:-2}
VERSION=${VERSION:-804.031}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -54,10 +54,6 @@ find . \
# Apply a few patches
patch -p1 < $CWD/patches/$PRGNAM-$VERSION.diff
# Fix build failure with libX11-1.4.0 where they added an "X11_" string to
# header guards to avoid possible collision.
patch -p1 < $CWD/patches/804.029-X11_XLIB_H.patch
# XFT=1 (font manager) support, which gives perl-tk programs the ability to
# use all fonts accessible from XFT and antialiasing.
perl Makefile.PL \

View File

@ -1,8 +1,8 @@
PRGNAM="perl-tk"
VERSION="804.029"
HOMEPAGE="http://search.cpan.org/~srezic/Tk-804.029/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Tk-804.029.tar.gz"
MD5SUM="f4aebe6fcdb309a8480514f2ccf8117c"
VERSION="804.031"
HOMEPAGE="http://search.cpan.org/~srezic/Tk-804.031/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Tk-804.031.tar.gz"
MD5SUM="57a8afd0563184c17a6470d1ee957f35"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""