pkgsrc/chat/centericq/patches/patch-ac
kristerw b767310f09 Add a missing include file, and add a workaround for gcc 2.95 C++
header files not following the C++ standard...
2004-08-01 17:19:04 +00:00

14 lines
437 B
Text

$NetBSD: patch-ac,v 1.1 2004/08/01 17:19:04 kristerw Exp $
--- libmsn-0.1/msn/util.cpp.orig Sun Aug 1 18:49:51 2004
+++ libmsn-0.1/msn/util.cpp Sun Aug 1 18:50:59 2004
@@ -24,6 +24,9 @@
#include <cerrno>
#include <cctype>
+// Get rid of the macro for platforms not having c++-safe headers.
+#undef toupper
+
namespace MSN
{
std::pair<std::string, int> splitServerAddress(const std::string & address, int default_port)