From c907db8df03e4299b60b1cc2a214520d54c401da Mon Sep 17 00:00:00 2001 From: Andrej Zverev Date: Fri, 4 Oct 2013 20:22:22 +0000 Subject: - Add stage support - Fix build with perl 5.16 --- math/p5-Bit-ShiftReg/files/patch-lib_defs.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 math/p5-Bit-ShiftReg/files/patch-lib_defs.h (limited to 'math/p5-Bit-ShiftReg/files/patch-lib_defs.h') diff --git a/math/p5-Bit-ShiftReg/files/patch-lib_defs.h b/math/p5-Bit-ShiftReg/files/patch-lib_defs.h new file mode 100644 index 000000000000..7465367e5afc --- /dev/null +++ b/math/p5-Bit-ShiftReg/files/patch-lib_defs.h @@ -0,0 +1,11 @@ +--- ./lib_defs.h.orig 2013-10-05 00:19:24.238806604 +0400 ++++ ./lib_defs.h 2013-10-05 00:19:56.892159090 +0400 +@@ -62,7 +62,7 @@ + #undef TRUE + #define TRUE (0==0) + +-typedef enum { false = FALSE , true = TRUE } boolean; ++typedef enum { _false = FALSE , _true = TRUE } boolean; + + #define blockdef(name,size) unsigned char name[size] + #define blocktypedef(name,size) typedef unsigned char name[size] -- cgit v1.2.3