Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316343 - Version bump: sys-libs/zlib-1.2.5
Summary: Version bump: sys-libs/zlib-1.2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 310209 311241
  Show dependency tree
 
Reported: 2010-04-20 11:41 UTC by Samuli Suominen (RETIRED)
Modified: 2010-04-25 06:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
zlib-1.2.5.ebuild.diff (zlib-1.2.5.ebuild.diff,1.44 KB, patch)
2010-04-20 20:18 UTC, Alon Bar-Lev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2010-04-20 11:41:57 UTC
"Version 1.2.5 fixes bugs in gzseek() and gzeof() that were present in version 1.2.4 (March 2010). All users are encouraged to upgrade immediately."
Comment 1 SpanKY gentoo-dev 2010-04-20 12:49:49 UTC
hopefully this is more stable than 1.2.4 ...
Comment 2 Alon Bar-Lev 2010-04-20 20:04:22 UTC
Hello Vapier,

1. zlib-1.2.4-visibility-support.patch is not required, look zutil.h::ZLIB_INTERNAL
2. I don't understand why zlib-1.2.3-mingw-implib.patch is required...
3. Consider submitting the sed stuff to upstream?
Comment 3 Alon Bar-Lev 2010-04-20 20:18:29 UTC
Created attachment 228547 [details, diff]
zlib-1.2.5.ebuild.diff

Fixups...
When do we have mingw fixups and build in core packages at tree?
Comment 4 SpanKY gentoo-dev 2010-04-20 20:34:46 UTC
use bug 310307 for mingw updates

i gave up trying to get zlib to take fixes a while ago.  submitting things via e-mail went unanswered.

ive dropped the visibility stuff, thanks
http://sources.gentoo.org/sys-libs/zlib/zlib-1.2.5.ebuild?r1=1.1&r2=1.2
Comment 5 Javier Villavicencio (RETIRED) gentoo-dev 2010-04-21 04:49:48 UTC
Mind if I change:
-       sed -i 's|\<test "`\([^"]*\) 2>&1`" = ""|\1 2>/dev/null|' configure || die
+       sed -e 's|\<test "`\([^"]*\) 2>&1`" = ""|\1 2>/dev/null|' \
+               -e 's:\*BSD:\*BSD | \*bsd\*:' -i configure || die
on the ebuild?

The script goes for $uname=$CHOST if $CHOST is set, and then the case $uname for LDSHARED variable compares against BSD in all caps. BSD CHOST have bsd in lowercase.
This ends up leaving libz.so without a SONAME from the default case for $uname.
Comment 6 Alon Bar-Lev 2010-04-21 04:53:41 UTC
(In reply to comment #5)
> The script goes for $uname=$CHOST if $CHOST is set, and then the case $uname
> for LDSHARED variable compares against BSD in all caps. BSD CHOST have bsd in
> lowercase.
> This ends up leaving libz.so without a SONAME from the default case for $uname.
> 

Better modify the case:
-Linux* | linux* | GNU | GNU/* | *BSD | DragonFly) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"} ;;
+Linux* | linux* | GNU | GNU/* | *BSD | *bsd | DragonFly) LDSHARED=${LDSHARED-"$cc --shared -Wl,-soname,libz.so.1,--version-script,zlib.map"} ;;
Comment 7 Javier Villavicencio (RETIRED) gentoo-dev 2010-04-21 05:40:13 UTC
You mean, as another patch to the code? 
That's what the sed does, except it's *bsd*, full G/FBSD CHOST is "i686-gentoo-freebsd8".
Comment 8 Alon Bar-Lev 2010-04-21 19:25:48 UTC
(In reply to comment #7)
> You mean, as another patch to the code? 
> That's what the sed does, except it's *bsd*, full G/FBSD CHOST is
> "i686-gentoo-freebsd8".
> 

Yes... So be it *bsd*...
Comment 9 SpanKY gentoo-dev 2010-04-25 06:57:40 UTC
this bug is closed.  new issues -> new bugs.