diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-05-19 18:01:43 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <jff@merkur> | 2014-05-19 19:33:51 +0200 |
commit | ceca790acf456f95a0b5275d1db8ee2bfa53bed5 (patch) | |
tree | 57f094b08de57aee41c6d530ea9b3c3b7461d8a4 /debian/patches/01-ansi-c.patch | |
parent | 723024faf087b48ba8b93db6821bb17f52751120 (diff) |
Imported Debian patch 2.12-3debian/2.12-3
Diffstat (limited to 'debian/patches/01-ansi-c.patch')
-rw-r--r-- | debian/patches/01-ansi-c.patch | 17 |
1 files changed, 17 insertions, 0 deletions
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 <pere@hungry.com> +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; + |