[telepathy-qt4] gcc47 patch
Rex Dieter
rdieter at fedoraproject.org
Thu Feb 9 18:28:03 UTC 2012
commit c5074e1f01ae068f04183e1d42c0736ee0fcacc9
Author: Rex Dieter <rdieter at fedoraproject.org>
Date: Thu Feb 9 12:27:47 2012 -0600
gcc47 patch
telepathy-qt-0.9.0-gcc47.patch | 36 ++++++++++++++++++++++++++++++++++++
telepathy-qt4.spec | 6 ++++++
2 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/telepathy-qt-0.9.0-gcc47.patch b/telepathy-qt-0.9.0-gcc47.patch
new file mode 100644
index 0000000..e9a137e
--- /dev/null
+++ b/telepathy-qt-0.9.0-gcc47.patch
@@ -0,0 +1,36 @@
+diff -up telepathy-qt-0.9.0/TelepathyQt/client-registrar.cpp.gcc47 telepathy-qt-0.9.0/TelepathyQt/client-registrar.cpp
+--- telepathy-qt-0.9.0/TelepathyQt/client-registrar.cpp.gcc47 2011-12-20 14:33:46.000000000 -0600
++++ telepathy-qt-0.9.0/TelepathyQt/client-registrar.cpp 2012-02-09 11:10:47.208081294 -0600
+@@ -39,6 +39,8 @@
+ #include <TelepathyQt/MethodInvocationContext>
+ #include <TelepathyQt/PendingComposite>
+ #include <TelepathyQt/PendingReady>
++
++#include <stdint.h>
+
+ namespace Tp
+ {
+diff -up telepathy-qt-0.9.0/TelepathyQt/stream-tube-client.cpp.gcc47 telepathy-qt-0.9.0/TelepathyQt/stream-tube-client.cpp
+--- telepathy-qt-0.9.0/TelepathyQt/stream-tube-client.cpp.gcc47 2011-12-20 14:33:46.000000000 -0600
++++ telepathy-qt-0.9.0/TelepathyQt/stream-tube-client.cpp 2012-02-09 11:11:54.919234791 -0600
+@@ -38,6 +38,8 @@
+ #include <QAbstractSocket>
+ #include <QHash>
+
++#include <stdint.h>
++
+ namespace Tp
+ {
+
+diff -up telepathy-qt-0.9.0/TelepathyQt/stream-tube-server.cpp.gcc47 telepathy-qt-0.9.0/TelepathyQt/stream-tube-server.cpp
+--- telepathy-qt-0.9.0/TelepathyQt/stream-tube-server.cpp.gcc47 2011-12-20 14:33:46.000000000 -0600
++++ telepathy-qt-0.9.0/TelepathyQt/stream-tube-server.cpp 2012-02-09 11:12:07.010083632 -0600
+@@ -38,6 +38,8 @@
+ #include <TelepathyQt/OutgoingStreamTubeChannel>
+ #include <TelepathyQt/StreamTubeChannel>
+
++#include <stdint.h>
++
+ namespace Tp
+ {
+
diff --git a/telepathy-qt4.spec b/telepathy-qt4.spec
index b00d70b..4d0acd8 100644
--- a/telepathy-qt4.spec
+++ b/telepathy-qt4.spec
@@ -7,6 +7,10 @@ License: LGPLv2+
URL: http://telepathy.freedesktop.org/wiki/Telepathy-Qt4
Source0: http://telepathy.freedesktop.org/releases/telepathy-qt/telepathy-qt-%{version}.tar.gz
+## upstreamable patches
+# fix for error: 'intptr_t' was not declared in this scope
+Patch50: telepathy-qt-0.9.0-gcc47.patch
+
Provides: telepathy-qt = %{version}-%{release}
Provides: telepathy-qt%{?_isa} = %{version}-%{release}
@@ -39,6 +43,8 @@ Requires: telepathy-filesystem
%prep
%setup -q -n telepathy-qt-%{version}
+%patch50 -p1 -b .gcc47
+
%build
mkdir -p %{_target_platform}
More information about the scm-commits
mailing list