pkgsrc/net/kdenetwork3/patches/patch-bd
markd 81ef90311d Fix build with recent gcc.
Also aligned_u64 no longer defined on ArchLinux but needed for
linux/if_ppp.h
2011-01-20 12:19:30 +00:00

16 lines
415 B
Text

$NetBSD: patch-bd,v 1.1 2011/01/20 12:19:30 markd Exp $
aligned_u64/__aligned_u64 mixup on ArchLinux
--- kppp/opener.cpp.orig 2008-02-13 09:37:48.000000000 +0000
+++ kppp/opener.cpp
@@ -36,6 +36,9 @@
#include <config.h>
+#if defined(linux)
+#define aligned_u64 __aligned_u64
+#endif
#if defined(__osf__) || defined(__svr4__)
#define _POSIX_PII_SOCKET
extern "C" int sethostname(char *name, int name_len);