Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178375636
D62517.1796617410.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
9 KB
Referenced Files
None
Subscribers
None
D62517.1796617410.diff
View Options
diff --git a/Mk/Uses/emacs.mk b/Mk/Uses/emacs.mk
--- a/Mk/Uses/emacs.mk
+++ b/Mk/Uses/emacs.mk
@@ -23,7 +23,7 @@
# editors/emacs.
#
# Variables, which can be read by ports:
-# EMACS_CMD: Emacs command with full path (e.g. /usr/local/bin/emacs-31.1)
+# EMACS_CMD: Emacs command with full path (e.g. /usr/local/bin/emacs-31.2)
# EMACS_MAJOR_VER: Emacs major version (e.g. 31)
# EMACS_LIBDIR: Emacs Library directory without ${PREFIX} (e.g. share/emacs)
# EMACS_SITE_LISPDIR: Emacs site-lisp directory without ${PREFIX} (e.g. share/emacs/site-lisp)
@@ -64,7 +64,7 @@
_EMACS_PORTDIR= editors/emacs-devel
_EMACS_FLAVOR= ${EMACS_DEFAULT:C/devel_//}
. else
-_EMACS_VER= 31.1
+_EMACS_VER= 31.2
_EMACS_PORTDIR= editors/emacs
_EMACS_FLAVOR= ${EMACS_DEFAULT:Unox}
. endif
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -1,14 +1,13 @@
PORTNAME= emacs
-DISTVERSION= 31.1
-PORTREVISION= 6
+DISTVERSION= 31.2
+DISTVERSIONSUFFIX= -rc1
PORTEPOCH= 3
CATEGORIES= editors
-MASTER_SITES= GNU
+#MASTER_SITES= GNU
+MASTER_SITES= GNU_ALPHA/emacs/pretest
-PATCH_SITES= https://github.com/emacs-mirror/emacs/commit/
-PATCHFILES= 205ae0b0583dbfe09e258164adbc49e130645221.patch?full_index=1:-p1 \
- 5bf385dad6e5a2c2a9584252b99484cdbfeae66b.patch?full_index=1:-p1 \
- 084d9a516f3709a2384902f51d9c580a1fa314e5.patch?full_index=1:-p1
+## Comment out for the actual release
+WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
.if ${FLAVOR:U} == canna
PATCH_SITES+= https://www.gentei.org/~yuuji/software/emacs31canna/:canna
diff --git a/editors/emacs/distinfo b/editors/emacs/distinfo
--- a/editors/emacs/distinfo
+++ b/editors/emacs/distinfo
@@ -1,11 +1,5 @@
-TIMESTAMP = 1796493407
-SHA256 (emacs-31.1.tar.xz) = 1da5790d9580c81932b5bf700633114468da7b3412d69faa767daebf974f4586
-SIZE (emacs-31.1.tar.xz) = 57977476
-SHA256 (205ae0b0583dbfe09e258164adbc49e130645221.patch?full_index=1) = 9b3142f3c3164f20aa0ff61a23422be67c6f20ee827057b559d9725065aa3c38
-SIZE (205ae0b0583dbfe09e258164adbc49e130645221.patch?full_index=1) = 5673
-SHA256 (5bf385dad6e5a2c2a9584252b99484cdbfeae66b.patch?full_index=1) = 71ad1b5b8d98d99a1e94ac60b44faf6718ea24d37e60f1c0c6e7aa789909c69d
-SIZE (5bf385dad6e5a2c2a9584252b99484cdbfeae66b.patch?full_index=1) = 3742
-SHA256 (084d9a516f3709a2384902f51d9c580a1fa314e5.patch?full_index=1) = e0e9e29e6cb8059948465f000589bf00cdf92d052a3e67a5e5b21216463cee15
-SIZE (084d9a516f3709a2384902f51d9c580a1fa314e5.patch?full_index=1) = 2096
+TIMESTAMP = 1796523294
+SHA256 (emacs-31.2-rc1.tar.xz) = e5dd7ee78d0334e907b47050d145d14effcd33083eea156b9194bc55ca5b70f8
+SIZE (emacs-31.2-rc1.tar.xz) = 57995800
SHA256 (emacs31.1canna-20260824.diff.gz) = 87db60976b62f7c55f41d39ac801c500843f6866664ba5c0c11c12e31587b626
SIZE (emacs31.1canna-20260824.diff.gz) = 30370
diff --git a/editors/emacs/files/patch-lisp_net_tramp-archive.el b/editors/emacs/files/patch-lisp_net_tramp-archive.el
deleted file mode 100644
--- a/editors/emacs/files/patch-lisp_net_tramp-archive.el
+++ /dev/null
@@ -1,23 +0,0 @@
---- lisp/net/tramp-archive.el.orig 2026-07-07 12:37:38 UTC
-+++ lisp/net/tramp-archive.el
-@@ -741,6 +741,20 @@ offered."
- v 'remote-file-error
- "Operation `%s' not implemented for file archives" operation)))
-
-+;;; Default connection-local variables for Tramp.
-+
-+(defconst tramp-archive-connection-local-default-variables
-+ '((tramp-allow-double-percent . t))
-+ "Default connection-local variables for file archives.")
-+
-+(connection-local-set-profile-variables
-+ 'tramp-archive-connection-local-default-profile
-+ tramp-archive-connection-local-default-variables)
-+
-+(connection-local-set-profiles
-+ `(:application tramp :protocol ,tramp-archive-method)
-+ 'tramp-archive-connection-local-default-profile)
-+
- (add-hook 'tramp-unload-hook
- (lambda ()
- (unload-feature 'tramp-archive 'force)))
diff --git a/editors/emacs/files/patch-lisp_net_tramp.el b/editors/emacs/files/patch-lisp_net_tramp.el
deleted file mode 100644
--- a/editors/emacs/files/patch-lisp_net_tramp.el
+++ /dev/null
@@ -1,62 +0,0 @@
---- lisp/net/tramp.el.orig 2026-08-24 08:33:21 UTC
-+++ lisp/net/tramp.el
-@@ -1071,7 +1071,7 @@ Derived from `tramp-postfix-method-format'.")
- Derived from `tramp-postfix-method-format'.")
-
- (defconst tramp-user-regexp
-- (rx (| (+ (not (any "/\\^$?*:;|[]{}()<>`'\"" blank)))
-+ (rx (| (+ (not (any "/\\^$!#&?*:;,|[]{}()<>`'\"" blank control)))
- ;; Environment variable.
- (: "$" (+ (any "_" alnum)))))
- "Regexp matching user names.")
-@@ -1826,6 +1826,11 @@ This is HOST, if non-nil. Otherwise, do a lookup in
- result
- (propertize result 'tramp-default t))))
-
-+(defvar tramp-allow-double-percent (not (eq system-type 'windows-nt))
-+ "Whether a pattern \"%NAME%\" can be used in user or host names.
-+It is not recommended to change this variable globally. Instead, it
-+should be set connection-local.")
-+
- ;;;###tramp-autoload
- (defun tramp-dissect-file-name (name &optional nodefault)
- "Return a `tramp-file-name' structure of NAME, a remote file name.
-@@ -1892,7 +1897,37 @@ default values are used."
- ;; Only some methods from tramp-sh.el do support multi-hops.
- (unless (or (null hop) nodefault non-essential (tramp-multi-hop-p v))
- (tramp-user-error
-- v "Method `%s' is not supported for multi-hops" method)))))))
-+ v "Method `%s' is not supported for multi-hops" method))
-+ (let (connection-local-variables-alist)
-+ (hack-connection-local-variables
-+ (tramp-get-connection-local-criteria v))
-+ (let ((allow-double-percent
-+ (alist-get
-+ 'tramp-allow-double-percent
-+ connection-local-variables-alist
-+ tramp-allow-double-percent)))
-+ ;; User name could be invalid after expansion of
-+ ;; environment variables, or contain a literal
-+ ;; environment variable.
-+ (unless (tramp-string-empty-or-nil-p user)
-+ (when (or (not (string-match-p tramp-user-regexp user))
-+ (string-match-p
-+ (rx "$") (tramp-file-name-user-domain v))
-+ (and (not allow-double-percent)
-+ (string-match-p
-+ (rx "%" (* nonl) "%")
-+ (tramp-file-name-user-domain v))))
-+ (tramp-user-error
-+ v "Not a valid user name: \"%s\""
-+ (tramp-file-name-user-domain v))))
-+ ;; Host name could contain a literal environment variable.
-+ (unless (tramp-string-empty-or-nil-p host)
-+ (when (or (not (string-match-p tramp-host-regexp host))
-+ (string-match-p (rx "$") host)
-+ (and (not allow-double-percent)
-+ (string-match-p (rx "%" (* nonl) "%") host)))
-+ (tramp-user-error
-+ v "Not a valid host name: \"%s\"" host))))))))))
-
- ;; We cannot use the `declare' form for `tramp-suppress-trace' in
- ;; autoloaded functions, because the tramp-loaddefs.el generation
diff --git a/editors/emacs/files/patch-lisp_progmodes_flymake.el b/editors/emacs/files/patch-lisp_progmodes_flymake.el
deleted file mode 100644
--- a/editors/emacs/files/patch-lisp_progmodes_flymake.el
+++ /dev/null
@@ -1,53 +0,0 @@
-From abc802ee2eb0b1663349ddf22a461f8e54a383fb Mon Sep 17 00:00:00 2001
-From: Stefan Monnier <monnier@iro.umontreal.ca>
-Date: Mon, 14 Sep 2026 11:30:39 +0100
-Subject: [PATCH] flymake.el: Generalize trusted-content-p check to all
- backends
-
-Minimal safe backport of this change:
-
- Author: Stefan Monnier <monnier@iro.umontreal.ca>
- AuthorDate: Fri Sep 11 21:48:55 2026 -0400
-
- flymake.el: Generalize trusted-content-p check to all backends
-
- Rather than have each and every backend check
- 'trusted-content-p' if it feels necessary, implement the check
- once and forall in flymake.el and provide a wat for backends to
- skip that test, so we replace an "opt-in" with an "opt-out"
- that's a bit more secure by design.
-
- * lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile):
- Move 'trusted-content-p' to flymake.el.
- * lisp/progmodes/flymake.el (flymake--run-backend):
- Move 'trusted-content-p' from elisp-mode.el.
-
- * lisp/progmodes/eglot.el (eglot-flymake-backend): Mark as safe.
-
-* lisp/progmodes/flymake.el (flymake--run-backend): Copy
-trusted-content-p check from elisp-mode.el. Do not merge to
-master.
----
- lisp/progmodes/flymake.el | 9 +++++++--
- 1 file changed, 7 insertions(+), 2 deletions(-)
-
-diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
-index fff42696761..40761031dc2 100644
---- lisp/progmodes/flymake.el.orig 2026-08-17 17:42:57 UTC
-+++ lisp/progmodes/flymake.el
-@@ -1271,8 +1271,13 @@ with a report function."
- (flymake--state-disabled state) nil
- (flymake--state-reported-p state) nil))
- (condition-case-unless-debug err
-- (apply backend (flymake-make-report-fn backend run-token)
-- args)
-+ (if (or (trusted-content-p) (function-get backend 'flymake-always-safe))
-+ (apply backend (flymake-make-report-fn backend run-token)
-+ args)
-+ (message "Disabling %S in %s (untrusted content)"
-+ backend (buffer-name))
-+ (user-error "Disabling %S in %s (untrusted content)"
-+ backend (buffer-name)))
- (error
- (flymake--disable-backend backend err)))))
-
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 7, 4:23 AM (16 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42271286
Default Alt Text
D62517.1796617410.diff (9 KB)
Attached To
Mode
D62517: editors/emacs: Prepare for 31.2
Attached
Detach File
Event Timeline