FreeBSD Bugzilla – Attachment 140745 Details for
Bug 187441
security/libgcrypt builds with generic MPI code instead of optimized assembler code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libgcrypt.patch
libgcrypt.patch (text/x-patch), 4.49 KB, created by
Tijl Coosemans
on 2014-03-16 16:16:21 UTC
(
hide
)
Description:
libgcrypt.patch
Filename:
MIME Type:
Creator:
Tijl Coosemans
Created:
2014-03-16 16:16:21 UTC
Size:
4.49 KB
patch
obsolete
>Index: security/libgcrypt/Makefile >=================================================================== >--- security/libgcrypt/Makefile (revision 348404) >+++ security/libgcrypt/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= libgcrypt > PORTVERSION= 1.5.3 >+PORTREVISION= 1 > CATEGORIES= security > MASTER_SITES= ${MASTER_SITE_GNUPG} > MASTER_SITE_SUBDIR= ${PORTNAME} >@@ -16,8 +17,7 @@ LICENSE_COMB= multi > BUILD_DEPENDS= libgpg-error>=1.8:${PORTSDIR}/security/libgpg-error > RUN_DEPENDS= libgpg-error>=1.8:${PORTSDIR}/security/libgpg-error > >-USE_BZIP2= yes >-USE_AUTOTOOLS= libtool >+USES= libtool:oldver tar:bzip2 > USE_CSTD= gnu89 > GNU_CONFIGURE= yes > CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" >@@ -28,7 +28,7 @@ DOCS= AUTHORS ChangeLog ChangeLog-2011 > INFO= gcrypt > PORTDOCS= * > >-.include <bsd.port.pre.mk> >+.include <bsd.port.options.mk> > > .if ${ARCH} == "powerpc" > CONFIGURE_ARGS+= --disable-asm >@@ -39,17 +39,10 @@ USE_GCC= any > .elif ${ARCH} == "i386" > .if (${OSVERSION} < 900033) > CONFIGURE_ARGS+= --disable-aesni-support >-#workaround for FreeBSD 10.0 >-.elif (${OSVERSION} >= 1000000) >-CONFIGURE_ARGS+= --disable-asm > .endif > .endif > > post-patch: >- @${REINPLACE_CMD} -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|" \ >- ${WRKSRC}/ltmain.sh >- >-pre-configure: > @${RM} -f ${WRKSRC}/doc/gcrypt.info* > > .if ${PORT_OPTIONS:MDOCS} >@@ -59,6 +52,6 @@ post-install: > .endif > > regression-test: build >- cd ${WRKSRC} && ${MAKE} check >+ cd ${WRKSRC} && ${MAKE_CMD} check > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >Index: security/libgcrypt/files/patch-ltmain.sh >=================================================================== >--- security/libgcrypt/files/patch-ltmain.sh (revision 348404) >+++ security/libgcrypt/files/patch-ltmain.sh (working copy) >@@ -1,32 +0,0 @@ >---- ltmain.sh Wed Jul 17 15:42:41 2002 >-+++ ltmain.sh Wed Jul 17 15:47:36 2002 >-@@ -2077,10 +2077,12 @@ >- fi >- >- # Install the pseudo-library for information purposes. >-+ if /usr/bin/false; then >- func_basename "$file" >- name="$func_basename_result" >- instname="$dir/$name"i >- func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' >-+ fi >- >- # Maybe install the static library, too. >- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" >-@@ -4560,8 +4562,16 @@ >- continue >- ;; >- >-+ -pthread) >-+ compile_command="$compile_command %%PTHREAD_LIBS%%" >-+ finalize_command="$finalize_command %%PTHREAD_LIBS%%" >-+ compiler_flags="$compiler_flags %%PTHREAD_LIBS%%" >-+ continue; >-+ ;; >-+ >- -module) >- module=yes >-+ build_old_libs=yes >- continue >- ;; >- >Index: security/libgcrypt/files/patch-mpi-config.links >=================================================================== >--- security/libgcrypt/files/patch-mpi-config.links (revision 0) >+++ security/libgcrypt/files/patch-mpi-config.links (working copy) >@@ -0,0 +1,30 @@ >+--- mpi/config.links.orig 2014-03-16 14:43:08.000000000 +0100 >++++ mpi/config.links 2014-03-16 14:46:45.000000000 +0100 >+@@ -47,7 +47,8 @@ >+ ;; >+ i[3467]86*-*-openbsd* | \ >+ i[3467]86*-*-freebsd*-elf | \ >+- i[3467]86*-*-freebsd[3-9]* | \ >++ i[3467]86*-*-freebsd[3-9].*| \ >++ i[3467]86*-*-freebsd[1-9][0-9].* | \ >+ i[3467]86*-*-freebsdelf* | \ >+ i[3467]86*-*-netbsd* | \ >+ i[3467]86*-*-k*bsd*) >+@@ -57,7 +58,8 @@ >+ ;; >+ i586*-*-openbsd* | \ >+ i586*-*-freebsd*-elf | \ >+- i586*-*-freebsd[3-9]* | \ >++ i586*-*-freebsd[3-9].* | \ >++ i586*-*-freebsd[1-9][0-9].* | \ >+ i586*-*-freebsdelf* | \ >+ i586*-*-netbsd* | \ >+ i586*-*-k*bsd* | \ >+@@ -112,6 +114,7 @@ >+ cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h >+ path="i586 i386" >+ ;; >++ amd64-*-* | \ >+ x86_64-*-*) >+ echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h >+ cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h > >Property changes on: security/libgcrypt/files/patch-mpi-config.links >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: security/libgcrypt/pkg-plist >=================================================================== >--- security/libgcrypt/pkg-plist (revision 348404) >+++ security/libgcrypt/pkg-plist (working copy) >@@ -3,7 +3,6 @@ bin/hmac256 > bin/libgcrypt-config > include/gcrypt.h > include/gcrypt-module.h >-lib/libgcrypt.a > lib/libgcrypt.la > lib/libgcrypt.so > lib/libgcrypt.so.19
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
Actions:
View
|
Diff
Attachments on
bug 187441
:
140744
| 140745 |
140746