summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/gns3/files/gns3-0.7.2_set_qemu_path.patch')
-rw-r--r--net-misc/gns3/files/gns3-0.7.2_set_qemu_path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/gns3/files/gns3-0.7.2_set_qemu_path.patch b/net-misc/gns3/files/gns3-0.7.2_set_qemu_path.patch
new file mode 100644
index 000000000..2eaea482d
--- /dev/null
+++ b/net-misc/gns3/files/gns3-0.7.2_set_qemu_path.patch
@@ -0,0 +1,12 @@
+--- /tmp/GNS3-0.7-src/src/GNS3/Ui/ConfigurationPages/Page_PreferencesQemu.py.old 2010-04-12 11:13:56.594820507 +0200
++++ /tmp/GNS3-0.7-src/src/GNS3/Ui/ConfigurationPages/Page_PreferencesQemu.py 2010-04-12 11:15:02.599822184 +0200
+@@ -82,8 +82,7 @@
+ if sys.platform.startswith('win'):
+ self.conf.qemuwrapper_path = unicode('qemuwrapper.exe')
+ else:
+- path = os.getcwd() + '/qemuwrapper/qemuwrapper.py'
+- self.conf.qemuwrapper_path = unicode(path, errors='replace')
++ self.conf.qemuwrapper_path = unicode('/usr/libexec/gns3/qemuwrapper.py')
+
+ # Default path to working directory
+ if self.conf.qemuwrapper_workdir == '':