summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2020-01-01 13:58:31 +0100
committerSylvestre Ledru <sylvestre@debian.org>2020-01-01 13:58:31 +0100
commit2ac5c08326c6c49b3c300f8ccd616f03e73b81a0 (patch)
tree4514a92e05b3b55801a0d2dd5cb7e8f34515ed73
parent775728de55ea9f1dbdfc47db872966571c0ac607 (diff)
python3 patch
-rw-r--r--debian/patches/python3.diff20
-rw-r--r--debian/patches/series1
2 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/python3.diff b/debian/patches/python3.diff
new file mode 100644
index 0000000..315255a
--- /dev/null
+++ b/debian/patches/python3.diff
@@ -0,0 +1,20 @@
+Index: iwyu.git/fix_includes.py
+===================================================================
+--- iwyu.git.orig/fix_includes.py
++++ iwyu.git/fix_includes.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+
+ ##===--- fix_includes.py - rewrite source files based on iwyu output ------===##
+ #
+Index: iwyu.git/iwyu_tool.py
+===================================================================
+--- iwyu.git.orig/iwyu_tool.py
++++ iwyu.git/iwyu_tool.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ """ Driver to consume a Clang compilation database and invoke IWYU.
+
+ Example usage with CMake:
diff --git a/debian/patches/series b/debian/patches/series
index 3b7fcdd..788342c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
struct.patch
+python3.diff