summaryrefslogtreecommitdiff
path: root/math/p5-Bit-ShiftReg/files/patch-lib_defs.h
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-10-04 20:22:22 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-10-04 20:22:22 +0000
commitc907db8df03e4299b60b1cc2a214520d54c401da (patch)
treead0f3ff83932dd86da0e7553bc7691ae93bd24ba /math/p5-Bit-ShiftReg/files/patch-lib_defs.h
parentStagify (diff)
- Add stage support
- Fix build with perl 5.16
Diffstat (limited to 'math/p5-Bit-ShiftReg/files/patch-lib_defs.h')
-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]