forked from pool/emacs
~/Emacs
OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=282
This commit is contained in:
parent
4f26b9fcbf
commit
c3c2fc81c8
26
emacs-27.1-home.patch
Normal file
26
emacs-27.1-home.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
|
||||||
|
Tomasz> Forgotten / somewhere?
|
||||||
|
|
||||||
|
Robert> Hmm. Any chance of catching that in gdb so we can see where itʼs being
|
||||||
|
Robert> called from?
|
||||||
|
|
||||||
|
Completely WAG:
|
||||||
|
|
||||||
|
---
|
||||||
|
src/xrdb.c | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
--- src/xrdb.c
|
||||||
|
+++ src/xrdb.c 2020-08-15 06:15:14.059639732 +0000
|
||||||
|
@@ -292,9 +292,9 @@ get_user_app (const char *class)
|
||||||
|
/* Check in the home directory. This is a bit of a hack; let's
|
||||||
|
hope one's home directory doesn't contain ':' or '%'. */
|
||||||
|
char const *home = get_homedir ();
|
||||||
|
- db = search_magic_path (home, class, "%L/%N");
|
||||||
|
+ db = search_magic_path (home, class, "/%L/%N");
|
||||||
|
if (! db)
|
||||||
|
- db = search_magic_path (home, class, "%N");
|
||||||
|
+ db = search_magic_path (home, class, "/%N");
|
||||||
|
}
|
||||||
|
|
||||||
|
return db;
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 15 06:26:39 UTC 2020 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Add upstream patch emacs-27.1-home.patch from mailing list
|
||||||
|
to add missing slashes on finding ~/Emacs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 14 08:01:27 UTC 2020 - Dr. Werner Fink <werner@suse.de>
|
Fri Aug 14 08:01:27 UTC 2020 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -175,6 +175,7 @@ Patch23: emacs-25.1-custom-fonts.patch
|
|||||||
Patch24: emacs-25.2-ImageMagick7.patch
|
Patch24: emacs-25.2-ImageMagick7.patch
|
||||||
Patch25: emacs-26.1-xft4x11.patch
|
Patch25: emacs-26.1-xft4x11.patch
|
||||||
Patch26: emacs-27.1-pdftex.patch
|
Patch26: emacs-27.1-pdftex.patch
|
||||||
|
Patch27: emacs-27.1-home.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{expand: %%global include_info %(test -s /usr/share/info/info.info* && echo 0 || echo 1)}
|
%{expand: %%global include_info %(test -s /usr/share/info/info.info* && echo 0 || echo 1)}
|
||||||
@ -288,6 +289,7 @@ and most assembler-like syntaxes.
|
|||||||
%patch24 -p1 -b .imag
|
%patch24 -p1 -b .imag
|
||||||
%patch25 -p0 -b .xft
|
%patch25 -p0 -b .xft
|
||||||
%patch26 -p0 -b .fmt
|
%patch26 -p0 -b .fmt
|
||||||
|
%patch27 -p0 -b .home
|
||||||
%patch -p0 -b .0
|
%patch -p0 -b .0
|
||||||
%if %{without tex4pdf}
|
%if %{without tex4pdf}
|
||||||
pushd etc/refcards/
|
pushd etc/refcards/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user