diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-05-10 05:38:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-05-10 05:38:26 +0000 |
commit | 9878e21230707afafa5156793728f6b278a9a38e (patch) | |
tree | ac86914747ef505d6135242e8823919040e1efe9 | |
parent | Fixed ACCESS VIOLATION that occurs if there is no /var/lib/ntop. (diff) | |
download | gentoo-2-9878e21230707afafa5156793728f6b278a9a38e.tar.gz gentoo-2-9878e21230707afafa5156793728f6b278a9a38e.tar.bz2 gentoo-2-9878e21230707afafa5156793728f6b278a9a38e.zip |
Add patch to fix amd64 ABI breakage #86358. Thanks to Daniel Gryniewicz for tracking this down.
(Portage version: 2.0.51.21-r1)
-rw-r--r-- | dev-libs/openssl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/openssl/files/openssl-0.9.7g-ABI-compat.patch | 15 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.7g.ebuild | 8 |
3 files changed, 27 insertions, 3 deletions
diff --git a/dev-libs/openssl/ChangeLog b/dev-libs/openssl/ChangeLog index bb8f72d95aad..4b1a42e45839 100644 --- a/dev-libs/openssl/ChangeLog +++ b/dev-libs/openssl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/openssl # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.114 2005/05/10 02:25:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.115 2005/05/10 05:38:26 vapier Exp $ + + 10 May 2005; Mike Frysinger <vapier@gentoo.org> + +files/openssl-0.9.7g-ABI-compat.patch, openssl-0.9.7g.ebuild: + Add patch to fix amd64 ABI breakage #86358. Thanks to Daniel Gryniewicz for + tracking this down. 10 May 2005; Mike Frysinger <vapier@gentoo.org> +files/openssl-0.9.7e-ptr-casting.patch, diff --git a/dev-libs/openssl/files/openssl-0.9.7g-ABI-compat.patch b/dev-libs/openssl/files/openssl-0.9.7g-ABI-compat.patch new file mode 100644 index 000000000000..abc2420137c9 --- /dev/null +++ b/dev-libs/openssl/files/openssl-0.9.7g-ABI-compat.patch @@ -0,0 +1,15 @@ +Fix from RedHat: +* Thu Mar 31 2005 Tomas Mraz <tmraz@redhat.com> 0.9.7f-2 +- add back RC4_CHAR on ia64 and x86_64 so the ABI isn't broken +- disable broken bignum assembly on x86_64 + +--- Configure ++++ Configure +@@ -411,5 +411,5 @@ + "linux-s390x", "gcc:-DB_ENDIAN -DTERMIO -DNO_ASM -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +-"linux-ia64", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK:asm/ia64.o::::asm/sha1-ia64.o::asm/rc4-ia64.o:::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ++"linux-ia64", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR:asm/ia64.o::::asm/sha1-ia64.o:::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + "linux-ia64-ecc", "ecc:-DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK:asm/ia64.o::::asm/sha1-ia64.o::asm/rc4-ia64.o:::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +-"linux-x86_64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK BF_PTR2 DES_INT DES_UNROLL:asm/x86_64-gcc.o::::::asm/rc4-amd64.o:::dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ++"linux-x86_64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR BF_PTR2 DES_INT DES_UNROLL:asm/x86_64-gcc.o:::::::::dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + "linux-em64t", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR BF_PTR2 DES_INT DES_UNROLL:asm/x86_64-gcc.o:::::::::dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", diff --git a/dev-libs/openssl/openssl-0.9.7g.ebuild b/dev-libs/openssl/openssl-0.9.7g.ebuild index 1050af44b1e6..5115cc53a859 100644 --- a/dev-libs/openssl/openssl-0.9.7g.ebuild +++ b/dev-libs/openssl/openssl-0.9.7g.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7g.ebuild,v 1.3 2005/05/10 02:25:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7g.ebuild,v 1.4 2005/05/10 05:38:26 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -10,7 +10,7 @@ SRC_URI="mirror://openssl/source/${P}.tar.gz" LICENSE="openssl" SLOT="0" -KEYWORDS="-*" # seems to cause segfaults with openssh ... +KEYWORDS="~alpha ~amd64 ~arm ~hppa -ia64 ~m68k -mips ~ppc -ppc64 ~s390 ~sh -sparc ~x86" IUSE="emacs test bindist" RDEPEND="" @@ -30,6 +30,7 @@ src_unpack() { epatch "${FILESDIR}"/${PN}-0.9.7g-no-fips.patch epatch "${FILESDIR}"/${PN}-0.9.7g-ptr-casting.patch epatch "${FILESDIR}"/${PN}-0.9.7g-mem-clr-ptr-cast.patch + epatch "${FILESDIR}"/${PN}-0.9.7g-ABI-compat.patch # allow openssl to be cross-compiled cp "${FILESDIR}"/gentoo.config-0.9.7g gentoo.config || die "cp cross-compile failed" @@ -103,6 +104,9 @@ src_compile() { AR="$(tc-getAR) r" \ RANLIB="$(tc-getRANLIB)" \ all || die "make all failed" + + # force until we get all the gentoo.config kinks worked out + src_test } src_test() { |