svn commit: r432985 - in head/irc/kvirc: . files
Jan Beich
jbeich at FreeBSD.org
Wed Feb 1 05:28:54 UTC 2017
Author: jbeich
Date: Wed Feb 1 05:28:52 2017
New Revision: 432985
URL: https://svnweb.freebsd.org/changeset/ports/432985
Log:
irc/kvirc: unbreak with clang 4.0
src/modules/rijndael/libkvirijndael.cpp:331:11: error: ordered comparison between pointer and zero ('int *' and 'int')
if(len > 0)
~~~ ^ ~
src/modules/rijndael/libkvirijndael.cpp:357:11: error: ordered comparison between pointer and zero ('int *' and 'int')
if(len > 0)
~~~ ^ ~
Reported by: antoine (via exp-run)
Added:
head/irc/kvirc/files/patch-src_modules_rijndael_libkvirijndael.cpp (contents, props changed)
Modified:
head/irc/kvirc/Makefile (contents, props changed)
Modified: head/irc/kvirc/Makefile
==============================================================================
--- head/irc/kvirc/Makefile Wed Feb 1 05:28:40 2017 (r432984)
+++ head/irc/kvirc/Makefile Wed Feb 1 05:28:52 2017 (r432985)
@@ -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%/ \
Added: head/irc/kvirc/files/patch-src_modules_rijndael_libkvirijndael.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/irc/kvirc/files/patch-src_modules_rijndael_libkvirijndael.cpp Wed Feb 1 05:28:52 2017 (r432985)
@@ -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);
More information about the svn-ports-all
mailing list