aports/testing/wiredtiger/10-fix-code-generator.patch
Philipp Andronov e3f9b82606 testing/wiredtiger: new aport
High performance, scalable, production quality, NoSQL, Open Source extensible
platform for data management. http://www.wiredtiger.com

This package is a dependency of incoming MongoDB package.
2015-06-19 12:07:29 +02:00

12 lines
479 B
Diff

--- 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(.*)[ ]*//' \