From ceca790acf456f95a0b5275d1db8ee2bfa53bed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 19 May 2014 18:01:43 +0200 Subject: Imported Debian patch 2.12-3 --- debian/patches/01-ansi-c.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 debian/patches/01-ansi-c.patch (limited to 'debian/patches/01-ansi-c.patch') diff --git a/debian/patches/01-ansi-c.patch b/debian/patches/01-ansi-c.patch new file mode 100644 index 0000000..fecd6bb --- /dev/null +++ b/debian/patches/01-ansi-c.patch @@ -0,0 +1,17 @@ +Author: Petter Reinholdtsen +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 { + #endif + + #ifdef ALIGNMENT_WORKAROUND +-static inline u64 U64(u32 low, u32 high) ++static __inline u64 U64(u32 low, u32 high) + { + u64 self; + -- cgit v1.2.3