summaryrefslogtreecommitdiff
path: root/debian/patches/0100-ansi-c.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-10-10 12:34:14 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-10-10 12:34:14 +0200
commite9cf7aa5ad043374ca5f6a557923107a81f15a66 (patch)
tree8fcd874493f62a887e737bf51df2d5899c58392b /debian/patches/0100-ansi-c.patch
parent7b515b9f79a427053da9f7b9218e9eb8da0a87db (diff)
parenta62161bea39450bf1c27722a237df67bca7612c1 (diff)
Merge branch 'release/debian/3.2-1'debian/3.2-1
Diffstat (limited to 'debian/patches/0100-ansi-c.patch')
-rw-r--r--debian/patches/0100-ansi-c.patch11
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)
{