head 1.2; access; symbols OPENPKG_2_STABLE_MP:1.2 OPENPKG_E1_MP_HEAD:1.2 OPENPKG_E1_MP:1.2 OPENPKG_E1_MP_2_STABLE:1.2 OPENPKG_E1_FP:1.2 OPENPKG_2_STABLE_20061018:1.2 OPENPKG_2_STABLE:1.2.0.6 OPENPKG_2_STABLE_BP:1.2 OPENPKG_2_5_SOLID:1.2.0.4 OPENPKG_2_5_SOLID_BP:1.2 OPENPKG_2_4_RELEASE:1.2 OPENPKG_2_4_SOLID:1.2.0.2 OPENPKG_2_4_SOLID_BP:1.2 OPENPKG_CW_FP:1.1 OPENPKG_2_3_RELEASE:1.1 OPENPKG_2_3_SOLID:1.1.0.2 OPENPKG_2_3_SOLID_BP:1.1; locks; strict; comment @# @; 1.2 date 2005.04.30.10.04.49; author rse; state dead; branches; next 1.1; 1.1 date 2004.11.09.16.41.00; author hms; state Exp; branches; next ; desc @@ 1.2 log @upgrade to a newer Compress::Bzip2 module @ text @Port to BZip2 1.0.x API Index: Bzip2.xs --- Bzip2.xs.orig 1999-02-16 15:18:01 +0100 +++ Bzip2.xs 2004-11-09 17:37:41 +0100 @@@@ -41,8 +41,8 @@@@ PROTOTYPES: ENABLE BOOT: - if (bzlibVersion() == NULL) - croak("Compress::Bzip2 cannot load bzip-libraray %s\n",bzlibVersion()) ; + if (BZ2_bzlibVersion() == NULL) + croak("Compress::Bzip2 cannot load bzip-library\n"); double constant(name, arg) @@@@ -76,7 +76,7 @@@@ new_len = out_len; out[0] = 0xf0; - err = bzBuffToBuffCompress(out+5,&new_len,in,in_len,6,0,240); + err = BZ2_bzBuffToBuffCompress(out+5,&new_len,in,in_len,6,0,240); if (err != BZ_OK || new_len > out_len) { @@@@ -113,7 +113,7 @@@@ SvPOK_only(RETVAL); out = SvPVX(RETVAL); new_len = out_len; - err = bzBuffToBuffDecompress(out,&new_len,in+5,in_len,0,0); + err = BZ2_bzBuffToBuffDecompress(out,&new_len,in+5,in_len,0,0); if (err != BZ_OK || new_len != out_len) { SvREFCNT_dec(RETVAL); @ 1.1 log @port Compress::Bzip2 to BZip2 1.0.x API @ text @@