freebsd-ports/games/pokerth/files/patch-src_net_common_ircthread.cpp
Guido Falsi 07661a7587 Update to 1.0.1
Feature safe:	yes
2013-04-21 16:22:44 +00:00

20 lines
815 B
C++

--- src/net/common/ircthread.cpp.orig 2013-04-07 14:04:27.006209000 +0200
+++ src/net/common/ircthread.cpp 2013-04-21 11:26:39.764765351 +0200
@@ -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>