Skip to content

Commit

Permalink
Update irc/kvirc to version 4.2.0_5
Browse files Browse the repository at this point in the history
  • Loading branch information
DPorts Builder committed Feb 9, 2017
1 parent 6815b36 commit 048d95b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion irc/kvirc/Makefile
Expand Up @@ -3,7 +3,7 @@

PORTNAME= kvirc
PORTVERSION= 4.2.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= irc kde
MASTER_SITES= ftp://ftp.kvirc.de/pub/kvirc/%SUBDIR%/ \
http://kvirc.gmake.de/pub/kvirc/%SUBDIR%/ \
Expand Down
20 changes: 20 additions & 0 deletions irc/kvirc/files/patch-src_modules_rijndael_libkvirijndael.cpp
@@ -0,0 +1,20 @@
--- src/modules/rijndael/libkvirijndael.cpp.orig 2011-07-23 15:15:56 UTC
+++ src/modules/rijndael/libkvirijndael.cpp
@@ -328,7 +328,7 @@
setLastError(__tr2qs("The message is not a hexadecimal string: this is not my stuff"));
return false;
} else {
- if(len > 0)
+ if(*len > 0)
{
*outBuffer = (char *)KviMemory::allocate(*len);
KviMemory::move(*outBuffer,tmpBuf,*len);
@@ -354,7 +354,7 @@
setLastError(__tr2qs("The message is not a base64 string: this is not my stuff"));
return false;
} else {
- if(len > 0)
+ if(*len > 0)
{
*outBuffer = (char *)KviMemory::allocate(*len);
KviMemory::move(*outBuffer,tmpBuf,*len);

0 comments on commit 048d95b

Please sign in to comment.