Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 458772 Details for
Bug 604676
dev-lang/R-3.3.2 fails to build against sys-libs/zlib-1.2.10 - configure: error: zlib library and headers are required
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
svn commit 71889
svn71889.patch (text/plain), 841 bytes, created by
Martin von Gagern
on 2017-01-04 17:48:27 UTC
(
hide
)
Description:
svn commit 71889
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2017-01-04 17:48:27 UTC
Size:
841 bytes
patch
obsolete
>------------------------------------------------------------------------ >r71889 | lawrence | 2017-01-04 04:57:31 +0100 (Mi, 04 Jan 2017) | 4 lines > >R_ZLIB macro tests ZLIB_VERNUM to handle zlib 1.2.10 (6 chars) > >Thanks to George Hartzell for the fix. > > >Index: m4/R.m4 >=================================================================== >--- m4/R.m4 (revision 71888) >+++ m4/R.m4 (revision 71889) >@@ -3105,10 +3105,11 @@ > #include <string.h> > #include <zlib.h> > int main() { >-#ifdef ZLIB_VERSION >-/* Work around Debian bug: it uses 1.2.3.4 even though there was no such >- version on the master site zlib.net */ >- exit(strncmp(ZLIB_VERSION, "1.2.5", 5) < 0); >+#ifdef ZLIB_VERNUM >+ if (ZLIB_VERNUM < 0x1250) { >+ exit(1); >+ } >+ exit(0); > #else > exit(1); > #endif > >------------------------------------------------------------------------
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 604676
: 458772