void-packages/srcpkgs/pahole/patches/fix_wordsize.patch
Andrew Benson 031a251762 New package: pahole-1.12
Closes #10100.
2019-04-02 03:37:47 -03:00

12 lines
261 B
Diff

--- hash.h.orig
+++ hash.h
@@ -16,6 +16,9 @@
#include <stdint.h>
+#undef __WORDSIZE
+#define __WORDSIZE 64
+
/* 2^31 + 2^29 - 2^25 + 2^22 - 2^19 - 2^16 + 1 */
#define GOLDEN_RATIO_PRIME_32 0x9e370001UL
/* 2^63 + 2^61 - 2^57 + 2^54 - 2^51 - 2^18 + 1 */