summaryrefslogtreecommitdiffstats
path: root/external/liborcus/liborcus_newline.patch.1
diff options
context:
space:
mode:
Diffstat (limited to 'external/liborcus/liborcus_newline.patch.1')
-rw-r--r--external/liborcus/liborcus_newline.patch.117
1 files changed, 17 insertions, 0 deletions
diff --git a/external/liborcus/liborcus_newline.patch.1 b/external/liborcus/liborcus_newline.patch.1
new file mode 100644
index 000000000..5b2038d5c
--- /dev/null
+++ b/external/liborcus/liborcus_newline.patch.1
@@ -0,0 +1,17 @@
+Add newline at end of KRHangulMapping.h
+
+without this, compiling output of GCC 11 -E -fdirectives-only fails with:
+
+ooxml_tokens.inl:3524:32: error: stray '#' in program
+
+https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100392
+
+--- liborcus/src/liborcus/ooxml_tokens.inl.orig 2021-05-01 18:12:37.490131155 +0200
++++ liborcus/src/liborcus/ooxml_tokens.inl 2021-05-01 18:12:50.994119453 +0200
+@@ -3521,4 +3521,4 @@
+ "zoomToFit" // 3517
+ };
+
+-size_t token_name_count = 3518;
+\ No newline at end of file
++size_t token_name_count = 3518;