aboutsummaryrefslogtreecommitdiff
path: root/multimedia/kaffeine/files/patch-dvbsection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/kaffeine/files/patch-dvbsection.cpp')
-rw-r--r--multimedia/kaffeine/files/patch-dvbsection.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/multimedia/kaffeine/files/patch-dvbsection.cpp b/multimedia/kaffeine/files/patch-dvbsection.cpp
deleted file mode 100644
index 386e14e359ab..000000000000
--- a/multimedia/kaffeine/files/patch-dvbsection.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
---- kaffeine/src/input/dvb/plugins/epg/kaffeinedvbsection.cpp.orig 2008-01-30 22:22:36.000000000 +0100
-+++ kaffeine/src/input/dvb/plugins/epg/kaffeinedvbsection.cpp 2008-01-30 22:26:23.000000000 +0100
-@@ -134,13 +134,14 @@
- bool KaffeineDVBsection::doIconv( QCString &s, QCString table, char *buffer, int buflen )
- {
- size_t inSize, outSize=buflen;
-- char *inBuf, *outBuf;
-+ const char *inBuf;
-+ char *outBuf;
- iconv_t cd;
-
- inSize = s.length();
- if ( inSize<1 )
- return false;
-- cd = iconv_open( "UTF8", table );
-+ cd = iconv_open( "UTF-8", table );
- inBuf = s.data();
- outBuf = buffer;
- outBuf[0] = 0;
-@@ -230,7 +231,8 @@
- char c[4];
- QString s;
-
-- memset( mempcpy( c, buf+2, 3 ), 0, 1 );
-+ memcpy(c,buf+2,3);
-+ c[3] = 0;
- s = c;
- return s;
- }