diff options
author | Matteo Bernardini | 2019-10-12 08:21:51 +0200 |
---|---|---|
committer | Matteo Bernardini | 2019-10-12 08:21:51 +0200 |
commit | c4eaef19b5e3bdc8c4434b8361dff2b267b02b61 (patch) | |
tree | 04a00336b6792c85760bf4a372840936e279c16a /network/verlihub/verlihub-gcc7.patch | |
parent | d66a0530d964c06cc3a20ccad1c8071297dedf4b (diff) | |
download | slackbuilds-3436d6482132e62e4910700aa399f1c4ca817daf.tar.gz |
20191012.1 global branch merge.current-20191012.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/verlihub/verlihub-gcc7.patch')
-rw-r--r-- | network/verlihub/verlihub-gcc7.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/network/verlihub/verlihub-gcc7.patch b/network/verlihub/verlihub-gcc7.patch new file mode 100644 index 0000000000..4b2ede4d42 --- /dev/null +++ b/network/verlihub/verlihub-gcc7.patch @@ -0,0 +1,18 @@ +diff -Naur verlihub-0.9.8e-r2.orig/src/script_api.cpp verlihub-0.9.8e-r2/src/script_api.cpp +--- verlihub-0.9.8e-r2.orig/src/script_api.cpp 2009-05-16 16:42:07.000000000 +0200 ++++ verlihub-0.9.8e-r2/src/script_api.cpp 2017-06-01 20:33:58.923440440 +0200 +@@ -218,12 +218,12 @@ + cServerDC *server = GetCurrentVerlihub(); + if(!server) { + cerr << "Server verlihub is unfortunately not running or not found." << endl; +- return false; ++ return NULL; + } + cUser *usr = GetUser((char *) server->mC.hub_security.c_str()); + printf("%p\n", usr); + printf("%p", usr->mxConn); +- if ((!usr) || (usr && !usr->mxConn)) return false; ++ if ((!usr) || (usr && !usr->mxConn)) return NULL; + cout << "here" << endl; + if (!server->mP.ParseForCommands(command_line, usr->mxConn)) { + // unknown command |