aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libexmdbpp/0001-musl-ulong.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libexmdbpp/0001-musl-ulong.patch')
-rwxr-xr-xtesting/libexmdbpp/0001-musl-ulong.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/libexmdbpp/0001-musl-ulong.patch b/testing/libexmdbpp/0001-musl-ulong.patch
new file mode 100755
index 00000000000..11472934380
--- /dev/null
+++ b/testing/libexmdbpp/0001-musl-ulong.patch
@@ -0,0 +1,13 @@
+diff -ruN a/src/requests.cpp b/src/requests.cpp
+--- a/src/requests.cpp 2024-03-06 19:19:25.370737482 +0100
++++ b/src/requests.cpp 2024-03-06 19:20:40.600711937 +0100
+@@ -9,6 +9,9 @@
+ #include <random>
+ #include <chrono>
+
++// Definition needed for musl
++typedef unsigned long ulong;
++
+ using namespace exmdbpp::structures;
+ using namespace exmdbpp::constants;
+