pkgsrc/chat/unrealircd/patches/patch-src_modules_m__svspart.c
jperkin cb28107473 Update chat/unrealircd to 3.2.10.5.
pkgsrc changes:

 - Remove obsolete and broken MESSAGE files.
 - Find zlib correctly when enabled.
 - Add SMF manifest.
 - Update patch files and add comments where necessary.

Upstream changes:

 - This release fixes a SASL Denial of Service issue

Patch provided by Marco Wessel in joyent/pkgsrc#306.
2015-11-26 16:36:00 +00:00

16 lines
423 B
C

$NetBSD: patch-src_modules_m__svspart.c,v 1.2 2015/11/26 16:36:00 jperkin Exp $
Avoid unnecessary use of legacy sys/timeb.h, which doesn't exist on OpenBSD.
--- src/modules/m_svspart.c.orig 2015-11-09 16:16:59.000000000 +0000
+++ src/modules/m_svspart.c
@@ -31,8 +31,8 @@
#include <string.h>
#ifdef _WIN32
#include <io.h>
-#endif
#include <sys/timeb.h>
+#endif
#include <fcntl.h>
#include "h.h"
#include "proto.h"