Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409801 - sys-libs/zlib with mingw - fix USE=minizip
Summary: sys-libs/zlib with mingw - fix USE=minizip
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Other
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-03-26 20:37 UTC by jk3064
Modified: 2012-05-03 19:08 UTC (History)
0 users

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


Attachments
ebuild patch (zlib-1.2.6.ebuild.patch,346 bytes, patch)
2012-03-27 16:13 UTC, jk3064
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jk3064 2012-03-26 20:37:12 UTC
With MinGW the `s:\<(O[FN])\>:_Z_\1:g` substitution was applied to the minizip headers, but not to the zlib ones, causing:

"error: expected initializer before 'OF'"


PS: iowin32.h is missing too, but that's a zlib issue (already send them a patch).
Comment 1 jk3064 2012-03-27 16:13:05 UTC
Created attachment 306873 [details, diff]
ebuild patch
Comment 2 SpanKY gentoo-dev 2012-05-03 19:08:51 UTC
should be all set now in the tree; thanks for the report!

Commit message: Fix by jk3064 for mingw headers
http://sources.gentoo.org/sys-libs/zlib/zlib-1.2.6.ebuild?r1=1.3&r2=1.4
http://sources.gentoo.org/sys-libs/zlib/zlib-1.2.7.ebuild?r1=1.1&r2=1.2