Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/libs/perlmods
In directory vz-cvs-3.sog:/tmp/cvs-serv26249

Added Files:
        unicode-map8-pm.info unicode-map8-pm.patch 
        tk-tablematrix-pm.info tk-tablematrix-pm.patch 
Log Message:
sync. w/ 10.!4/stable, validated on powerpc-darwin8


--- NEW FILE: unicode-map8-pm.patch ---
From: Niko Tyni <nt...@debian.org>
Date: Sat, 20 Mar 2010 23:31:17 +0200
Subject: [PATCH] Fix test failures on 64-bit architectures due to incompatible 
pointer types

 http://bugs.debian.org/570670
 [rt.cpan.org #43404]
 [rt.cpan.org #24652].
 https://bugzilla.redhat.com/show_bug.cgi?id=182514
---
 Map8.xs |    2 +-
 map8.h  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Map8.xs b/Map8.xs
index 789f921..074ad99 100644
--- a/Map8.xs
+++ b/Map8.xs
@@ -347,7 +347,7 @@ recode8(m1, m2, str)
        Map8* m2
        PREINIT:
            STRLEN len;
-           STRLEN rlen;
+           int rlen;
            char*  res;
        INPUT:
            char* str = SvPV(ST(2), len);
diff --git a/map8.h b/map8.h
index 007c5de..98dfb3b 100644
--- a/map8.h
+++ b/map8.h
@@ -80,7 +80,7 @@ void  map8_free(Map8*);
 
 U16*  map8_to_str16(Map8*, U8*, U16*, int, int*);
 U8*   map8_to_str8 (Map8*, U16*, U8*, int, int*);
-U8*   map8_recode_8(Map8*, Map8*, U8*, U8*, int, int*);
+U8*   map8_recode8(Map8*, Map8*, U8*, U8*, int, int*);
 
 int   map8_empty_block(Map8*, U8);
 

--- NEW FILE: tk-tablematrix-pm.patch ---
diff -Nurd -x'*~' Tk-TableMatrix-1.23.orig/Makefile.PL 
Tk-TableMatrix-1.23/Makefile.PL
--- Tk-TableMatrix-1.23.orig/Makefile.PL        2007-01-11 21:26:31.000000000 
-0500
+++ Tk-TableMatrix-1.23/Makefile.PL     2010-08-09 05:18:46.000000000 -0400
@@ -25,7 +25,10 @@
 use Tk::MMutil;
 
 # Get existing tk version for figuring
-$tkversion = eval 'use Tk; $Tk::VERSION;';
+{
+    require Tk;
+    $tkversion = $Tk::VERSION;
+}
 #print "################tkversion = $tkversion\n";
 
 my $mydefine ='';

--- NEW FILE: tk-tablematrix-pm.info ---
Info2: <<
Package: tk-tablematrix-pm%type_pkg[perl]
Version: 1.23
Revision: 1
Distribution: <<
  (%type_pkg[perl] = 586) 10.4,
  (%type_pkg[perl] = 586) 10.5,
  (%type_pkg[perl] = 5100) 10.5,
  (%type_pkg[perl] = 5100) 10.6,
  (%type_pkg[perl] = 5123) 10.7
<<
###
Depends: perl%type_pkg[perl]-core, tk-pm%type_pkg[perl] (>= 804.026-10)
BuildDepends: <<
        fink (>= 0.24.12)
<<
###
Source: mirror:cpan:authors/id/C/CE/CERNEY/Tk-TableMatrix-%v.tar.gz
Source-MD5: 6b7653d129bf1a8327054a88b58d6364
###
Type: perl (5.8.6 5.8.8 5.10.0 5.12.3)
UpdatePOD: true
NoPerlTests: true
###
PatchFile: %{ni}.patch
PatchFile-MD5: 6f3347175b527f1000ceefeef4ae0ddf
###
CompileScript: <<
        %{default_script}
  ### Fix stupidity
  perl -pi.bak -e 's,extralibs.ld,extralibs-%n.ld,g' Makefile
  perl -pi.bak -e 's,extralibs.ld,extralibs-%n.ld,g' pTk/Makefile
  mv blib/arch/auto/Tk/pTk/extralibs{,-%n}.ld 
<<
###
InstallScript: <<
  %{default_script}
  mv %i/share/man %i/lib/perl5/%type_raw[perl]
<<
DocFiles: COPYING Changes ChangeLog README
###
Description: Tcl/tk Tktable widget v2.6 for perl/tk
DescDetail: <<
  Tk::TableMatrix is a table/matrix widget extension to perl/tk
  for displaying data in a table (or spreadsheet) format.
  The basic features of the widget are:

   * multi-line cells
   * support for embedded windows (one per cell)
   * row & column spanning
   * variable width columns / height rows (interactively resizable)
   * row and column titles
   * multiple data sources ((perl hash|| perl callback) &| internal caching)
   * supports standard Tk reliefs, fonts, colors, etc.
   * x/y scrollbar support
   * 'tag' styles per row, column or cell to change visual appearance
   * in-cell editing - returns value back to data source
   * support for disabled (read-only) tables or cells (via tags)
   * multiple selection modes, with "active" cell
   * multiple drawing modes to get optimal performance for larger tables
   * optional 'flashes' when things update
   * cell validation support
   * Works everywhere Tk does (including Windows and Mac!)
      (Note perltk version has only been tested on Solaris, Linux, 
       win98/mingw32 as of 8/18/00)
<<
###
DescPort: <<
  Had to disable 'make test' since it requires X11 to be running and with
  fink there is no real way to verify or enforce this behavior.
<<
###
License: Artistic
Maintainer: None <fink-de...@lists.sourceforge.net>
Homepage: http://search.cpan.org/dist/Tk-TableMatrix
<<

--- NEW FILE: unicode-map8-pm.info ---
Info2: <<
Package: unicode-map8-pm%type_pkg[perl]
Version: 0.13
Revision: 1
Distribution: (%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.5, 
(%type_pkg[perl] = 5100) 10.5, (%type_pkg[perl] = 5100) 10.6, (%type_pkg[perl] 
= 5123) 10.7, (%type_pkg[perl] = 588) 10.4, (%type_pkg[perl] = 588) 10.5, 
(%type_pkg[perl] = 588) 10.6
Type: perl (5.8.6 5.8.8 5.10.0 5.12.3)
Description: Mapping between 8-bit chars and Unicode
License: Artistic/GPL
Maintainer: Daniel Johnson <dan...@daniel-johnson.org>

# Dependencies:
Depends: perl%type_pkg[perl]-core, unicode-string-pm%type_pkg[perl]
BuildDepends: fink (>= 0.24.12)

# Unpack Phase:
Source: mirror:cpan:authors/id/G/GA/GAAS/Unicode-Map8-%v.tar.gz
Source-MD5: fc93a37cabcae488bd95ca07bf5c919e

PatchFile: %{ni}.patch
PatchFile-MD5: 186b1317edc821b5fa09f340730a75fe

# Install Phase:
UpdatePOD: true
DocFiles: Changes README
InstallScript: <<
        %{default_script}
        mv %i/share/man %i/lib/perl5/%type_raw[perl]
        mv %i/bin/umap %i/bin/umap-pm%type_raw[perl]
<<
PostInstScript: <<
if [ "$1" = configure ]; then
        update-alternatives \
        --install %p/bin/umap umap %p/bin/umap-pm%type_raw[perl] 
%type_pkg[perl] 
fi
<<
PreRmScript: <<
if [ "$1" = remove ]; then
        update-alternatives --remove umap %p/bin/umap-pm%type_raw[perl]
fi
<<

# Additional Data:
DescPackaging: Borrowed patch from debian to fix tests on 64 bit.
Homepage: http://search.cpan.org/dist/Unicode-Map8/
<<


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to