aboutsummaryrefslogtreecommitdiffstats
path: root/community/wiredtiger/10-fix-code-generator.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/wiredtiger/10-fix-code-generator.patch')
-rw-r--r--community/wiredtiger/10-fix-code-generator.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/wiredtiger/10-fix-code-generator.patch b/community/wiredtiger/10-fix-code-generator.patch
new file mode 100644
index 0000000000..618106f511
--- /dev/null
+++ b/community/wiredtiger/10-fix-code-generator.patch
@@ -0,0 +1,11 @@
+--- orig/wiredtiger-2.6.0/dist/s_typedef
++++ wiredtiger-2.6.0/dist/s_typedef
+@@ -21,7 +21,7 @@
+ l=`ls ../src/include/*.[hi] ../src/include/*.in |
+ sed -e '/wiredtiger.*/d' -e '/queue.h/d'`
+ egrep -h \
+- '^[ ]*(((struct|union)[ ].*__wt_.*{)|WT_PACKED_STRUCT_BEGIN)' \
++ '^[ ]*(((struct|union)[ ].*__wt_.*\{)|WT_PACKED_STRUCT_BEGIN)' \
+ $l |
+ sed -e 's/WT_PACKED_STRUCT_BEGIN(\(.*\))/struct \1 {/' \
+ -e 's/WT_COMPILER_TYPE_ALIGN(.*)[ ]*//' \