forked from pool/emacs
.
OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=382
This commit is contained in:
parent
d42baac07e
commit
e8fc351da3
@ -207,7 +207,6 @@ Patch24: emacs-25.2-ImageMagick7.patch
|
||||
Patch25: emacs-26.1-xft4x11.patch
|
||||
Patch26: emacs-27.1-pdftex.patch
|
||||
Patch29: emacs-27.1-Xauthority4server.patch
|
||||
Patch30: gtk_crash_bsc1219891.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{expand: %%global include_info %(test -s /usr/share/info/info.info* && echo 0 || echo 1)}
|
||||
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
|
||||
@ -354,7 +353,6 @@ and most assembler-like syntaxes.
|
||||
%patch -P25 -p0 -b .xft
|
||||
%patch -P26 -p0 -b .fmt
|
||||
%patch -P29 -p0 -b .xauth
|
||||
%patch -P30 -p0 -b .gtk
|
||||
%patch -P0 -p0 -b .0
|
||||
%if %{without tex4pdf}
|
||||
pushd etc/refcards/
|
||||
|
@ -1,19 +0,0 @@
|
||||
---
|
||||
src/frame.c | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
--- src/frame.c
|
||||
+++ src/frame.c 2024-02-14 08:27:16.356238553 +0000
|
||||
@@ -2259,7 +2259,11 @@ delete_frame (Lisp_Object frame, Lisp_Ob
|
||||
if (terminal->reference_count == 0
|
||||
&& (terminal->type == output_x_window
|
||||
|| terminal->type == output_pgtk))
|
||||
- terminal->reference_count = 1;
|
||||
+ {
|
||||
+ const char *delterm = getenv ("GTK_DELTERM");
|
||||
+ if (delterm)
|
||||
+ terminal->reference_count = 1;
|
||||
+ }
|
||||
#endif /* USE_X_TOOLKIT || USE_GTK */
|
||||
|
||||
if (terminal->reference_count == 0)
|
Loading…
x
Reference in New Issue
Block a user