From 75f4a97302c2f1070661e58936bba75250c9e445 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 26 Nov 2010 19:51:25 +0100 Subject: add preliminary DRBD support for OpenADK --- package/drbd/patches/patch-Makefile_in | 11 +++++++++++ package/drbd/patches/patch-drbd_Makefile | 11 +++++++++++ package/drbd/patches/patch-drbd_drbd_buildtag_c | 9 +++++++++ 3 files changed, 31 insertions(+) create mode 100644 package/drbd/patches/patch-Makefile_in create mode 100644 package/drbd/patches/patch-drbd_Makefile create mode 100644 package/drbd/patches/patch-drbd_drbd_buildtag_c (limited to 'package/drbd/patches') diff --git a/package/drbd/patches/patch-Makefile_in b/package/drbd/patches/patch-Makefile_in new file mode 100644 index 000000000..bce8496a1 --- /dev/null +++ b/package/drbd/patches/patch-Makefile_in @@ -0,0 +1,11 @@ +--- drbd-8.3.8.1.orig/Makefile.in 2010-07-09 10:13:59.000000000 +0200 ++++ drbd-8.3.8.1/Makefile.in 2010-11-26 19:00:49.000000000 +0100 +@@ -47,7 +47,7 @@ WITH_BASHCOMPLETION = @WITH_BASHCOMPLETI + # and not in e.g. dash. I'm too lazy to fix it to be compatible. + SHELL=/bin/bash + +-SUBDIRS = user scripts documentation drbd ++SUBDIRS = user scripts drbd + + REL_VERSION := $(shell $(SED) -ne '/^\#define REL_VERSION/{s/^[^"]*"\([^ "]*\).*/\1/;p;q;}' drbd/linux/drbd_config.h) + ifdef FORCE diff --git a/package/drbd/patches/patch-drbd_Makefile b/package/drbd/patches/patch-drbd_Makefile new file mode 100644 index 000000000..809caca26 --- /dev/null +++ b/package/drbd/patches/patch-drbd_Makefile @@ -0,0 +1,11 @@ +--- drbd-8.3.8.1.orig/drbd/Makefile 2010-07-06 09:47:59.000000000 +0200 ++++ drbd-8.3.8.1/drbd/Makefile 2010-11-26 18:59:47.000000000 +0100 +@@ -132,7 +132,7 @@ else + echo -e "\treturn \"GIT-hash: $$GITHEAD$$GITDIFF\""; \ + fi ; \ + echo -e "\t\t\" build by $$USER@$$HOSTNAME, `date "+%F %T"`\";\n}"; \ +- mv --force $@.new $@ ++ mv -f $@.new $@ + + kbuild: drbd_buildtag.c + @rm -f .drbd_kernelrelease* diff --git a/package/drbd/patches/patch-drbd_drbd_buildtag_c b/package/drbd/patches/patch-drbd_drbd_buildtag_c new file mode 100644 index 000000000..7a8358ea7 --- /dev/null +++ b/package/drbd/patches/patch-drbd_drbd_buildtag_c @@ -0,0 +1,9 @@ +--- drbd-8.3.8.1.orig/drbd/drbd_buildtag.c 2010-07-09 10:19:05.000000000 +0200 ++++ drbd-8.3.8.1/drbd/drbd_buildtag.c 2010-11-26 18:59:58.000000000 +0100 +@@ -3,5 +3,5 @@ + const char *drbd_buildtag(void) + { + return "GIT-hash: 0d8589fcc32c874df57c930ca1691399b55ec893" +- " build by lars@soda, 2010-07-09 10:19:24"; ++ " build by wbx@neon.lan, 2010-11-26 18:59:58"; + } -- cgit v1.2.3