gnu: emacs-polymode: Add patch for native compilation.
* gnu/packages/emacs-xyz.scm (emacs-polymode)[source]: Add patch. * gnu/packages/patches/emacs-polymode-fix-lexical-variable-error.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
		
							parent
							
								
									e63f7d8086
								
							
						
					
					
						commit
						52e55b38f4
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		|  | @ -52,6 +52,7 @@ | ||||||
| # Copyright © 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com>
 | # Copyright © 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com>
 | ||||||
| # Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
 | # Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
 | ||||||
| # Copyright © 2022 muradm <mail@muradm.net>
 | # Copyright © 2022 muradm <mail@muradm.net>
 | ||||||
|  | # Copyright © 2022 Hilton Chain <hako@ultrarare.space>
 | ||||||
| #
 | #
 | ||||||
| # This file is part of GNU Guix.
 | # This file is part of GNU Guix.
 | ||||||
| #
 | #
 | ||||||
|  | @ -1046,6 +1047,7 @@ dist_patch_DATA =						\ | ||||||
|   %D%/packages/patches/emacs-highlight-stages-add-gexp.patch	\
 |   %D%/packages/patches/emacs-highlight-stages-add-gexp.patch	\
 | ||||||
|   %D%/packages/patches/emacs-libgit-use-system-libgit2.patch    \
 |   %D%/packages/patches/emacs-libgit-use-system-libgit2.patch    \
 | ||||||
|   %D%/packages/patches/emacs-lispy-fix-thread-last-test.patch   \
 |   %D%/packages/patches/emacs-lispy-fix-thread-last-test.patch   \
 | ||||||
|  |   %D%/packages/patches/emacs-polymode-fix-lexical-variable-error.patch  \
 | ||||||
|   %D%/packages/patches/emacs-source-date-epoch.patch		\
 |   %D%/packages/patches/emacs-source-date-epoch.patch		\
 | ||||||
|   %D%/packages/patches/emacs-telega-path-placeholder.patch	\
 |   %D%/packages/patches/emacs-telega-path-placeholder.patch	\
 | ||||||
|   %D%/packages/patches/emacs-telega-test-env.patch		\
 |   %D%/packages/patches/emacs-telega-test-env.patch		\
 | ||||||
|  |  | ||||||
|  | @ -17621,7 +17621,10 @@ contexts. | ||||||
|              (commit (string-append "v" version)))) |              (commit (string-append "v" version)))) | ||||||
|        (file-name (git-file-name name version)) |        (file-name (git-file-name name version)) | ||||||
|        (sha256 |        (sha256 | ||||||
|         (base32 "18ssl2h861dm2jkd3df6wkfr48p8zk337dbvpq5522kia7fq1lbn")))) |         (base32 "18ssl2h861dm2jkd3df6wkfr48p8zk337dbvpq5522kia7fq1lbn")) | ||||||
|  |        (patches | ||||||
|  |         ;; XXX: Cherry-picked from upstream, remove when bumping to 0.2.3. | ||||||
|  |         (search-patches "emacs-polymode-fix-lexical-variable-error.patch")))) | ||||||
|     (build-system emacs-build-system) |     (build-system emacs-build-system) | ||||||
|     (home-page "https://github.com/polymode/polymode") |     (home-page "https://github.com/polymode/polymode") | ||||||
|     (synopsis "Framework for multiple Emacs modes based on indirect buffers") |     (synopsis "Framework for multiple Emacs modes based on indirect buffers") | ||||||
|  |  | ||||||
		Reference in a new issue