summaryrefslogtreecommitdiff
path: root/xdgmenumaker/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'xdgmenumaker/debian/patches')
-rw-r--r--xdgmenumaker/debian/patches/0001-force-python3.patch18
-rw-r--r--xdgmenumaker/debian/patches/series1
2 files changed, 19 insertions, 0 deletions
diff --git a/xdgmenumaker/debian/patches/0001-force-python3.patch b/xdgmenumaker/debian/patches/0001-force-python3.patch
new file mode 100644
index 0000000..2379e7d
--- /dev/null
+++ b/xdgmenumaker/debian/patches/0001-force-python3.patch
@@ -0,0 +1,18 @@
+diff -x '.git*' -x '*.swp' -x '*.orig' -x '*.rej' -Naur xdgmenumaker-1.5/src/xdgmenumaker xdgmenumaker-1.5.debian/src/xdgmenumaker
+--- xdgmenumaker-1.5/src/xdgmenumaker 2018-09-16 15:42:50.000000000 -0400
++++ xdgmenumaker-1.5.debian/src/xdgmenumaker 2020-01-05 08:52:55.880931853 -0500
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # coding: utf-8
+ # vim:et:sta:sts=4:sw=4:ts=8:tw=79:
+
+@@ -151,7 +151,7 @@
+ terminal_app = os.getenv("XDGMENUMAKERTERM")
+ if not terminal_app:
+ try:
+- config = cp.SafeConfigParser()
++ config = cp.ConfigParser()
+ config.read(os.path.expanduser('~/.config/xdgmenumaker.cfg'))
+ terminal_app = config.get('Terminal', 'terminal')
+ # if there isn't, on debian and debian-likes, use the alternatives
diff --git a/xdgmenumaker/debian/patches/series b/xdgmenumaker/debian/patches/series
new file mode 100644
index 0000000..ca9469e
--- /dev/null
+++ b/xdgmenumaker/debian/patches/series
@@ -0,0 +1 @@
+0001-force-python3.patch
bgstack15