diff options
author | Daniel Engberg <daniel.engberg.lists@pyret.net> | 2017-03-24 12:17:24 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-04-26 10:27:45 +0200 |
commit | 980c41f8e04f5586731e84492001971eb8371590 (patch) | |
tree | 3e8ad1b877a0662986d213dcedc9673aea388e75 /package/utils/mdadm/patches/100-cross_compile.patch | |
parent | 725238f698c94656dc216bdd6ae6e3275f266ea4 (diff) | |
download | upstream-980c41f8e04f5586731e84492001971eb8371590.tar.gz upstream-980c41f8e04f5586731e84492001971eb8371590.tar.bz2 upstream-980c41f8e04f5586731e84492001971eb8371590.zip |
utils/mdadm: Update to 4.0
Update mdadm to 4.0
Remove 000-compile.patch as it's fixed upstream
Refresh patches
Add mdadm.h-Undefine-dprintf-before-redefining.patch
Source: http://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/mdadm/files
Add RAID 0,1 and 10 as depends to make mdadm usable.
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Diffstat (limited to 'package/utils/mdadm/patches/100-cross_compile.patch')
-rw-r--r-- | package/utils/mdadm/patches/100-cross_compile.patch | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/package/utils/mdadm/patches/100-cross_compile.patch b/package/utils/mdadm/patches/100-cross_compile.patch index 8709e57816..62bf693455 100644 --- a/package/utils/mdadm/patches/100-cross_compile.patch +++ b/package/utils/mdadm/patches/100-cross_compile.patch @@ -1,19 +1,11 @@ --- a/Makefile +++ b/Makefile -@@ -76,7 +76,6 @@ FAILED_SLOTS_DIR = /run/mdadm/failed-slo +@@ -86,7 +86,7 @@ DLM:=$(shell [ -f /usr/include/libdlm.h DIRFLAGS = -DMAP_DIR=\"$(MAP_DIR)\" -DMAP_FILE=\"$(MAP_FILE)\" DIRFLAGS += -DMDMON_DIR=\"$(MDMON_DIR)\" DIRFLAGS += -DFAILED_SLOTS_DIR=\"$(FAILED_SLOTS_DIR)\" --CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(DIRFLAGS) +-CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(DIRFLAGS) $(COROSYNC) $(DLM) ++# CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(DIRFLAGS) $(COROSYNC) $(DLM) - # The glibc TLS ABI requires applications that call clone(2) to set up - # TLS data structures, use pthreads until mdmon implements this support -@@ -183,7 +182,7 @@ raid6check : raid6check.o mdadm.h $(CHEC - - mdassemble : $(ASSEMBLE_SRCS) $(INCL) - rm -f $(OBJS) -- $(DIET_GCC) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS) $(STATICSRC) -+ $(CC) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS) $(STATICSRC) - - mdassemble.static : $(ASSEMBLE_SRCS) $(INCL) - rm -f $(OBJS) + VERSION = $(shell [ -d .git ] && git describe HEAD | sed 's/mdadm-//') + VERS_DATE = $(shell [ -d .git ] && date --date="`git log -n1 --format=format:%cd --date=short`" '+%0dth %B %Y' | sed -e 's/1th/1st/' -e 's/2th/2nd/' -e 's/11st/11th/' -e 's/12nd/12th/') |