commit: 2a74795f2cb6221e104b6d5150db62f0c1b59af4 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Thu Jan 4 19:49:41 2018 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Thu Jan 4 19:49:41 2018 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=2a74795f
dev-libs/openssl: add patch for FreeMiNT by Alan Hourihane Closes: https://bugs.gentoo.org/643410 Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6 dev-libs/openssl/files/openssl-1.0.2l-mint.patch | 33 ++++++++++++++++++++++++ dev-libs/openssl/openssl-1.0.2l.ebuild | 3 ++- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/dev-libs/openssl/files/openssl-1.0.2l-mint.patch b/dev-libs/openssl/files/openssl-1.0.2l-mint.patch new file mode 100644 index 0000000000..2afcb3f2de --- /dev/null +++ b/dev-libs/openssl/files/openssl-1.0.2l-mint.patch @@ -0,0 +1,33 @@ +--- Configure ++++ Configure +@@ -502,6 +502,9 @@ + # Interix (GCC) + "interix-gcc", "gcc:-D_ALL_SOURCE -DL_ENDIAN -DTERMIOS -O2 -Wall::-D_REENTRANT::-ldl:::::::::::::dlfcn:gnu:::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + ++# FreeMiNT (GCC) ++"mint-gcc", "gcc:-O2 -fomit-frame-pointer -DB_ENDIAN -DTERMIOS::-D_REENTRANT:::BN_LLONG:::", ++ + # Borland C++ 4.5 + "BC-32","bcc32::::WIN32::BN_LLONG DES_PTR RC4_INDEX EXPORT_VAR_AS_FN:${no_asm}:win32", + +--- config ++++ config +@@ -170,6 +170,10 @@ + echo "${MACHINE}-whatever-linux1"; exit 0 + ;; + ++ FreeMiNT*) ++ echo "m68k-atari-mint"; exit 0; ++ ;; ++ + GNU*) + echo "hurd-x86"; exit 0; + ;; +@@ -859,6 +863,7 @@ + *-*-qnx6) OUT="QNX6" ;; + x86-*-android|i?86-*-android) OUT="android-x86" ;; + armv[7-9]*-*-android) OUT="android-armv7" ;; ++ *-mint*) OUT="mint-gcc" ;; + *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;; + esac + diff --git a/dev-libs/openssl/openssl-1.0.2l.ebuild b/dev-libs/openssl/openssl-1.0.2l.ebuild index 2022ae6658..21850a7d25 100644 --- a/dev-libs/openssl/openssl-1.0.2l.ebuild +++ b/dev-libs/openssl/openssl-1.0.2l.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -79,6 +79,7 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-1.0.0b-darwin-bundle-compile-fix.patch epatch "${FILESDIR}"/${PN}-1.0.2-gethostbyname2-solaris.patch epatch "${FILESDIR}"/${PN}-1.0.2l-winnt.patch # parity + epatch "${FILESDIR}"/${PN}-1.0.2l-mint.patch # remove -arch for Darwin sed -i '/^"darwin/s,-arch [^ ]\+,,g' Configure || die