pkgsrc/games/kdegames4/patches/patch-aa
markd fbf3790857 Import KDE4.3.1 from wip
OKed during freeze by wiz and agc
2009-10-02 20:34:10 +00:00

16 lines
450 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2009/10/02 20:34:11 markd Exp $
--- libkdegames/kggzmod/misc_private.h.orig 2007-07-26 22:34:49.000000000 +1200
+++ libkdegames/kggzmod/misc_private.h
@@ -28,6 +28,11 @@
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netdb.h>
+#ifdef __NetBSD__
+#include <machine/param.h>
+#undef CMSG_SPACE
+#define CMSG_SPACE(l) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(l))
+#endif
#ifdef Q_OS_WIN
#include <kdebug.h>