[SCM] cmus/master: Don't FTBFS due to missing config.mk (Closes: #720781), 01_config.mk.diff

rak at users.alioth.debian.org rak at users.alioth.debian.org
Thu Aug 29 15:19:36 UTC 2013


The following commit has been merged in the master branch:
commit 913b8bccc8e6cfe4d934e733a18df20b82424991
Author: Ryan Kavanagh <rak at debian.org>
Date:   Wed Aug 28 09:14:34 2013 -0400

    Don't FTBFS due to missing config.mk (Closes: #720781), 01_config.mk.diff

diff --git a/debian/patches/01_config.mk.diff b/debian/patches/01_config.mk.diff
new file mode 100644
index 0000000..19c70e2
--- /dev/null
+++ b/debian/patches/01_config.mk.diff
@@ -0,0 +1,25 @@
+Description: Don't FTBFS if config.mk doesn't exist
+ The config.mk file isn't guaranteed to exist (it gets removed by the Makefile's
+ "distclean" target). Including it with a straight "include" causes cmus to
+ FTBFS on the initial clean, since it doesn't exist and make aborts because it
+ can't include it. Instead, include it using "-include", which ignores it if it
+ doesn't exist.
+Author: Ryan Kavanagh <rak at debian.org>
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/720781
+Forwarded: no
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: cmus/Makefile
+===================================================================
+--- cmus.orig/Makefile	2013-08-27 13:22:47.248230918 -0400
++++ cmus/Makefile	2013-08-28 09:09:23.541042003 -0400
+@@ -13,7 +13,7 @@
+ 
+ all: main plugins man
+ 
+-include config.mk
++-include config.mk
+ include scripts/lib.mk
+ 
+ CFLAGS += -D_FILE_OFFSET_BITS=64
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..76ab23f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_config.mk.diff

-- 
cmus packaging



More information about the pkg-multimedia-commits mailing list