r7261 - in /branches/upstream/libcompress-raw-zlib-perl/current: Changes META.yml Makefile.PL README Zlib.xs lib/Compress/Raw/Zlib.pm t/000prereq.t

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Sep 5 19:27:22 UTC 2007


Author: dmn
Date: Wed Sep  5 19:27:22 2007
New Revision: 7261

URL: http://svn.debian.org/wsvn/?sc=1&rev=7261
Log:
[svn-upgrade] Integrating new upstream version, libcompress-raw-zlib-perl (2.006)

Modified:
    branches/upstream/libcompress-raw-zlib-perl/current/Changes
    branches/upstream/libcompress-raw-zlib-perl/current/META.yml
    branches/upstream/libcompress-raw-zlib-perl/current/Makefile.PL
    branches/upstream/libcompress-raw-zlib-perl/current/README
    branches/upstream/libcompress-raw-zlib-perl/current/Zlib.xs
    branches/upstream/libcompress-raw-zlib-perl/current/lib/Compress/Raw/Zlib.pm
    branches/upstream/libcompress-raw-zlib-perl/current/t/000prereq.t

Modified: branches/upstream/libcompress-raw-zlib-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libcompress-raw-zlib-perl/current/Changes?rev=7261&op=diff
==============================================================================
--- branches/upstream/libcompress-raw-zlib-perl/current/Changes (original)
+++ branches/upstream/libcompress-raw-zlib-perl/current/Changes Wed Sep  5 19:27:22 2007
@@ -1,5 +1,11 @@
 CHANGES
 -------
+
+  2.006 1 September 2007
+
+      * Makefile.PL
+        Added INSTALLDIRS directive to install as a core module when built
+        on a perl >= 5.9.
 
   2.005 18 June 2007
 

Modified: branches/upstream/libcompress-raw-zlib-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libcompress-raw-zlib-perl/current/META.yml?rev=7261&op=diff
==============================================================================
--- branches/upstream/libcompress-raw-zlib-perl/current/META.yml (original)
+++ branches/upstream/libcompress-raw-zlib-perl/current/META.yml Wed Sep  5 19:27:22 2007
@@ -1,9 +1,9 @@
 --- #YAML:1.0
 name:                Compress-Raw-Zlib
-version:             2.005
+version:             2.006
 abstract:            Low-Level Interface to zlib compression library
 license:             perl
-generated_by:        ExtUtils::MakeMaker version 6.33
+generated_by:        ExtUtils::MakeMaker version 6.36
 distribution_type:   module
 requires:     
 meta-spec:

Modified: branches/upstream/libcompress-raw-zlib-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/branches/upstream/libcompress-raw-zlib-perl/current/Makefile.PL?rev=7261&op=diff
==============================================================================
--- branches/upstream/libcompress-raw-zlib-perl/current/Makefile.PL (original)
+++ branches/upstream/libcompress-raw-zlib-perl/current/Makefile.PL Wed Sep  5 19:27:22 2007
@@ -94,6 +94,8 @@
             AUTHOR       => 'Paul Marquess <pmqs at cpan.org>')
         : ()
     ),
+
+    INSTALLDIRS => ($] >= 5.009 ? 'perl' : 'site'),
 
     ((ExtUtils::MakeMaker->VERSION() gt '6.30') ?
         ('LICENSE'  => 'perl')         : ()),    

Modified: branches/upstream/libcompress-raw-zlib-perl/current/README
URL: http://svn.debian.org/wsvn/branches/upstream/libcompress-raw-zlib-perl/current/README?rev=7261&op=diff
==============================================================================
--- branches/upstream/libcompress-raw-zlib-perl/current/README (original)
+++ branches/upstream/libcompress-raw-zlib-perl/current/README Wed Sep  5 19:27:22 2007
@@ -1,9 +1,9 @@
 
                              Compress::Raw::Zlib
 
-                             Version 2.005
-
-                              18th June 2007
+                             Version 2.006
+
+                            1st September 2007
 
 
        Copyright (c) 2005-2007 Paul Marquess. All rights reserved.

Modified: branches/upstream/libcompress-raw-zlib-perl/current/Zlib.xs
URL: http://svn.debian.org/wsvn/branches/upstream/libcompress-raw-zlib-perl/current/Zlib.xs?rev=7261&op=diff
==============================================================================
--- branches/upstream/libcompress-raw-zlib-perl/current/Zlib.xs (original)
+++ branches/upstream/libcompress-raw-zlib-perl/current/Zlib.xs Wed Sep  5 19:27:22 2007
@@ -228,7 +228,6 @@
 #define adlerInitial adler32(0L, Z_NULL, 0)
 #define crcInitial crc32(0L, Z_NULL, 0)
 
