* [bug#36274] [PATCH] Add fix for emacs-unpackaged-el.
@ 2019-06-18 4:54 Brian Leung
2019-06-19 20:52 ` bug#36274: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Brian Leung @ 2019-06-18 4:54 UTC (permalink / raw)
To: 36274
[-- Attachment #1.1: Type: text/plain, Size: 14 bytes --]
See attached.
[-- Attachment #1.2: Type: text/html, Size: 39 bytes --]
[-- Attachment #2: 0001-gnu-emacs-unpackaged-el-Add-patch-for-missing-requir.patch --]
[-- Type: text/x-patch, Size: 2977 bytes --]
From de0f5337dd5c30f6678d408efe5e8b8db03a9d7e Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Tue, 18 Jun 2019 06:48:35 +0200
Subject: [PATCH] gnu: emacs-unpackaged-el: Add patch for missing require
statement.
* gnu/packages/emacs-xyz.scm (emacs-unpackaged-el)[source]: Add patch.
* gnu/packages/patches/emacs-unpackaged-req.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
---
gnu/local.mk | 1 +
gnu/packages/emacs-xyz.scm | 5 +++-
.../patches/emacs-unpackaged-req.patch | 24 +++++++++++++++++++
3 files changed, 29 insertions(+), 1 deletion(-)
create mode 100644 gnu/packages/patches/emacs-unpackaged-req.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index 74d2bafa8d..6380e86893 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -765,6 +765,7 @@ dist_patch_DATA = \
%D%/packages/patches/emacs-highlight-stages-add-gexp.patch \
%D%/packages/patches/emacs-scheme-complete-scheme-r5rs-info.patch \
%D%/packages/patches/emacs-source-date-epoch.patch \
+ %D%/packages/patches/emacs-unpackaged-req.patch \
%D%/packages/patches/emacs-undohist-ignored.patch \
%D%/packages/patches/emacs-wordnut-require-adaptive-wrap.patch \
%D%/packages/patches/emacs-zones-called-interactively.patch \
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3ef69ab9e0..408645f5cd 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -590,12 +590,15 @@ from within Emacs.")
(file-name (git-file-name name version))
(sha256
(base32
- "1yf3zrgqfhnr0az8gn1kqqwnhfi3nc0vbjkcagwcqwk3sp1jda86"))))
+ "1yf3zrgqfhnr0az8gn1kqqwnhfi3nc0vbjkcagwcqwk3sp1jda86"))
+ (patches
+ (search-patches "emacs-unpackaged-req.patch"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-dash" ,emacs-dash)
("emacs-org" ,emacs-org)
("emacs-s" ,emacs-s)
+ ("emacs-hydra" ,emacs-hydra)
("emacs-use-package" ,emacs-use-package)))
(home-page "https://github.com/alphapapa/unpackaged.el")
(synopsis "Useful snippets of Emacs Lisp code")
diff --git a/gnu/packages/patches/emacs-unpackaged-req.patch b/gnu/packages/patches/emacs-unpackaged-req.patch
new file mode 100644
index 0000000000..ddb9277610
--- /dev/null
+++ b/gnu/packages/patches/emacs-unpackaged-req.patch
@@ -0,0 +1,24 @@
+From e5be173e201710538464c279335bef735a327a68 Mon Sep 17 00:00:00 2001
+From: Brian Leung <bkleung89@gmail.com>
+Date: Tue, 18 Jun 2019 06:37:46 +0200
+Subject: [PATCH] Add missing require.
+
+---
+ unpackaged.el | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/unpackaged.el b/unpackaged.el
+index 2d46b3c..e62184a 100644
+--- a/unpackaged.el
++++ b/unpackaged.el
+@@ -38,6 +38,7 @@
+ (require 'dash)
+ (require 's)
+ (require 'use-package)
++(require 'hydra)
+
+ ;;; Faces, fonts
+
+--
+2.22.0
+
--
2.22.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#36274: [PATCH] Add fix for emacs-unpackaged-el.
2019-06-18 4:54 [bug#36274] [PATCH] Add fix for emacs-unpackaged-el Brian Leung
@ 2019-06-19 20:52 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-06-19 20:52 UTC (permalink / raw)
To: Brian Leung; +Cc: 36274-done
Hello,
Brian Leung <bkleung89@gmail.com> skribis:
> From de0f5337dd5c30f6678d408efe5e8b8db03a9d7e Mon Sep 17 00:00:00 2001
> From: Brian Leung <bkleung89@gmail.com>
> Date: Tue, 18 Jun 2019 06:48:35 +0200
> Subject: [PATCH] gnu: emacs-unpackaged-el: Add patch for missing require
> statement.
>
> * gnu/packages/emacs-xyz.scm (emacs-unpackaged-el)[source]: Add patch.
> * gnu/packages/patches/emacs-unpackaged-req.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Add it.
Applied!
> --- /dev/null
> +++ b/gnu/packages/patches/emacs-unpackaged-req.patch
> @@ -0,0 +1,24 @@
> +From e5be173e201710538464c279335bef735a327a68 Mon Sep 17 00:00:00 2001
> +From: Brian Leung <bkleung89@gmail.com>
> +Date: Tue, 18 Jun 2019 06:37:46 +0200
> +Subject: [PATCH] Add missing require.
What’s the upstream status of this patch?
Thank you,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-19 20:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-18 4:54 [bug#36274] [PATCH] Add fix for emacs-unpackaged-el Brian Leung
2019-06-19 20:52 ` bug#36274: " Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.