mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
pycryptodome: new recipe (#7714)
* pycryptodome: new recipe * Add the "separate_namespace" version: pycryptodomex. This one installs as "Cryptodome", as to not conflict with pycrypto. Minor clean ups on both recipes. Build, installed, and smoke-tested on both x86_64 and x86_32 (GCC11).
This commit is contained in:
22
dev-python/pycryptodome/patches/pycryptodome-3.16.0.patchset
Normal file
22
dev-python/pycryptodome/patches/pycryptodome-3.16.0.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From 4fde02e923cc6f62a000caa66c12705ae5d2c6d3 Mon Sep 17 00:00:00 2001
|
||||
From: Oscar Lesta <oscar.lesta@gmail.com>
|
||||
Date: Sun, 1 Jan 2023 07:35:12 -0300
|
||||
Subject: Change header guard to not clash with the one from Haiku's Errors.h
|
||||
|
||||
It was causing some compilation errors that were a bit puzzling.
|
||||
|
||||
diff --git a/src/errors.h b/src/errors.h
|
||||
index 831980d..89834ce 100644
|
||||
--- a/src/errors.h
|
||||
+++ b/src/errors.h
|
||||
@@ -1,5 +1,5 @@
|
||||
-#ifndef _ERRORS_H
|
||||
-#define _ERRORS_H
|
||||
+#ifndef _ERRORS_CRYPTODOME_H
|
||||
+#define _ERRORS_CRYPTODOME_H
|
||||
|
||||
/** Standard errors common to all ciphers **/
|
||||
#define ERR_NULL 1
|
||||
--
|
||||
2.37.3
|
||||
|
||||
Reference in New Issue
Block a user