-
 static const char * const my_z_errmsg[] = {
     "need dictionary",     /* Z_NEED_DICT     2 */
     "stream end",          /* Z_STREAM_END    1 */
@@ -607,8 +606,8 @@
     }
 
 
-#define Zip_zlib_version()	(char*)zlib_version
-char*
+#define Zip_zlib_version()	(const char*)zlib_version
+const char*
 Zip_zlib_version()
 
 unsigned
@@ -650,6 +649,8 @@
 	  adler = SvUV(ST(1)) ;
 	else
 	  adler = adlerInitial;
+    OUTPUT:
+        RETVAL
  
 #define Zip_crc32(buf, crc) crc32(crc, buf, (uInt)len)
 
@@ -724,9 +725,9 @@
     int err ;
     deflateStream s ;
 
-    if (trace)
-        warn("in _deflateInit(level=%d, method=%d, windowBits=%d, memLevel=%d, strategy=%d, bufsize=%ld\n",
-	level, method, windowBits, memLevel, strategy, bufsize) ;
+    if (trace) 
+        warn("in _deflateInit(level=%d, method=%d, windowBits=%d, memLevel=%d, strategy=%d, bufsize=%ld dictionary=%p)\n", 
+	level, method, windowBits, memLevel, strategy, bufsize, dictionary) ;
     if ((s = InitStream() )) {
 
         s->Level      = level;
@@ -761,8 +762,11 @@
     else
         err = Z_MEM_ERROR ;
 
-    XPUSHs(sv_setref_pv(sv_newmortal(), 
-	"Compress::Raw::Zlib::deflateStream", (void*)s));
+    {
+        SV* obj = sv_setref_pv(sv_newmortal(), 
+            "Compress::Raw::Zlib::deflateStream", (void*)s);
+        XPUSHs(obj);
+    }
     if (GIMME == G_ARRAY) {
         SV * sv = sv_2mortal(newSViv(err)) ;
 	setDUALstatus(sv, err);
@@ -814,11 +818,14 @@
     else
 	err = Z_MEM_ERROR ;
 
-    XPUSHs(sv_setref_pv(sv_newmortal(), 
+    {
+        SV* obj = sv_setref_pv(sv_newmortal(), 
                    ix == 1 
                    ? "Compress::Raw::Zlib::inflateScanStream" 
                    :  "Compress::Raw::Zlib::inflateStream",
-                   (void*)s));
+                   (void*)s);
+        XPUSHs(obj);
+    }
     if (GIMME == G_ARRAY) {
         SV * sv = sv_2mortal(newSViv(err)) ;
 	setDUALstatus(sv, err);

Modified: branches/upstream/libcompress-raw-zlib-perl/current/lib/Compress/Raw/Zlib.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libcompress-raw-zlib-perl/current/lib/Compress/Raw/Zlib.pm?rev=7261&op=diff
==============================================================================
--- branches/upstream/libcompress-raw-zlib-perl/current/lib/Compress/Raw/Zlib.pm (original)
+++ branches/upstream/libcompress-raw-zlib-perl/current/lib/Compress/Raw/Zlib.pm Wed Sep  5 19:27:22 2007
@@ -13,7 +13,7 @@
 use bytes ;
 our ($VERSION, $XS_VERSION, @ISA, @EXPORT, $AUTOLOAD);
 
-$VERSION = '2.005';
+$VERSION = '2.006';
 $XS_VERSION = $VERSION; 
 $VERSION = eval $VERSION;
 

Modified: branches/upstream/libcompress-raw-zlib-perl/current/t/000prereq.t
URL: http://svn.debian.org/wsvn/branches/upstream/libcompress-raw-zlib-perl/current/t/000prereq.t?rev=7261&op=diff
==============================================================================
--- branches/upstream/libcompress-raw-zlib-perl/current/t/000prereq.t (original)
+++ branches/upstream/libcompress-raw-zlib-perl/current/t/000prereq.t Wed Sep  5 19:27:22 2007
@@ -19,7 +19,7 @@
         if eval { require Test::NoWarnings ;  import Test::NoWarnings; 1 };
 
 
-    my $VERSION = '2.005';
+    my $VERSION = '2.006';
     my @NAMES = qw(
 			
 			);




More information about the Pkg-perl-cvs-commits mailing list