[med-svn] [Git][med-team/simka][master] Patch to fix (relative) pathing of simka binary and instead hard code this as /usr/bin/simka
Shayan Doust
gitlab at salsa.debian.org
Fri Sep 13 22:17:31 BST 2019
Shayan Doust pushed to branch master at Debian Med / simka
Commits:
3ea7cc6e by Shayan Doust at 2019-09-13T07:46:48Z
Patch to fix (relative) pathing of simka binary and instead hard code this as /usr/bin/simka
- - - - -
2 changed files:
- + debian/patches/fix_binary_path.patch
- debian/patches/series
Changes:
=====================================
debian/patches/fix_binary_path.patch
=====================================
@@ -0,0 +1,28 @@
+Description: hard code binary path
+ Simka gets the "simka" binary path from the command "simka", which is not the same as /usr/bin/simka. Hard code this path so that simka finds its binary.
+Author: Shayan Doust <hello at shayandoust.me>
+Last-Update: 2019-09-13
+---
+
+Index: simka/src/SimkaPotara.cpp
+===================================================================
+--- simka.orig/src/SimkaPotara.cpp 2019-09-13 08:44:18.831548830 +0100
++++ simka/src/SimkaPotara.cpp 2019-09-13 08:44:18.831548830 +0100
+@@ -28,7 +28,7 @@
+ */
+ SimkaPotara::SimkaPotara(const string& execFilename) : Tool ("Simka")
+ {
+-
++
+ _execFilename = execFilename;
+
+ Simka::createOptionsParser(getParser());
+@@ -151,7 +151,7 @@
+ // We run the tool with the provided command line arguments.
+
+ //cout << argv[0] << endl;
+- SimkaPotara(string(argv[0])).run (argc, argv);
++ SimkaPotara(string("/usr/bin/simka")).run (argc, argv);
+ }
+ catch (Exception& e)
+ {
=====================================
debian/patches/series
=====================================
@@ -1,4 +1,5 @@
detailed_errors.patch
+fix_binary_path.patch
fix_test_path.patch
2to3.patch
use_debian_packaged_libraries.patch
View it on GitLab: https://salsa.debian.org/med-team/simka/commit/3ea7cc6ecb7f15f5beeac5946c5f4b27e60f582a
--
View it on GitLab: https://salsa.debian.org/med-team/simka/commit/3ea7cc6ecb7f15f5beeac5946c5f4b27e60f582a
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190913/33617100/attachment-0001.html>
More information about the debian-med-commit
mailing list