aboutsummaryrefslogtreecommitdiff
path: root/devel/llvm12/files/patch-clang_tools_clang-format_clang-format-sublime.py
diff options
context:
space:
mode:
Diffstat (limited to 'devel/llvm12/files/patch-clang_tools_clang-format_clang-format-sublime.py')
-rw-r--r--devel/llvm12/files/patch-clang_tools_clang-format_clang-format-sublime.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/llvm12/files/patch-clang_tools_clang-format_clang-format-sublime.py b/devel/llvm12/files/patch-clang_tools_clang-format_clang-format-sublime.py
new file mode 100644
index 000000000000..8b2d60b49a8f
--- /dev/null
+++ b/devel/llvm12/files/patch-clang_tools_clang-format_clang-format-sublime.py
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- clang/tools/clang-format/clang-format-sublime.py.orig
++++ clang/tools/clang-format/clang-format-sublime.py
+@@ -18,7 +18,7 @@
+ import subprocess
+
+ # Change this to the full path if clang-format is not on the path.
+-binary = 'clang-format'
++binary = 'clang-format%%LLVM_SUFFIX%%'
+
+ # Change this to format according to other formatting styles. See the output of
+ # 'clang-format --help' for a list of supported styles. The default looks for