Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328027 - dev-libs/ace-5.7.2 fails to detect dev-libs/openssl-1.0.0 beacuse of broken .m4 macro
Summary: dev-libs/ace-5.7.2 fails to detect dev-libs/openssl-1.0.0 beacuse of broken ....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-1
  Show dependency tree
 
Reported: 2010-07-13 00:16 UTC by Samuli Suominen (RETIRED)
Modified: 2010-07-13 00:19 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2010-07-13 00:16:58 UTC
The .m4 macro for OpenSSL detection shipped with ace-5.7.2 is broken, it should be fixed like following:

--- tls.m4
+++ tls.m4
@@ -96,7 +96,11 @@
 CRYPTO_set_locking_callback (0);
 SSLeay_add_ssl_algorithms ();
 SSL_load_error_strings ();
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+const SSL_METHOD * meth = TLSv1_method ();
+#else
 SSL_METHOD * meth = TLSv1_method ();
+#endif
 SSL_CTX * ctx = SSL_CTX_new (meth);
 SSL * ssl = SSL_new (ctx);
 int fd = 2000;  // Dummy file descriptor value.

It's same problem as here but in different file:

http://bugzilla.dre.vanderbilt.edu/show_bug.cgi?id=3666

I actually registered to upstream bugzilla but I don't have authorization to open new bugs, or comment on old ones there. How silly. This is most likely already fixed in upstream, though
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-07-13 00:19:23 UTC
+  13 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> ace-5.7.2.ebuild:
+  Fix OpenSSL >= 1.0.0 detection (broken m4/tls.m4 check) wrt #328027.