Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679586 - dev-libs/libressl: add patch for Solaris 10
Summary: dev-libs/libressl: add patch for Solaris 10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Solaris
: Normal normal (vote)
Assignee: Gentoo LibreSSL
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-06 10:32 UTC by Fabian Groffen
Modified: 2019-03-13 15:55 UTC (History)
1 user (show)

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 Fabian Groffen gentoo-dev 2019-03-06 10:32:46 UTC
Hi,

I've successfully confirmed that libressl-2.8.3 can be used to bootstrap a Gentoo Prefix system on OpenIndiana.  For Solaris 10, however, a patch is necessary.  I was able to compile on darwin too.

Would you allow me to add
https://marc.info/?l=libressl&m=146910737815443&w=2
to libressl-2.8.3 ebuild?  It basically results into this:

--- a/dev-libs/libressl/libressl-2.8.3.ebuild
+++ b/dev-libs/libressl/libressl-2.8.3.ebuild
@@ -34,6 +34,7 @@ src_prepare() {
                -e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \
                configure || die "fixing CFLAGS failed"
 
+       eapply "${FILESDIR}"/${P}-solaris10.patch
        eapply_user
 }
 
Thanks,
Fabian
Comment 1 Larry the Git Cow gentoo-dev 2019-03-13 14:11:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824d91914aef11c96be541564b90b8c9aed7288a

commit 824d91914aef11c96be541564b90b8c9aed7288a
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2019-03-13 14:11:26 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2019-03-13 14:11:50 +0000

    dev-libs/libressl: fix compilation on Solaris 10
    
    Closes: https://bugs.gentoo.org/679586
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 .../libressl/files/libressl-2.8.3-solaris10.patch  | 69 ++++++++++++++++++++++
 dev-libs/libressl/libressl-2.8.3.ebuild            |  5 +-
 dev-libs/libressl/libressl-2.9.0.ebuild            |  5 +-
 3 files changed, 77 insertions(+), 2 deletions(-)
Comment 2 Fabian Groffen gentoo-dev 2019-03-13 14:13:05 UTC
I applied the patch, hope this is OK.  If not, please let me know and act accordingly.
Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2019-03-13 15:55:09 UTC
(In reply to Fabian Groffen from comment #2)
> I applied the patch, hope this is OK.  If not, please let me know and act
> accordingly.

Sorry that we missed your initial bug report. Thanks for the patch!