freebsd-ports/games/pokerth/files/patch-src_net_common_ircthread.cpp
Guido Falsi 8db76d90b9 - Fix build failure with new boot version 1.65
- While here, regenerate some patches

PR:		222190
Submitted by:	jbeich@
2017-09-18 14:04:05 +00:00

20 lines
767 B
C++

--- src/net/common/ircthread.cpp.orig 2014-01-10 21:18:20 UTC
+++ src/net/common/ircthread.cpp
@@ -32,14 +32,15 @@
#include <net/socket_helper.h>
#include <net/ircthread.h>
#include <net/socket_msg.h>
-#include <libircclient/libircclient.h>
+#include <libircclient.h>
+#include <libirc_rfcnumeric.h>
// We need to do the following to handle different versions of libircclient.
// Sadly, libircclient doesn't have actual definitions for its versions in its headers.
// However, we can use a definition that appeared in the same version we need
// to check for. Hacky, but hey, it works.
#ifdef LIBIRC_OPTION_SSL_NO_VERIFY
-#include <libircclient/libirc_rfcnumeric.h>
+#include <libirc_rfcnumeric.h>
#endif
#include <boost/algorithm/string/predicate.hpp>