summaryrefslogtreecommitdiff
path: root/debian/patches/03-build.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-09-28 13:05:16 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-09-28 13:05:16 +0200
commitb4c9a9942c9ca4927832fdbabd50d803caf875cf (patch)
tree58c1f3589320d25ef516533a35232bed1eed7cdb /debian/patches/03-build.patch
parentc86ea762ab8845450ed8e142a11848b5f42f5863 (diff)
Refresh patches
Diffstat (limited to 'debian/patches/03-build.patch')
-rw-r--r--debian/patches/03-build.patch13
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