FreeBSD Bugzilla – Attachment 214420 Details for
Bug 246419
security/nss: fix build on powerpc64 elfv1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v3
nss.patch (text/plain), 3.80 KB, created by
Piotr Kubaj
on 2020-05-12 18:23:10 UTC
(
hide
)
Description:
v3
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2020-05-12 18:23:10 UTC
Size:
3.80 KB
patch
obsolete
>Index: security/nss/Makefile >=================================================================== >--- security/nss/Makefile (revision 534983) >+++ security/nss/Makefile (working copy) >@@ -47,7 +47,12 @@ > ssltap strsclnt symkeyutil vfychain vfyserv > > OPTIONS_DEFINE= DEBUG >+OPTIONS_DEFINE_powerpc64= VSX >+OPTIONS_DEFINE_powerpc= VSX > >+VSX_CFLAGS= -DUSE_PPC_CRYPTO >+VSX_DESC= Use VSX (POWER8 and newer) >+ > .include <bsd.port.options.mk> > > .if ! ${PORT_OPTIONS:MDEBUG} >@@ -57,7 +62,8 @@ > BINS= ${DIST}/${OPSYS}${OSREL}_DBG.OBJ > .endif > >-.if ${ARCH} == powerpc64 >+.if ${ARCH} == powerpc64 || ${ARCH} == powerpc >+EXTRA_PATCHES= ${FILESDIR}/${ARCH}${PPC_ABI:tl}-lib_freebl_scripts_gen.sh > USES+= compiler:c++11-lang # -mcrypto -mvsx > .else > MAKE_ENV+= NSS_DISABLE_ALTIVEC=1 >@@ -89,6 +95,11 @@ > ${FIND} . -name "*.c" -o -name "*.h" | \ > ${XARGS} ${REINPLACE_CMD} -e 's|"nspr.h"|<nspr.h>|' > >+.if ${ARCH} == powerpc64 || ${ARCH} == powerpc >+pre-build: >+ @cd ${WRKSRC}/lib/freebl/scripts && ./gen.sh >+.endif >+ > do-install: > ${MKDIR} ${STAGEDIR}${PREFIX}/include/nss ${STAGEDIR}${PREFIX}/lib > ${FIND} ${DIST}/public/nss -type l \ >Index: security/nss/files/powerpc-lib_freebl_scripts_gen.sh >=================================================================== >--- security/nss/files/powerpc-lib_freebl_scripts_gen.sh (nonexistent) >+++ security/nss/files/powerpc-lib_freebl_scripts_gen.sh (working copy) >@@ -0,0 +1,11 @@ >+--- lib/freebl/scripts/gen.sh.orig 2020-05-12 17:17:31 UTC >++++ lib/freebl/scripts/gen.sh >+@@ -3,7 +3,7 @@ >+ # Run the scripts in this folder, generating the assembly, >+ # >+ >+-perl sha512p8-ppc.pl linux64le sha512-p8.s >++perl sha512p8-ppc.pl linux32 sha512-p8.s >+ >+ # Add the license mention >+ cat > hdr << "EOF" > >Property changes on: security/nss/files/powerpc-lib_freebl_scripts_gen.sh >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: security/nss/files/powerpc64elfv1-lib_freebl_scripts_gen.sh >=================================================================== >--- security/nss/files/powerpc64elfv1-lib_freebl_scripts_gen.sh (nonexistent) >+++ security/nss/files/powerpc64elfv1-lib_freebl_scripts_gen.sh (working copy) >@@ -0,0 +1,11 @@ >+--- lib/freebl/scripts/gen.sh.orig 2020-05-12 17:17:31 UTC >++++ lib/freebl/scripts/gen.sh >+@@ -3,7 +3,7 @@ >+ # Run the scripts in this folder, generating the assembly, >+ # >+ >+-perl sha512p8-ppc.pl linux64le sha512-p8.s >++perl sha512p8-ppc.pl linux64 sha512-p8.s >+ >+ # Add the license mention >+ cat > hdr << "EOF" > >Property changes on: security/nss/files/powerpc64elfv1-lib_freebl_scripts_gen.sh >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: security/nss/files/powerpc64elfv2-lib_freebl_scripts_gen.sh >=================================================================== >--- security/nss/files/powerpc64elfv2-lib_freebl_scripts_gen.sh (nonexistent) >+++ security/nss/files/powerpc64elfv2-lib_freebl_scripts_gen.sh (working copy) >@@ -0,0 +1,11 @@ >+--- lib/freebl/scripts/gen.sh.orig 2020-05-12 17:17:31 UTC >++++ lib/freebl/scripts/gen.sh >+@@ -3,7 +3,7 @@ >+ # Run the scripts in this folder, generating the assembly, >+ # >+ >+-perl sha512p8-ppc.pl linux64le sha512-p8.s >++perl sha512p8-ppc.pl linux64v2 sha512-p8.s >+ >+ # Add the license mention >+ cat > hdr << "EOF" > >Property changes on: security/nss/files/powerpc64elfv2-lib_freebl_scripts_gen.sh >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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
Flags:
jbeich
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 246419
:
214416
|
214418
| 214420