From 0009496531155f19959545aa31711ffeca6b08d2 Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Sun, 31 Oct 2004 10:17:36 +0000 Subject: [PATCH] Stefan Fiedler: kiss: patch for linux 2.6.9 same workaround as for util-linux Index: package/base/kiss/linux-asm-byteorder_h.patch =================================================================== [2004102719415207108] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4709 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/kiss/linux-asm-byteorder_h.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/base/kiss/linux-asm-byteorder_h.patch diff --git a/package/base/kiss/linux-asm-byteorder_h.patch b/package/base/kiss/linux-asm-byteorder_h.patch new file mode 100644 index 000000000..d3167336c --- /dev/null +++ b/package/base/kiss/linux-asm-byteorder_h.patch @@ -0,0 +1,22 @@ +diff -dur kiss-0.21/src/doeject.c kiss-0.21-patch/src/doeject.c +--- kiss-0.21/src/doeject.c 2004-10-24 01:48:06.297957632 +0000 ++++ kiss-0.21-patch/src/doeject.c 2004-10-24 01:51:10.346977928 +0000 +@@ -4,6 +4,18 @@ + #define __attribute_const__ __attribute__ ((const)) + #endif + ++#ifdef __CHECKER__ ++#define __bitwise __attribute__((bitwise)) ++#else ++#define __bitwise ++#endif ++#define __le16 __bitwise __u16 ++#define __be16 __bitwise __u16 ++#define __le32 __bitwise __u32 ++#define __be32 __bitwise __u32 ++#define __le64 __bitwise __u64 ++#define __be64 __bitwise __u64 ++ + #include + + int doeject (Stringstack s)