diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-09-29 09:07:21 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-09-29 09:07:21 +0000 |
commit | 5580d1c7a275b2a153b54cbb0fdd5021e5b6dc70 (patch) | |
tree | 3fbf77cb236cb3ccb32d4253a22284f1d97125b0 /main/perl-crypt-rijndael/use-stdint_h.patch | |
parent | 8f6f2e3166478b14b208ecfb94ddf01d69dd7bdc (diff) | |
download | aports-5580d1c7a275b2a153b54cbb0fdd5021e5b6dc70.tar.bz2 aports-5580d1c7a275b2a153b54cbb0fdd5021e5b6dc70.tar.xz |
main/perl-crypt-rijndael: use stdint.h to build against musl
Diffstat (limited to 'main/perl-crypt-rijndael/use-stdint_h.patch')
-rw-r--r-- | main/perl-crypt-rijndael/use-stdint_h.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/main/perl-crypt-rijndael/use-stdint_h.patch b/main/perl-crypt-rijndael/use-stdint_h.patch new file mode 100644 index 0000000000..76471bee9a --- /dev/null +++ b/main/perl-crypt-rijndael/use-stdint_h.patch @@ -0,0 +1,18 @@ +Only in Crypt-Rijndael-1.11: Rijndael.o +Only in Crypt-Rijndael-1.11: _rijndael.o +Only in Crypt-Rijndael-1.11: blib/arch/auto/Crypt/Rijndael/Rijndael.so +Only in Crypt-Rijndael-1.11: blib/man3/Crypt::Rijndael.3 +--- Crypt-Rijndael-1.11.orig/rijndael.h ++++ Crypt-Rijndael-1.11/rijndael.h +@@ -72,6 +72,11 @@ + typedef u_char UINT8; + #endif + ++#include <stdint.h> ++#define _CRYPT_RIJNDAEL_H_TYPES ++typedef uint32_t UINT32; ++typedef uint8_t UINT8; ++ + /* I expect this to be the usual case */ + #if ! defined(_CRYPT_RIJNDAEL_H_TYPES) && ( defined(_SYS_TYPES_H) || defined(_SYS_TYPES_H_) ) + #define _CRYPT_RIJNDAEL_H_TYPES |