diff --git a/srcpkgs/perl-Crypt-Rijndael/patches/use-stdint_h.patch b/srcpkgs/perl-Crypt-Rijndael/patches/use-stdint_h.patch new file mode 100644 index 00000000000..f3f4fe7f88a --- /dev/null +++ b/srcpkgs/perl-Crypt-Rijndael/patches/use-stdint_h.patch @@ -0,0 +1,14 @@ +--- rijndael.h ++++ rijndael.h +@@ -72,6 +72,11 @@ + typedef u_char UINT8; + #endif + ++#include ++#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 diff --git a/srcpkgs/perl-Crypt-Rijndael/template b/srcpkgs/perl-Crypt-Rijndael/template index bfa4bd81a5e..78cf0443d49 100644 --- a/srcpkgs/perl-Crypt-Rijndael/template +++ b/srcpkgs/perl-Crypt-Rijndael/template @@ -1,7 +1,7 @@ # Template file for 'perl-Crypt-Rijndael' pkgname=perl-Crypt-Rijndael version=1.13 -revision=1 +revision=2 wrksrc="${pkgname/perl-/}-${version}" build_style=perl-module hostmakedepends="perl"