summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2021-01-30 13:15:59 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2021-01-30 13:15:59 +0100
commitff06099c111979101dced770c3ea8275072c9420 (patch)
tree0c914d6b48949c1286b02909c52d0ff270cc13a6 /redhat
parent1d8b8984313e14f29e6390a98cb5cee1fbb276cb (diff)
downloadtde-packaging-ff06099c111979101dced770c3ea8275072c9420.tar.gz
tde-packaging-ff06099c111979101dced770c3ea8275072c9420.zip
RPM: tqt3 ftbfs on rhel5
Diffstat (limited to 'redhat')
-rw-r--r--redhat/dependencies/tqt3/tqt3.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/redhat/dependencies/tqt3/tqt3.spec b/redhat/dependencies/tqt3/tqt3.spec
index ce1811241..080282d7b 100644
--- a/redhat/dependencies/tqt3/tqt3.spec
+++ b/redhat/dependencies/tqt3/tqt3.spec
@@ -1272,6 +1272,10 @@ echo "suse_version = %{?suse_version}"
echo "sle_version = %{?sle_version}"
%endif
+%if 0%{?rhel} == 5
+%__sed -i "src/sql/drivers/mysql/qsql_mysql.cpp" -e "s|bool reconnect = 0;|my_bool reconnect = 0;|g"
+%endif
+
# fix variables in 'qmake.conf'
%__sed -i mkspecs/*/qmake.conf \
-e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \