summaryrefslogtreecommitdiffstats
path: root/redhat/applications/ktorrent/ktorrent-14.0.0.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-04-23 20:57:21 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2015-04-23 20:57:21 +0200
commit30d7fc94d230459f9fd573f5f260f795ab151539 (patch)
treea0a9700aebdeb6b2330bbc892d6da8936a9204d0 /redhat/applications/ktorrent/ktorrent-14.0.0.patch
parentf01a421b4fe4d008074832708f24472aa857a48c (diff)
downloadtde-packaging-30d7fc94d230459f9fd573f5f260f795ab151539.tar.gz
tde-packaging-30d7fc94d230459f9fd573f5f260f795ab151539.zip
RPM packaging: update ktorrent, kuickshow, kvirc, kvkbd, kvpnc
Diffstat (limited to 'redhat/applications/ktorrent/ktorrent-14.0.0.patch')
-rw-r--r--redhat/applications/ktorrent/ktorrent-14.0.0.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/redhat/applications/ktorrent/ktorrent-14.0.0.patch b/redhat/applications/ktorrent/ktorrent-14.0.0.patch
new file mode 100644
index 000000000..10a3e77c3
--- /dev/null
+++ b/redhat/applications/ktorrent/ktorrent-14.0.0.patch
@@ -0,0 +1,13 @@
+diff --git a/plugins/upnp/upnpmcastsocket.cpp b/plugins/upnp/upnpmcastsocket.cpp
+index 3b8be45..0172ed2 100644
+--- a/plugins/upnp/upnpmcastsocket.cpp
++++ b/plugins/upnp/upnpmcastsocket.cpp
+@@ -21,7 +21,7 @@
+ #include <kurl.h>
+ extern "C" {
+ #include <unistd.h>
+- inline ssize_t mycread (int __fd, void *__buf, size_t __nbytes) { read(__fd, __buf, __nbytes); }
++ inline ssize_t mycread (int __fd, void *__buf, size_t __nbytes) { return read(__fd, __buf, __nbytes); }
+ };
+ #include <sys/socket.h>
+ #include <netinet/in.h>