summaryrefslogtreecommitdiff
path: root/print/lilypond-devel/files/patch-flower-include_std-vector.hh
diff options
context:
space:
mode:
Diffstat (limited to 'print/lilypond-devel/files/patch-flower-include_std-vector.hh')
-rw-r--r--print/lilypond-devel/files/patch-flower-include_std-vector.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/print/lilypond-devel/files/patch-flower-include_std-vector.hh b/print/lilypond-devel/files/patch-flower-include_std-vector.hh
new file mode 100644
index 000000000000..75a8a4f2a751
--- /dev/null
+++ b/print/lilypond-devel/files/patch-flower-include_std-vector.hh
@@ -0,0 +1,10 @@
+--- flower/include/std-vector.hh.orig 2014-05-05 10:25:02.000000000 +0200
++++ flower/include/std-vector.hh 2014-05-05 10:28:54.000000000 +0200
+@@ -261,6 +261,6 @@
+ vector<string> string_split (string str, char c);
+ string string_join (vector<string> const &strs, const string &infix);
+
+-#define iterof(i,s) typeof((s).begin()) i((s).begin())
++#define iterof(i,s) auto i = ((s).begin())
+
+ #endif /* STD_VECTOR_HH */