summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/patches/0001-Do-not-depend-on-elpa-dash-package.patch23
-rw-r--r--debian/patches/0002-Do-not-depend-on-async.patch23
-rw-r--r--debian/patches/series2
3 files changed, 48 insertions, 0 deletions
diff --git a/debian/patches/0001-Do-not-depend-on-elpa-dash-package.patch b/debian/patches/0001-Do-not-depend-on-elpa-dash-package.patch
new file mode 100644
index 0000000..79a7134
--- /dev/null
+++ b/debian/patches/0001-Do-not-depend-on-elpa-dash-package.patch
@@ -0,0 +1,23 @@
+From: =?utf-8?q?R=C3=A9mi_Vanicat?= <vanicat@debian.org>
+Date: Sun, 31 Jan 2016 11:00:56 +0100
+Subject: Do not depend on elpa dash package.
+
+The debian dash package is not yet known to elpa, so we must not depend
+on it.
+---
+ with-editor.el | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/with-editor.el b/with-editor.el
+index a9abedc..6030ba4 100644
+--- a/with-editor.el
++++ b/with-editor.el
+@@ -5,7 +5,7 @@
+ ;; Author: Jonas Bernoulli <jonas@bernoul.li>
+ ;; Maintainer: Jonas Bernoulli <jonas@bernoul.li>
+
+-;; Package-Requires: ((emacs "24.4") (async "1.5") (dash "2.12.1"))
++;; Package-Requires: ((emacs "24.4") (async "1.5"))
+ ;; Keywords: tools
+ ;; Homepage: https://github.com/magit/with-editor
+
diff --git a/debian/patches/0002-Do-not-depend-on-async.patch b/debian/patches/0002-Do-not-depend-on-async.patch
new file mode 100644
index 0000000..a010377
--- /dev/null
+++ b/debian/patches/0002-Do-not-depend-on-async.patch
@@ -0,0 +1,23 @@
+From: =?utf-8?q?R=C3=A9mi_Vanicat?= <vanicat@debian.org>
+Date: Sun, 31 Jan 2016 11:02:27 +0100
+Subject: Do not depend on async
+
+Async is used to compile without cluttering the .elc with old macro. We
+don't need this, as we compile using new Emacs.
+---
+ with-editor.el | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/with-editor.el b/with-editor.el
+index 6030ba4..31d43c8 100644
+--- a/with-editor.el
++++ b/with-editor.el
+@@ -5,7 +5,7 @@
+ ;; Author: Jonas Bernoulli <jonas@bernoul.li>
+ ;; Maintainer: Jonas Bernoulli <jonas@bernoul.li>
+
+-;; Package-Requires: ((emacs "24.4") (async "1.5"))
++;; Package-Requires: ((emacs "24.4"))
+ ;; Keywords: tools
+ ;; Homepage: https://github.com/magit/with-editor
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b3b2919
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-Do-not-depend-on-elpa-dash-package.patch
+0002-Do-not-depend-on-async.patch