diff options
Diffstat (limited to 'debian/patches/0100-ansi-c.patch')
-rw-r--r-- | debian/patches/0100-ansi-c.patch | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/debian/patches/0100-ansi-c.patch b/debian/patches/0100-ansi-c.patch index fecd6bb..9a2345c 100644 --- a/debian/patches/0100-ansi-c.patch +++ b/debian/patches/0100-ansi-c.patch @@ -3,13 +3,14 @@ Description: Make sure the code compiles when using -ansi. Renames non-ANSI C 'inline' to '__inline'. -diff -Naurp dmidecode.orig/types.h dmidecode/types.h ---- dmidecode.orig/types.h 2011-09-27 17:09:22.211059414 +0200 -+++ dmidecode/types.h 2011-09-27 17:21:35.362694344 +0200 -@@ -32,7 +32,7 @@ typedef struct { +Index: trunk/types.h +=================================================================== +--- trunk.orig/types.h ++++ trunk/types.h +@@ -31,7 +31,7 @@ typedef struct { #endif - #ifdef ALIGNMENT_WORKAROUND + #if defined(ALIGNMENT_WORKAROUND) || defined(BIGENDIAN) -static inline u64 U64(u32 low, u32 high) +static __inline u64 U64(u32 low, u32 high) { |