summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-04-26 11:19:09 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-04-26 11:19:09 +0200
commit63526834b5ed345a11678b3010f7c2f59b37d279 (patch)
tree5583c8c80706894c0b0dfd86ccd205c8aff0d72c
parent1e3575d0df5405624a65db716dad7fec51ab9262 (diff)
downloadtde-packaging-63526834b5ed345a11678b3010f7c2f59b37d279.tar.gz
tde-packaging-63526834b5ed345a11678b3010f7c2f59b37d279.zip
RHEL/Fedora: fix kdeedu 3.5.13 compilation with GCC 4.7
-rw-r--r--redhat/kdeedu/kdeedu-3.5.13-fix_gcc47_compilation.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/redhat/kdeedu/kdeedu-3.5.13-fix_gcc47_compilation.patch b/redhat/kdeedu/kdeedu-3.5.13-fix_gcc47_compilation.patch
new file mode 100644
index 000000000..8f4c4fed7
--- /dev/null
+++ b/redhat/kdeedu/kdeedu-3.5.13-fix_gcc47_compilation.patch
@@ -0,0 +1,17 @@
+--- tdeedu/kiten/dict.h
++++ tdeedu/kiten/dict.h 2012-04-11 01:14:04.481645011 -0500
+@@ -65,12 +65,12 @@
+ , data(d)
+ , dataSize(s)
+ {
+- setRawData(data, dataSize / sizeof(T));
++ this->setRawData(data, dataSize / sizeof(T));
+ }
+
+ template<class T> Array<T>::~Array()
+ {
+- resetRawData(data, dataSize / sizeof(T));
++ this->resetRawData(data, dataSize / sizeof(T));
+ }
+
+ // File manages all the files, pointers, and memory management associated