View | Details | Raw Unified | Return to bug 258030
Collapse All | Expand All

(-)b/security/pecl-scrypt/Makefile (-1 / +1 lines)
Lines 11-17 LICENSE= BSD2CLAUSE Link Here
11
LICENSE_FILE=  ${WRKSRC}/LICENSE
11
LICENSE_FILE=  ${WRKSRC}/LICENSE
12
USES=          php:pecl
12
USES=          php:pecl
13
IGNORE_WITH_PHP=       80
13
#IGNORE_WITH_PHP=      80
14
USE_PHP=       hash:build
14
USE_PHP=       hash:build
15
OPTIONS_DEFINE=        DOCS EXAMPLES
15
OPTIONS_DEFINE=        DOCS EXAMPLES
(-)b/security/pecl-scrypt/files/patch-crypto_crypto__scrypt-nosse.c (+10 lines)
Added Link Here
1
--- crypto/crypto_scrypt-nosse.c.orig  2021-08-24 19:31:37 UTC
2
+++ crypto/crypto_scrypt-nosse.c
3
@@ -45,6 +45,7 @@
4
 #include "sysendian.h"
5
6
 #include "crypto_scrypt.h"
7
+#include "php_scrypt.h"
8
9
 static void blkcpy(uint8_t *, uint8_t *, size_t);
10
 static void blkxor(uint8_t *, uint8_t *, size_t);
(-)b/security/pecl-scrypt/files/patch-crypto_crypto__scrypt-sse.c (+10 lines)
Added Link Here
1
--- crypto/crypto_scrypt-sse.c.orig    2021-08-24 19:22:03 UTC
2
+++ crypto/crypto_scrypt-sse.c
3
@@ -44,6 +44,7 @@
4
 #include "sysendian.h"
5
6
 #include "crypto_scrypt.h"
7
+#include "php_scrypt.h"
8
9
 static void blkcpy(void *, void *, size_t);
10
 static void blkxor(void *, void *, size_t);
(-)b/security/pecl-scrypt/files/patch-php__scrypt.h (+12 lines)
Added Link Here
1
--- php_scrypt.h.orig  2021-08-24 19:22:03 UTC
2
+++ php_scrypt.h
3
@@ -35,4 +35,9 @@ PHP_FUNCTION(scrypt_pickparams);
4
 extern zend_module_entry scrypt_module_entry;
5
 #define phpext_scrypt_ptr &scrypt_module_entry
6
7
+#ifndef TSRMLS_CC
8
+#define TSRMLS_CC
9
+#define TSRMLS_FETCH()
10
+#endif
11
+
12
 #endif
(-)b/security/pecl-scrypt/files/patch-php__scrypt__utils.c (+10 lines)
Added Link Here
1
--- php_scrypt_utils.c.orig    2021-08-24 19:22:03 UTC
2
+++ php_scrypt_utils.c
3
@@ -25,6 +25,7 @@
4
  */
5
6
 #include "php_scrypt_utils.h"
7
+#include "php_scrypt.h"
8
9
 /*
10
  * Casts a long into a uint64_t.

Return to bug 258030