security/pecl-scrypt: Fix build with PHP 8
PR: 258030 Reported by: clpo13@gmail.com
This commit is contained in:
parent
aeb4f15f0f
commit
a5d11eeb39
@ -4,6 +4,10 @@ PORTNAME= scrypt
|
||||
PORTVERSION= 1.4.2
|
||||
CATEGORIES= security pear
|
||||
|
||||
# https://github.com/DomBlack/php-scrypt/pull/56/
|
||||
PATCH_SITES= https://github.com/DomBlack/php-scrypt/commit/
|
||||
PATCHFILES= 5010f9fa0743518d149d994728ca930503adde1e.patch:-p1
|
||||
|
||||
MAINTAINER= dbaio@FreeBSD.org
|
||||
COMMENT= PHP wrapper to Colin Percival's scrypt implementation
|
||||
|
||||
@ -11,7 +15,6 @@ LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= php:pecl
|
||||
IGNORE_WITH_PHP= 80
|
||||
USE_PHP= hash:build
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
@ -1,3 +1,5 @@
|
||||
TIMESTAMP = 1491395894
|
||||
TIMESTAMP = 1629893529
|
||||
SHA256 (PECL/scrypt-1.4.2.tgz) = 94c7e7f3378f6ddf1755f59d99f61570f380df2b2fa630853a932d58fa38389c
|
||||
SIZE (PECL/scrypt-1.4.2.tgz) = 21585
|
||||
SHA256 (PECL/5010f9fa0743518d149d994728ca930503adde1e.patch) = 9241f4d2a3c5360a209c7fd308eabaac0dcd0ee356a4badf9e24d93a94ba4bb8
|
||||
SIZE (PECL/5010f9fa0743518d149d994728ca930503adde1e.patch) = 1277
|
||||
|
@ -0,0 +1,12 @@
|
||||
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258030
|
||||
# Based on https://github.com/DomBlack/php-scrypt/pull/56
|
||||
--- crypto/crypto_scrypt-nosse.c.orig 2016-05-18 14:49:13 UTC
|
||||
+++ crypto/crypto_scrypt-nosse.c
|
||||
@@ -45,6 +45,7 @@
|
||||
#include "sysendian.h"
|
||||
|
||||
#include "crypto_scrypt.h"
|
||||
+#include "php_scrypt.h"
|
||||
|
||||
static void blkcpy(uint8_t *, uint8_t *, size_t);
|
||||
static void blkxor(uint8_t *, uint8_t *, size_t);
|
Loading…
Reference in New Issue
Block a user