Files
haikuports/dev-python/pycryptodome/patches/pycryptodome-3.16.0.patchset
OscarL 380c11c28d 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).
2023-01-02 10:02:02 +01:00

23 lines
613 B
Plaintext

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