aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Bit-ShiftReg/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/p5-Bit-ShiftReg/files')
-rw-r--r--math/p5-Bit-ShiftReg/files/patch-lib_defs.h11
1 files changed, 11 insertions, 0 deletions
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]