aboutsummaryrefslogtreecommitdiff
path: root/p7zip/fix-uintxx_t-redefined.patch
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
commit93a354611e38a6949add5c2e5ccc93ef79b9755f (patch)
tree7fee41752b1047d74c59f8ee046cd62735e7e934 /p7zip/fix-uintxx_t-redefined.patch
parent35912580b66e9439f91ea441938828ad8aa33b0d (diff)
downloadalicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz
alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'p7zip/fix-uintxx_t-redefined.patch')
-rw-r--r--p7zip/fix-uintxx_t-redefined.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/p7zip/fix-uintxx_t-redefined.patch b/p7zip/fix-uintxx_t-redefined.patch
new file mode 100644
index 00000000..d5d802da
--- /dev/null
+++ b/p7zip/fix-uintxx_t-redefined.patch
@@ -0,0 +1,23 @@
+diff --git a/C/hashes/hash.h b/C/hashes/hash.h
+index 3abf275..5084b25 100644
+--- a/C/hashes/hash.h
++++ b/C/hashes/hash.h
+@@ -42,17 +42,7 @@
+
+ #include "../7zTypes.h"
+
+-#ifndef _UINT32_T_DECLARED
+-typedef UInt32 uint32_t;
+-#define _UINT32_T_DECLARED
+-#endif
+-
+-#ifndef _UINT64_T_DECLARED
+-typedef UInt64 uint64_t;
+-#define _UINT64_T_DECLARED
+-#endif
+-
+-//#include <stdint.h>
++#include <stdint.h>
+
+ #ifndef min
+ #define min(a,b) (((a)>(b))?(b):(a))