meta-openembedded/meta-oe/recipes-support/emacs/files/leim_dont-unexport-EMACSDATA.patch
Gyorgy Sarvari c9a55aef87
emacs: upgrade 29.1 -> 30.2
Added a new patch to avoid unexporting some environment variables that are set
by the recipe explicitly, to avoid the following build error:

| Loading env...
| 'bootstrap-emacs' -batch --no-site-file --no-site-lisp -batch -l ja-dic-cnv \
|   -f batch-skkdic-convert -dir "../../sources/emacs-29.2/leim/../lisp/leim/ja-dic" --no-reduction "../../sources/emacs-29.2/leim/SKK-DIC/SKK-JISYO.L"
<...>
| Error: <RECIP_SYSROOT_NATIVE>/usr/share/emacs/29.2/etc/charsets: No such file or directory

Changelogs:
29.2 - 29.4: https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS.29
30.1 - 30.2: https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS.30

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-06 11:34:38 -07:00

20 lines
748 B
Diff

Upstream unexports some environment variables to avoid contamination,
however OE sets these variables specifically to help the build in the
recipe, and they should not be unexported.
Upstream-Status: Inappropriate [oe-specific]
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
--- ./leim/Makefile.in.orig 2025-10-05 20:22:56.062508393 +0200
+++ ./leim/Makefile.in 2025-10-05 20:23:05.581046818 +0200
@@ -42,7 +42,7 @@
-include ${top_builddir}/src/verbose.mk
# Prevent any settings in the user environment causing problems.
-unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH
+# unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH
# Which Emacs to use to convert TIT files to Emacs Lisp files,
# and generate the file leim-list.el.