sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Florian Franzmann (8ff9d251e9de3c983af472903c3654730b08273d)
- From: Florian Franzmann <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Florian Franzmann (8ff9d251e9de3c983af472903c3654730b08273d)
- Date: Mon, 11 Jun 2018 12:56:26 +0000
GIT changes to master grimoire by Florian Franzmann
<siflfran AT hawo.stw.uni-erlangen.de>:
python-pypi/driconf/HISTORY | 3 +++
python-pypi/driconf/PRE_BUILD | 4 ++++
python-pypi/driconf/dri.patch | 26 ++++++++++++++++++++++++++
3 files changed, 33 insertions(+)
New commits:
commit 8ff9d251e9de3c983af472903c3654730b08273d
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
python-pypi/driconf: fix access to uninitialized variable
diff --git a/python-pypi/driconf/HISTORY b/python-pypi/driconf/HISTORY
index 890d3aa..0f999a4 100644
--- a/python-pypi/driconf/HISTORY
+++ b/python-pypi/driconf/HISTORY
@@ -1,3 +1,6 @@
+2018-06-11 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * PRE_BUILD, dri.patch: fix access to uninitialized variable
+
2008-01-13 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: cleaned up
diff --git a/python-pypi/driconf/PRE_BUILD b/python-pypi/driconf/PRE_BUILD
index 5891fcf..0e403d7 100755
--- a/python-pypi/driconf/PRE_BUILD
+++ b/python-pypi/driconf/PRE_BUILD
@@ -1,3 +1,7 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&
+
+patch -p1 < "$SPELL_DIRECTORY/dri.patch" &&
+
+
sed -i -e "s:/usr/local:$INSTALL_ROOT/usr:g" driconf setup.cfg
diff --git a/python-pypi/driconf/dri.patch b/python-pypi/driconf/dri.patch
new file mode 100644
index 0000000..69bbb49
--- /dev/null
+++ b/python-pypi/driconf/dri.patch
@@ -0,0 +1,26 @@
+From c592030942bcb7a78ebde5f370d4892ca523253c Mon Sep 17 00:00:00 2001
+From: Florian Franzmann <bwlf AT bandrate.org>
+Date: Mon, 11 Jun 2018 14:53:06 +0200
+Subject: [PATCH] initialize variable before use
+
+---
+ driconf_simpleui.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/driconf_simpleui.py b/driconf_simpleui.py
+index 769aa67..4a9dad4 100644
+--- a/driconf_simpleui.py
++++ b/driconf_simpleui.py
+@@ -257,6 +257,9 @@ def lineWrap (string, chars=30):
+ return head + tail
+ else:
+ i = chars
++
++ j = i
++
+ while i >= chars/3:
+ if tail[i] == ' ':
+ j = i + 1
+--
+2.17.1
+
- [SM-Commit] GIT changes to master grimoire by Florian Franzmann (8ff9d251e9de3c983af472903c3654730b08273d), Florian Franzmann, 06/11/2018
Archive powered by MHonArc 2.6.24.