Fix nsm-should-check for "google.com" failure
Resolves: RHEL-94297
This commit is contained in:
parent
a3af0f24ec
commit
928b886e42
28
emacs-nsm-should-check.patch
Normal file
28
emacs-nsm-should-check.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From 6dc4fc7d621008086388dae48f6794f7d69edff9 Mon Sep 17 00:00:00 2001
|
||||
From: Robert Pluim <rpluim@gmail.com>
|
||||
Date: Tue, 12 Jan 2021 18:36:01 +0100
|
||||
Subject: Fix nsm-should-check for "google.com" failure
|
||||
|
||||
* lisp/net/nsm.el (nsm-should-check): Extract the mask from
|
||||
'network-interface-list' rather than the broadcast
|
||||
address (Bug#45798).
|
||||
---
|
||||
lisp/net/nsm.el | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lisp/net/nsm.el b/lisp/net/nsm.el
|
||||
index 3f3e7133713..0ce65a35ead 100644
|
||||
--- a/lisp/net/nsm.el
|
||||
+++ b/lisp/net/nsm.el
|
||||
@@ -239,7 +239,7 @@ otherwise."
|
||||
(mapc
|
||||
(lambda (info)
|
||||
(let ((local-ip (nth 1 info))
|
||||
- (mask (nth 2 info)))
|
||||
+ (mask (nth 3 info)))
|
||||
(when
|
||||
(nsm-network-same-subnet (substring local-ip 0 -1)
|
||||
(substring mask 0 -1)
|
||||
--
|
||||
cgit v1.2.3
|
||||
|
@ -5,7 +5,7 @@ Summary: GNU Emacs text editor
|
||||
Name: emacs
|
||||
Epoch: 1
|
||||
Version: 27.2
|
||||
Release: 17%{?dist}
|
||||
Release: 18%{?dist}
|
||||
License: GPLv3+ and CC0-1.0
|
||||
URL: http://www.gnu.org/software/emacs/
|
||||
Source0: https://ftp.gnu.org/gnu/emacs/emacs-%{version}.tar.xz
|
||||
@ -42,6 +42,7 @@ Patch15: emacs-CVE-2024-53920.patch
|
||||
# Avoid trademark issues
|
||||
Patch16: emacs-pong-and-tetris-are-excluded.patch
|
||||
Patch17: emacs-fix-flymake-tests-with-gcc-14.patch
|
||||
Patch18: emacs-nsm-should-check.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: atk-devel
|
||||
@ -218,6 +219,7 @@ Development header files for Emacs.
|
||||
%patch -P 15 -p1 -b .CVE-2024-53920
|
||||
%patch -P 16 -p1 -b .pong-and-tetris-are-excluded
|
||||
%patch -P 17 -p1 -b .fix-flymake-tests-with-gcc-14
|
||||
%patch -P 18 -p1 -b .nsm-should-check
|
||||
|
||||
# Avoid trademark issues
|
||||
rm lisp/play/pong.el lisp/play/pong.elc \
|
||||
@ -504,6 +506,9 @@ rm %{buildroot}%{_datadir}/icons/hicolor/scalable/mimetypes/emacs-document23.svg
|
||||
%{_includedir}/emacs-module.h
|
||||
|
||||
%changelog
|
||||
* Mon Jun 23 2025 Jacek Migacz <jmigacz@redhat.com> - 1:27.2-18
|
||||
- Fix nsm-should-check for "google.com" failure (RHEL-94297)
|
||||
|
||||
* Wed Jun 18 2025 Jacek Migacz <jmigacz@redhat.com> - 1:27.2-17
|
||||
- Pong and Tetris are excluded (RHEL-94297)
|
||||
- Fix flymake tests with GCC 14 (RHEL-94297)
|
||||
|
Loading…
Reference in New Issue
Block a user