1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Update to 5.2.1

PR:		75392
Submitted by:	delphij
This commit is contained in:
Clement Laforet 2004-12-23 09:42:36 +00:00
parent c87f780e3e
commit 30dbf40c5c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124941
4 changed files with 8 additions and 28 deletions

View File

@ -6,17 +6,17 @@
#
PORTNAME= cryptopp
PORTVERSION= 5.2
PORTVERSION= 5.2.1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.eskimo.com/~weidai/ \
http://gd.tuwien.ac.at/privacy/crypto/libs/cryptlib/ \
http://www.mirrors.wiretapped.net/security/cryptography/libraries/cryptolib/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= crypto${PORTVERSION:S/.//g}
DISTNAME= cryptopp${PORTVERSION:S/.//g}
EXTRACT_SUFX= .zip
MAINTAINER= delphij@FreeBSD.org.cn
MAINTAINER= delphij@FreeBSD.org
COMMENT= A free C++ class library of Cryptographic Primitives
NO_WRKSUBDIR= yes

View File

@ -1,2 +1,2 @@
MD5 (crypto52.zip) = 5c09d632ef36e889f1727fb50cb21c4d
SIZE (crypto52.zip) = 1045252
MD5 (cryptopp521.zip) = 82a00c44235ccbae2bedf9cb16c40ac3
SIZE (cryptopp521.zip) = 1010937

View File

@ -1,20 +0,0 @@
--- integer.cpp.orig Sun Jul 18 00:46:23 2004
+++ integer.cpp Sun Jul 18 00:46:46 2004
@@ -20,7 +20,7 @@
#ifdef SSE2_INTRINSICS_AVAILABLE
#ifdef __GNUC__
#include <xmmintrin.h>
- #include <malloc.h>
+ #include <stdlib.h>
#include <signal.h>
#include <setjmp.h>
#else
@@ -56,7 +56,7 @@
{
void *p;
#ifdef __GNUC__
- while (!(p = memalign(16, sizeof(T)*n)))
+ while (!(p = malloc(sizeof(T)*n)))
#else
while (!(p = _mm_malloc(sizeof(T)*n, 16)))
#endif

View File

@ -124,6 +124,6 @@ include/cryptopp/zinflate.h
include/cryptopp/zlib.h
lib/libcryptopp.a
@dirrm include/cryptopp
%%PORTDOCS%%share/doc/cryptopp/README
%%PORTDOCS%%share/doc/cryptopp/License
%%PORTDOCS%%@dirrm share/doc/cryptopp
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/License
%%PORTDOCS%%@dirrm %%DOCSDIR%%