pkgsrc/net/kdenetwork3/patches/patch-be
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
336 B
Text

$NetBSD: patch-be,v 1.1 2011/01/20 12:19:30 markd Exp $
aligned_u64/__aligned_u64 mixup on ArchLinux
--- kppp/pppstats.cpp.orig 2008-02-13 09:37:48.000000000 +0000
+++ kppp/pppstats.cpp
@@ -41,6 +41,9 @@
#include <config.h>
+#if defined(linux)
+#define aligned_u64 __aligned_u64
+#endif
#include <ctype.h>
#include <errno.h>