diff options
Diffstat (limited to 'debian/patches/03-build.patch')
-rw-r--r-- | debian/patches/03-build.patch | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/debian/patches/03-build.patch b/debian/patches/03-build.patch index 158981f..b9361eb 100644 --- a/debian/patches/03-build.patch +++ b/debian/patches/03-build.patch @@ -1,9 +1,10 @@ Author: Daniel Baumann <daniel.baumann@progress-technologies.net> Description: Avoid overwriting build environment rather than to just extend it. -diff -Naurp dmidecode.orig/Makefile dmidecode/Makefile ---- dmidecode.orig/Makefile 2011-10-28 21:49:16.510949714 +0200 -+++ dmidecode/Makefile 2012-01-21 11:05:50.109410854 +0100 +Index: trunk/Makefile +=================================================================== +--- trunk.orig/Makefile ++++ trunk/Makefile @@ -13,7 +13,7 @@ # @@ -11,9 +12,9 @@ diff -Naurp dmidecode.orig/Makefile dmidecode/Makefile -CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ +CFLAGS += -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef - #CFLAGS += -DBIGENDIAN - #CFLAGS += -DALIGNMENT_WORKAROUND -@@ -23,7 +23,7 @@ CFLAGS += -O2 + + # Let lseek and mmap support 64-bit wide offsets +@@ -27,7 +27,7 @@ CFLAGS += -O2 #CFLAGS += -g # Pass linker flags here |