aboutsummaryrefslogtreecommitdiff
path: root/editors/texstudio
diff options
context:
space:
mode:
authorAlexandre C. GuimarĂ£es <rigoletto@FreeBSD.org>2020-09-03 02:46:49 +0000
committerAlexandre C. GuimarĂ£es <rigoletto@FreeBSD.org>2020-09-03 02:46:49 +0000
commit63bed438739bb30f4347f9114801c7cce8bd3f13 (patch)
treebcddc2a39a89fd850a816e98fbd69b9e65edb3a1 /editors/texstudio
parentf78f8bc162de9266e8801d117934911fb84297b7 (diff)
downloadports-63bed438739bb30f4347f9114801c7cce8bd3f13.tar.gz
ports-63bed438739bb30f4347f9114801c7cce8bd3f13.zip
editors/texstudio: Fix build on -CURRENT.
PR: 249030 Submitted by: rhurlin
Notes
Notes: svn path=/head/; revision=547402
Diffstat (limited to 'editors/texstudio')
-rw-r--r--editors/texstudio/files/patch-src_texstudio.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/texstudio/files/patch-src_texstudio.cpp b/editors/texstudio/files/patch-src_texstudio.cpp
new file mode 100644
index 000000000000..ff443ccb6492
--- /dev/null
+++ b/editors/texstudio/files/patch-src_texstudio.cpp
@@ -0,0 +1,11 @@
+--- src/texstudio.cpp.orig 2020-09-03 02:38:42 UTC
++++ src/texstudio.cpp
+@@ -3600,7 +3600,7 @@ void Texstudio::editEraseWordCmdEnv()
+
+ switch (tk.type) {
+ case Token::commandUnknown:
+- [[gnu::fallthrough]]
++ [[gnu::fallthrough]];
+ case Token::command:
+ command = tk.getText();
+ if (command == "\\begin" || command == "\\end") {