[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: locale version symmetry problem



On Thursday 17 April 2003 19:32, Michael Cardenas wrote:

> > Hello everyone.
>
> I've encountered what I think is a bug in the libc6 build process, but
> I want to make sure its a bug before I report it.
>
> When picking up your libc6, I added some of our patches and rebuilt it
> with the version 2.3.1-16.lindows1. Upon doing so, locales fails to
> install because it depends on glibc-2.3.1-16.lindows1 but the provides
> line for libc6 is only glibc-2.3.1-16. I see that in the file
> debian/debver2localesdep.pl you remove the version info after the .,
> and commenting that code out fixes the problem.

Could you give the following patch a try. It preserves the binary NMU fix, 
but doesn't assume that the source NMU revision is numeric.

Gerhard

--- debian/debver2localesdep.pl.bak     Fri Apr 18 11:18:20 2003
+++ debian/debver2localesdep.pl Fri Apr 18 11:18:55 2003
@@ -10,6 +10,6 @@
 @revs = split('\.', $devrev);
 
 $devrev = $revs[0];
-$devrev = "$devrev.$revs[1]" if defined($revs[1]) and $revs[1] > 0;
+$devrev = "$devrev.$revs[1]" if defined($revs[1]) and $revs[1] ne "0";
 
 print "glibc-$debver-$devrev\n";



Reply to: