summaryrefslogtreecommitdiffstats
path: root/redhat/applications/bibletime/bibletime-3.5.13-fix_gcc47_compilation.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-05-05 11:04:37 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-05-05 11:04:37 +0200
commit0610a9a48d1e911c8bc444b75b22c016d33abc53 (patch)
treeb4ef51e174ab253482ff06380b535e422de763f7 /redhat/applications/bibletime/bibletime-3.5.13-fix_gcc47_compilation.patch
parent64d0df37589d9b69c5990298acc528686665431c (diff)
downloadtde-packaging-0610a9a48d1e911c8bc444b75b22c016d33abc53.tar.gz
tde-packaging-0610a9a48d1e911c8bc444b75b22c016d33abc53.zip
RHEL/Fedora: fix bibletime for GCC 4.7
Diffstat (limited to 'redhat/applications/bibletime/bibletime-3.5.13-fix_gcc47_compilation.patch')
-rw-r--r--redhat/applications/bibletime/bibletime-3.5.13-fix_gcc47_compilation.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/redhat/applications/bibletime/bibletime-3.5.13-fix_gcc47_compilation.patch b/redhat/applications/bibletime/bibletime-3.5.13-fix_gcc47_compilation.patch
new file mode 100644
index 000000000..aca2be126
--- /dev/null
+++ b/redhat/applications/bibletime/bibletime-3.5.13-fix_gcc47_compilation.patch
@@ -0,0 +1,13 @@
+--- bibletime/bibletime/frontend/cinfodisplay.cpp.ORI 2012-05-01 14:13:38.750903801 +0200
++++ bibletime/bibletime/frontend/cinfodisplay.cpp 2012-05-01 14:14:59.998011927 +0200
+@@ -229,8 +229,8 @@
+ VerseKey vk;
+ sword::ListKey refs = vk.ParseVerseList((const char*)data.mid((pos == -1) ? 0 : pos+1).utf8(), "Gen 1:1", true);
+
+- for (int i = 0; i < refs.Count(); ++i) {
+- SWKey* key = refs.getElement(i);
++ for (int j = 0; j < refs.Count(); ++j) {
++ SWKey* key = refs.getElement(j);
+ Q_ASSERT(key);
+ VerseKey* vk = dynamic_cast<VerseKey*>(key);
+