diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-20 21:46:47 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-20 21:46:47 +0200 |
commit | 5114e1d4b60bc14c851c8546bef5d669505ec53a (patch) | |
tree | b7994afe0ca7e8db6c5dba20aafe961dec966fcc /package/dmidecode/patches | |
parent | 5b142635a68d74d23b7a3841d8eb6bc66c597e45 (diff) | |
parent | 794a4a75d2e2c513e55b8962ad9e8e470dd82ba8 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/dmidecode/patches')
-rw-r--r-- | package/dmidecode/patches/patch-Makefile | 22 | ||||
-rw-r--r-- | package/dmidecode/patches/patch-Makefile.orig | 20 |
2 files changed, 42 insertions, 0 deletions
diff --git a/package/dmidecode/patches/patch-Makefile b/package/dmidecode/patches/patch-Makefile new file mode 100644 index 000000000..cf37262cb --- /dev/null +++ b/package/dmidecode/patches/patch-Makefile @@ -0,0 +1,22 @@ +--- dmidecode-2.11.orig/Makefile 2010-10-11 16:08:16.000000000 +0200 ++++ dmidecode-2.11/Makefile 2011-10-17 19:22:27.000000000 +0200 +@@ -12,8 +12,8 @@ + # (at your option) any later version. + # + +-CC = gcc +-CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ ++CC ?= gcc ++CFLAGS ?= -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ + -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef + #CFLAGS += -DBIGENDIAN + #CFLAGS += -DALIGNMENT_WORKAROUND +@@ -26,7 +26,7 @@ CFLAGS += -O2 + LDFLAGS = + + DESTDIR = +-prefix = /usr/local ++prefix = /usr + sbindir = $(prefix)/sbin + mandir = $(prefix)/share/man + man8dir = $(mandir)/man8 diff --git a/package/dmidecode/patches/patch-Makefile.orig b/package/dmidecode/patches/patch-Makefile.orig new file mode 100644 index 000000000..fcd3c6dd7 --- /dev/null +++ b/package/dmidecode/patches/patch-Makefile.orig @@ -0,0 +1,20 @@ +--- dmidecode-2.11.orig/Makefile 2010-10-11 16:08:16.000000000 +0200 ++++ dmidecode-2.11/Makefile 2011-10-17 19:21:58.000000000 +0200 +@@ -12,7 +12,7 @@ + # (at your option) any later version. + # + +-CC = gcc ++CC ?= gcc + CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ + -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef + #CFLAGS += -DBIGENDIAN +@@ -26,7 +26,7 @@ CFLAGS += -O2 + LDFLAGS = + + DESTDIR = +-prefix = /usr/local ++prefix = /usr + sbindir = $(prefix)/sbin + mandir = $(prefix)/share/man + man8dir = $(mandir)/man8 |