summaryrefslogtreecommitdiff
path: root/xdgmenumaker/debian/patches/0001-force-python3.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-01-05 09:46:03 -0500
committerB Stack <bgstack15@gmail.com>2020-01-05 09:46:03 -0500
commit177175f8e1485120847250573b2b4babdb7a2e65 (patch)
treeec2e478f5909e75b477d8427fddaf909eb58209a /xdgmenumaker/debian/patches/0001-force-python3.patch
parentimprove debian/watch files for many packages (diff)
downloadstackrpms-177175f8e1485120847250573b2b4babdb7a2e65.tar.gz
stackrpms-177175f8e1485120847250573b2b4babdb7a2e65.tar.bz2
stackrpms-177175f8e1485120847250573b2b4babdb7a2e65.zip
add xdgmenumaker, at v 1.5
Diffstat (limited to 'xdgmenumaker/debian/patches/0001-force-python3.patch')
-rw-r--r--xdgmenumaker/debian/patches/0001-force-python3.patch18
1 files changed, 18 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
bgstack15