summarylogtreecommitdiffstats
path: root/0001-uintptr_t.patch
diff options
context:
space:
mode:
authorChris Severance2023-12-30 17:12:00 -0500
committerChris Severance2023-12-30 17:12:00 -0500
commit4d3e5409e7239159816728cc31962d72ddb75502 (patch)
tree927355d6fdcb01379c21babb6dca49414bf09cb7 /0001-uintptr_t.patch
parent77f9aaf6bb95919daf46464991f2e52fc30fada5 (diff)
downloadaur-urbackup2-client-no-gui.tar.gz
autu: Update to 2.5.25-1
Diffstat (limited to '0001-uintptr_t.patch')
-rw-r--r--0001-uintptr_t.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/0001-uintptr_t.patch b/0001-uintptr_t.patch
new file mode 100644
index 000000000000..bf8669359a51
--- /dev/null
+++ b/0001-uintptr_t.patch
@@ -0,0 +1,16 @@
+diff -pNaru5 a/blockalign_src/crc.cpp b/blockalign_src/crc.cpp
+--- a/blockalign_src/crc.cpp 2022-08-21 04:45:31.000000000 -0400
++++ b/blockalign_src/crc.cpp 2023-12-30 15:30:07.153693741 -0500
+@@ -116,10 +116,12 @@
+ // uintptr_t and ptrdiff_t
+ #if (__cplusplus < 201103L) && (!defined(_MSC_VER) || (_MSC_VER >= 1700))
+ # include <stdint.h>
+ #elif defined(_MSC_VER) && (_MSC_VER < 1700)
+ # include <stddef.h>
++#else
++# include <cstdint>
+ #endif
+
+ #if CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE
+ #include <smmintrin.h>
+ #endif