fix(root/pixiewps): Fix build error if tomcrypt is installed
This commit is contained in:
parent
1098573079
commit
5a94610040
|
@ -0,0 +1,36 @@
|
|||
Avoid build error if there are system tomcrypt headers.
|
||||
|
||||
diff -u -r ../orig-src/src/crypto/tc/tomcrypt.h ./src/crypto/tc/tomcrypt.h
|
||||
--- ../orig-src/src/crypto/tc/tomcrypt.h 2018-01-25 21:05:41.000000000 +0000
|
||||
+++ ./src/crypto/tc/tomcrypt.h 2023-10-08 06:06:38.771483149 +0000
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <limits.h>
|
||||
|
||||
/* use configuration data */
|
||||
-#include <tomcrypt_custom.h>
|
||||
+#include "tomcrypt_custom.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -79,16 +79,16 @@
|
||||
CRYPT_HASH_OVERFLOW /* Hash applied to too many bits */
|
||||
};
|
||||
|
||||
-#include <tomcrypt_cfg.h>
|
||||
-#include <tomcrypt_macros.h>
|
||||
-#include <tomcrypt_cipher.h>
|
||||
-#include <tomcrypt_hash.h>
|
||||
+#include "tomcrypt_cfg.h"
|
||||
+#include "tomcrypt_macros.h"
|
||||
+#include "tomcrypt_cipher.h"
|
||||
+#include "tomcrypt_hash.h"
|
||||
/* #include <tomcrypt_mac.h> */
|
||||
/* #include <tomcrypt_prng.h> */
|
||||
/* #include <tomcrypt_pk.h> */
|
||||
/* #include <tomcrypt_math.h> */
|
||||
/* #include <tomcrypt_misc.h> */
|
||||
-#include <tomcrypt_argchk.h>
|
||||
+#include "tomcrypt_argchk.h"
|
||||
/* #include <tomcrypt_pkcs.h> */
|
||||
|
||||
#ifdef __cplusplus
|
|
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="An offline Wi-Fi Protected Setup brute-force utility"
|
|||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.4.2
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SRCURL=https://github.com/wiire-a/pixiewps/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=c73ffd58c461a88504cca36e5a29981dc68b78f8fdd31d7c546bc204fad7c435
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
|
Loading…
Reference in New Issue