Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37906030
en ru br
ALT Linux repos
S:2.5.0-alt1
5.0: 2.4.4-alt11
4.1: 2.4.4-alt10.M41.1
4.0: 2.4.4-alt10
+updates:2.4.4-alt10
3.0: 2.4.2-alt6
+updates:2.4.2-alt6.M30.1

Group :: System/Servers
RPM: ppp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ppp-2.4.4-alt-define-aligned_u64.patch
Download


diff -Naur ppp-2.4.4/pppd/plugins/rp-pppoe/plugin.c ppp-2.4.4-new/pppd/plugins/rp-pppoe/plugin.c
--- ppp-2.4.4/pppd/plugins/rp-pppoe/plugin.c	2008-10-14 11:34:13 +0400
+++ ppp-2.4.4-new/pppd/plugins/rp-pppoe/plugin.c	2008-10-14 11:33:31 +0400
@@ -49,6 +49,12 @@
 #include <net/ethernet.h>
 #include <net/if_arp.h>
 #include <linux/ppp_defs.h>
+
+#ifndef aligned_u64
+#warning ugly hack: aligned_u64 must be defined in linux/types.h
+#define aligned_u64 __u64 __attribute__((aligned(8)))
+#endif
+
 #include <linux/if_ppp.h>
 #include <linux/if_pppox.h>
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin