Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the Bit-Vector CPAN distribution.

Report information
The Basics
Id: 71052
Status: resolved
Priority: 0/
Queue: Bit-Vector

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 7.1
Fixed in: (no value)

Attachments


Download (untitled) / with headers
text/plain 116b
Just a reference to track this issue on both RT instances https://rt.perl.org:443/rt3/Ticket/Display.html?id=99408
Download (untitled) / with headers
text/plain 453b
I just uploaded to CPAN the patch that has been developed in the thread between Nicholas and Zefram: http://cpan.cpantesters.org/authors/id/A/AN/ANDK/patches/Bit-Vector-7.1-ZEFRAMish-01.patch.gz Companion distroprefs file (to apply the patch from the cpan shell): https://github.com/andk/cpanpm/blob/master/distroprefs/STBEY.Bit-Vector.yml @Steffen: have you been following the thread and/or can we hope for a new release in the next weeks? Thanks,
Subject: Re: [rt.cpan.org #71052] Bleadperl v5.15.2-436-gbd31be4 breaks STBEY/Bit-Vector-7.1.tar.gz
Date: Sun, 1 Jan 2012 10:59:45 +0100
To: Andreas Koenig via RT <bug-Bit-Vector [...] rt.cpan.org>
From: Steffen Beyer <sb [...] engelschall.com>
Download (untitled) / with headers
text/plain 1.5k
Hello Andreas Koenig via RT, in a previous mail you wrote: Show quoted text
> Queue: Bit-Vector > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=71052 > > > I just uploaded to CPAN the patch that has been developed in the thread > between Nicholas and Zefram: > > http://cpan.cpantesters.org/authors/id/A/AN/ANDK/patches/Bit-Vector-7.1-ZEFRAMish-01.patch.gz > > Companion distroprefs file (to apply the patch from the cpan shell): > > https://github.com/andk/cpanpm/blob/master/distroprefs/STBEY.Bit-Vector.yml > > @Steffen: have you been following the thread and/or can we hope for a > new release in the next weeks? > > Thanks,
Dear all, my apologies for the late reply, I am quite busy at the moment! And sorry, no, I was not aware of this thread, I don't even know where this discussion actually took place. But I had a look at the patch. What does the nameless enumeration "enum { false, true };" actually do? Does it just serve to introduce the two identifiers false and true? I'm currently too busy to make a new release, I'm afraid, but feel free to make one yourself with this patch. Probably the same patch must be applied to Date::Calc::XS. You can make a new release with that patch (if necessary) as well, if you feel like it. That'd be great. Best regards and a very happy New Year, Steffen -- Steffen Beyer <sb@engelschall.com> http://www.engelschall.com/u/sb/whoami/ (Who am I) http://www.engelschall.com/u/sb/gallery/ (Fotos Brasil, USA, ...) http://www.engelschall.com/u/sb/download/ (Free Perl and C Software)
Download (untitled) / with headers
text/plain 255b
I have uploaded ANDK/Bit-Vector-7.2-TRIAL.tar.gz. Attaching the diff that leads to it. In the next days I'll watch the cpantesters matrix filling and, given there are no showstoppers or voices against it, will release this file without the -TRIAL suffix.
Subject: Bit-Vector-7.1-to-7.2.diff
diff -ur ../Bit-Vector-7.1/BitVector.c ../Bit-Vector-7.2/BitVector.c --- ../Bit-Vector-7.1/BitVector.c 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/BitVector.c 2012-03-03 13:29:23.000000000 +0100 @@ -629,7 +629,7 @@ charptr BitVector_Version(void) { - return((charptr)"7.1"); + return((charptr)"7.2"); } N_int BitVector_Word_Bits(void) @@ -3838,11 +3838,12 @@ } /*****************************************************************************/ -/* VERSION: 7.1 */ +/* VERSION: 7.2 */ /*****************************************************************************/ /* VERSION HISTORY: */ /*****************************************************************************/ /* */ +/* Version 7.2 03.03.12 Untangling stdbool header file maze. */ /* Version 7.1 29.09.09 Added prefix "BV_" to all global identifiers. */ /* Version 7.0 22.08.09 Fixed bugs in "GCD2()" and "Boot()". */ /* Version 6.9 12.08.09 Removed an obsolete warning (memory leak). */ diff -ur ../Bit-Vector-7.1/BitVector.h ../Bit-Vector-7.2/BitVector.h --- ../Bit-Vector-7.1/BitVector.h 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/BitVector.h 2012-03-03 13:36:32.000000000 +0100 @@ -319,11 +319,12 @@ /*****************************************************************************/ /*****************************************************************************/ -/* VERSION: 7.1 */ +/* VERSION: 7.2 */ /*****************************************************************************/ /* VERSION HISTORY: */ /*****************************************************************************/ /* */ +/* Version 7.2 03.03.12 Untangling stdbool header file maze. */ /* Version 7.1 29.09.09 Added prefix "BV_" to all global identifiers. */ /* Version 7.0 22.08.09 Fixed bugs in "GCD2()" and "Boot()". */ /* Version 6.9 12.08.09 Removed an obsolete warning (memory leak). */ Only in ../Bit-Vector-7.2: BitVector.o Only in ../Bit-Vector-7.2: blib diff -ur ../Bit-Vector-7.1/CHANGES.txt ../Bit-Vector-7.2/CHANGES.txt --- ../Bit-Vector-7.1/CHANGES.txt 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/CHANGES.txt 2012-03-03 13:34:58.000000000 +0100 @@ -1,5 +1,5 @@ ===================================== - Package "Bit::Vector" Version 7.1 + Package "Bit::Vector" Version 7.2 ===================================== @@ -10,6 +10,11 @@ Version history: ---------------- +Version 7.2 03.03.2012 + + + Fix compilation problems with perl 5.15.2-436-gbd31be4 and later; + https://rt.perl.org/rt3/Public/Bug/Display.html?id=99408 + Version 7.1 29.09.2009 + Added prefix "BV_" to all global identifiers in "BitVector.c", diff -ur ../Bit-Vector-7.1/CREDITS.txt ../Bit-Vector-7.2/CREDITS.txt --- ../Bit-Vector-7.1/CREDITS.txt 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/CREDITS.txt 2012-03-03 13:26:19.000000000 +0100 @@ -1,5 +1,5 @@ ===================================== - Package "Bit::Vector" Version 7.1 + Package "Bit::Vector" Version 7.2 ===================================== diff -ur ../Bit-Vector-7.1/INSTALL.txt ../Bit-Vector-7.2/INSTALL.txt --- ../Bit-Vector-7.1/INSTALL.txt 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/INSTALL.txt 2012-03-03 13:30:06.000000000 +0100 @@ -1,5 +1,5 @@ ===================================== - Package "Bit::Vector" Version 7.1 + Package "Bit::Vector" Version 7.2 ===================================== @@ -79,7 +79,7 @@ 'VERSION_FROM' => 'Vector.pm', to - 'VERSION' => '7.1', + 'VERSION' => '7.2', Then edit the file "Vector.pm" and change the line @@ -89,7 +89,7 @@ Also edit the file "t/00____version.t" and change the line - use Bit::Vector 7.1; + use Bit::Vector 7.2; to @@ -133,7 +133,7 @@ ---------------------------- 1) Change directory to the directory that has been created by unpacking this - package ("cd Bit-Vector-7.1"). + package ("cd Bit-Vector-7.2"). 2) Type "perl Makefile.PL" (or whatever the name and path of your Perl 5 binary is). diff -ur ../Bit-Vector-7.1/lib/Bit/Vector/Overload.pm ../Bit-Vector-7.2/lib/Bit/Vector/Overload.pm --- ../Bit-Vector-7.1/lib/Bit/Vector/Overload.pm 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/lib/Bit/Vector/Overload.pm 2012-03-03 13:31:36.000000000 +0100 @@ -24,7 +24,7 @@ @EXPORT_OK = qw(); -$VERSION = '7.1'; +$VERSION = '7.2'; package Bit::Vector; Only in ../Bit-Vector-7.2/lib/Bit/Vector: Overload.pm~ diff -ur ../Bit-Vector-7.1/lib/Bit/Vector/Overload.pod ../Bit-Vector-7.2/lib/Bit/Vector/Overload.pod --- ../Bit-Vector-7.1/lib/Bit/Vector/Overload.pod 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/lib/Bit/Vector/Overload.pod 2012-03-03 13:31:56.000000000 +0100 @@ -1327,7 +1327,7 @@ =head1 VERSION -This man page documents "Bit::Vector::Overload" version 7.1. +This man page documents "Bit::Vector::Overload" version 7.2. =head1 AUTHOR Only in ../Bit-Vector-7.2/lib/Bit/Vector: Overload.pod~ diff -ur ../Bit-Vector-7.1/lib/Bit/Vector/String.pm ../Bit-Vector-7.2/lib/Bit/Vector/String.pm --- ../Bit-Vector-7.1/lib/Bit/Vector/String.pm 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/lib/Bit/Vector/String.pm 2012-03-03 13:30:18.000000000 +0100 @@ -24,7 +24,7 @@ @EXPORT_OK = qw(); -$VERSION = '7.1'; +$VERSION = '7.2'; package Bit::Vector; Only in ../Bit-Vector-7.2/lib/Bit/Vector: String.pm~ diff -ur ../Bit-Vector-7.1/lib/Bit/Vector/String.pod ../Bit-Vector-7.2/lib/Bit/Vector/String.pod --- ../Bit-Vector-7.1/lib/Bit/Vector/String.pod 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/lib/Bit/Vector/String.pod 2012-03-03 13:31:49.000000000 +0100 @@ -363,7 +363,7 @@ =head1 VERSION -This man page documents "Bit::Vector::String" version 7.1. +This man page documents "Bit::Vector::String" version 7.2. =head1 AUTHOR Only in ../Bit-Vector-7.2/lib/Bit/Vector: String.pod~ Only in ../Bit-Vector-7.2: Makefile diff -ur ../Bit-Vector-7.1/META.yml ../Bit-Vector-7.2/META.yml --- ../Bit-Vector-7.1/META.yml 2009-09-29 23:54:01.000000000 +0200 +++ ../Bit-Vector-7.2/META.yml 2012-03-03 13:26:58.000000000 +0100 @@ -1,6 +1,6 @@ --- #YAML:1.0 name: Bit-Vector -version: 7.1 +version: 7.2 abstract: ~ license: ~ author: ~ Only in ../Bit-Vector-7.2: MYMETA.json Only in ../Bit-Vector-7.2: MYMETA.yml Only in ../Bit-Vector-7.2: patchlevel.h Only in ../Bit-Vector-7.2: pm_to_blib diff -ur ../Bit-Vector-7.1/README.txt ../Bit-Vector-7.2/README.txt --- ../Bit-Vector-7.1/README.txt 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/README.txt 2012-03-03 13:34:09.000000000 +0100 @@ -1,5 +1,5 @@ ===================================== - Package "Bit::Vector" Version 7.1 + Package "Bit::Vector" Version 7.2 ===================================== @@ -30,6 +30,12 @@ The C library can nevertheless be used stand-alone, without Perl. +What's new in version 7.2: +-------------------------- + + + Fix compilation problems with perl 5.15.2-436-gbd31be4 and later; + https://rt.perl.org/rt3/Public/Bug/Display.html?id=99408 + What's new in version 7.1: -------------------------- diff -ur ../Bit-Vector-7.1/t/00_____version.t ../Bit-Vector-7.2/t/00_____version.t --- ../Bit-Vector-7.1/t/00_____version.t 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/t/00_____version.t 2012-03-03 13:35:40.000000000 +0100 @@ -28,11 +28,11 @@ require Bit::Vector; -if ($Bit::Vector::VERSION eq "7.1") +if ($Bit::Vector::VERSION eq "7.2") {print "ok $n\n";} else {print "not ok $n\n";} $n++; -if (Bit::Vector::Version() eq "7.1") +if (Bit::Vector::Version() eq "7.2") {print "ok $n\n";} else {print "not ok $n\n";} $n++; if (Bit::Vector::Word_Bits() >= 32) @@ -42,7 +42,7 @@ {print "ok $n\n";} else {print "not ok $n\n";} $n++; -if (Bit::Vector->Version() eq "7.1") +if (Bit::Vector->Version() eq "7.2") {print "ok $n\n";} else {print "not ok $n\n";} $n++; if (Bit::Vector->Word_Bits() >= 32) @@ -71,7 +71,7 @@ require Bit::Vector::Overload; -if ($Bit::Vector::Overload::VERSION eq "7.1") +if ($Bit::Vector::Overload::VERSION eq "7.2") {print "ok $n\n";} else {print "not ok $n\n";} $n++; @@ -81,7 +81,7 @@ require Bit::Vector::String; -if ($Bit::Vector::String::VERSION eq "7.1") +if ($Bit::Vector::String::VERSION eq "7.2") {print "ok $n\n";} else {print "not ok $n\n";} $n++; Only in ../Bit-Vector-7.2/t: 00_____version.t~ diff -ur ../Bit-Vector-7.1/ToolBox.h ../Bit-Vector-7.2/ToolBox.h --- ../Bit-Vector-7.1/ToolBox.h 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/ToolBox.h 2012-03-03 13:31:15.000000000 +0100 @@ -93,7 +93,10 @@ #elif PERL_DARWIN #define boolean bool #else - typedef enum { false = FALSE, true = TRUE } boolean; + typedef int boolean; + #ifndef I_STDBOOL + enum { false, true }; + #endif #endif #endif diff -ur ../Bit-Vector-7.1/typemap ../Bit-Vector-7.2/typemap --- ../Bit-Vector-7.1/typemap 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/typemap 2012-03-03 13:29:36.000000000 +0100 @@ -1,7 +1,7 @@ ############################################################################### ## ## -## Typemap for module "Bit::Vector" version 7.1. ## +## Typemap for module "Bit::Vector" version 7.2. ## ## ## ## Copyright (c) 1995 - 2009 by Steffen Beyer. ## ## All rights reserved. ## Only in ../Bit-Vector-7.2: Vector.bs Only in ../Bit-Vector-7.2: Vector.c Only in ../Bit-Vector-7.2: Vector.o diff -ur ../Bit-Vector-7.1/Vector.pm ../Bit-Vector-7.2/Vector.pm --- ../Bit-Vector-7.1/Vector.pm 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/Vector.pm 2012-03-03 13:36:39.000000000 +0100 @@ -23,7 +23,7 @@ @EXPORT_OK = qw(); -$VERSION = '7.1'; +$VERSION = '7.2'; bootstrap Bit::Vector $VERSION; diff -ur ../Bit-Vector-7.1/Vector.pod ../Bit-Vector-7.2/Vector.pod --- ../Bit-Vector-7.1/Vector.pod 2009-09-29 23:54:00.000000000 +0200 +++ ../Bit-Vector-7.2/Vector.pod 2012-03-03 13:35:13.000000000 +0100 @@ -3148,7 +3148,7 @@ =head1 VERSION -This man page documents "Bit::Vector" version 7.1. +This man page documents "Bit::Vector" version 7.2. =head1 AUTHOR
Download (untitled) / with headers
text/plain 186b
The uploaded file Bit-Vector-7.2.tar.gz has entered CPAN as file: $CPAN/authors/id/A/AN/ANDK/Bit-Vector-7.2.tar.gz size: 137817 bytes md5: bc6ae34738b8f889290bf50099ff8aed


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.