Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142485895
D34935.id105147.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
6 KB
Referenced Files
None
Subscribers
None
D34935.id105147.diff
View Options
Index: editors/emacs-devel/Makefile
===================================================================
--- editors/emacs-devel/Makefile
+++ editors/emacs-devel/Makefile
@@ -1,8 +1,7 @@
# Created by: Kenneth Vestergaard Schmidt <kvs@pil.dk>
PORTNAME= emacs
-DISTVERSION= 29.0.50.20220331
-PORTREVISION= 1
+DISTVERSION= 29.0.50.20220416
PORTEPOCH= 2
CATEGORIES= editors
PKGNAMESUFFIX= -devel
@@ -26,7 +25,7 @@
CPE_VENDOR= gnu
USE_GITHUB= yes
GH_ACCOUNT= emacs-mirror
-GH_TAGNAME= c5af19c
+GH_TAGNAME= 1fed6e7
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-build-details \
@@ -64,8 +63,10 @@
CONFLICTS_INSTALL= emacs emacs-canna emacs-nox
-SUB_FILES= sources.el
-SUB_LIST= EMACS_VER=${DISTVERSION:R}
+SUB_FILES= pkg-message sources.el
+SUB_LIST= EMACS_VER=${DISTVERSION:R} \
+ NATIVECOMP_COMMENT_END=${NATIVECOMP_COMMENT_END} \
+ NATIVECOMP_COMMENT_START=${NATIVECOMP_COMMENT_START}
INFO= auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede \
ediff edt efaq eieio eintr elisp emacs emacs-gnutls emacs-mime \
@@ -85,8 +86,8 @@
XML XWIDGETS
OPTIONS_DEFAULT= ACL CAIRO DBUS GIF GNUTLS GSETTINGS GTK3 \
HARFBUZZ JPEG JSON KQUEUE LCMS2 MAILUTILS \
- MODULES OSS PGTK PNG SCROLLBARS SOURCES SQLITE3 \
- SVG THREADS TIFF WEBP XML
+ MODULES NATIVECOMP OSS PGTK PNG SCROLLBARS \
+ SOURCES SQLITE3 SVG THREADS TIFF WEBP XML
OPTIONS_GROUP= GRAPHICS
OPTIONS_GROUP_GRAPHICS= CAIRO GIF JPEG MAGICK PNG SVG TIFF WEBP XPM
OPTIONS_RADIO= FILENOTIFY SOUND X11TOOLKIT
@@ -223,6 +224,14 @@
USE_GCC= yes
.endif
+.if ${PORT_OPTIONS:MNATIVECOMP}
+NATIVECOMP_COMMENT_END=
+NATIVECOMP_COMMENT_START=
+.else
+NATIVECOMP_COMMENT_END= '*/'
+NATIVECOMP_COMMENT_START= '/*'
+.endif
+
.if ${PORT_OPTIONS:MNATIVECOMP} && !defined(_GCC_PORT_CHOSEN)
_GCC_PORT!= ${BSDMAKE} -V_GCC_PORT USE_GCC=11+ _GCC_PORT_CHOSEN=yes
.endif
@@ -243,7 +252,7 @@
# Schema generation is dependent on both PGTK, and GSETTINGS options
# as per https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=183936ee8e5
.if ${PORT_OPTIONS:MGSETTINGS} && ${PORT_OPTIONS:MPGTK}
-GLIB_SCHEMAS+= org.gnu.emacs.defaults.gschema.xml
+GLIB_SCHEMAS+= org.gnu.emacs.defaults.gschema.xml
.endif
.if ${FLAVOR} == nox
Index: editors/emacs-devel/distinfo
===================================================================
--- editors/emacs-devel/distinfo
+++ editors/emacs-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1648744019
-SHA256 (emacs-mirror-emacs-29.0.50.20220331-c5af19c_GH0.tar.gz) = 6caccc85ea3c4446f4ae0878d8ae2c70209e37064fc6ee02b7294698a12de1a7
-SIZE (emacs-mirror-emacs-29.0.50.20220331-c5af19c_GH0.tar.gz) = 45440509
+TIMESTAMP = 1650071980
+SHA256 (emacs-mirror-emacs-29.0.50.20220416-1fed6e7_GH0.tar.gz) = a44463477213111797b8b0a090334c3f3b3801d2f3b4162038ffb181f142a079
+SIZE (emacs-mirror-emacs-29.0.50.20220416-1fed6e7_GH0.tar.gz) = 45503871
Index: editors/emacs-devel/files/pkg-message.in
===================================================================
--- /dev/null
+++ editors/emacs-devel/files/pkg-message.in
@@ -0,0 +1,73 @@
+[
+%%NATIVECOMP_COMMENT_START%%
+{ type: install
+ message: <<EOM
+Emacs is now built with native compilation enabled, however it is
+known that some elisp applications don't work correctly when compiled.
+You can work any such issues by disabling native compilation using
+the following steps.
+
+1. Add the following lines at the top of your Emacs configuration:
+
+(setq native-comp-deferred-compilation nil
+comp-enable-subr-trampolines nil)
+
+2. Exit emacs
+
+3. rm -rf ~/.emacs.d/eln-cache
+
+4. Start emacs again
+
+Whereas all elisp files included in the Emacs source archive are
+native compiled at build time, 3rd party elisp files (for example,
+from elisp ports/packages) are native compiled at run time. This will
+result in high CPU usage when they are compiled. If this annoys you,
+you can throttle the number of jobs by changing the value of the
+variable 'native-comp-async-jobs-number' in your emacs
+configuration. See the output of `C-h v native-comp-async-jobs-number`
+for details.
+EOM
+}
+{ type: upgrade
+ message: <<EOM
+Emacs is now built with native compilation enabled, however it is
+known that some elisp applications don't work correctly when compiled.
+You can work any such issues by disabling native compilation using
+the following steps.
+
+1. Add the following lines at the top of your Emacs configuration:
+
+(setq native-comp-deferred-compilation nil
+comp-enable-subr-trampolines nil)
+
+2. Exit emacs
+
+3. rm -rf ~/.emacs.d/eln-cache
+
+4. Start emacs again
+
+Whereas all elisp files included in the Emacs source archive are
+native compiled at build time, 3rd party elisp files (for example,
+from elisp ports/packages) are native compiled at run time. This will
+result in high CPU usage when they are compiled. If this annoys you,
+you can throttle the number of jobs by changing the value of the
+variable 'native-comp-async-jobs-number' in your emacs
+configuration. See the output of `C-h v native-comp-async-jobs-number`
+for details.
+EOM
+}
+%%NATIVECOMP_COMMENT_END%%
+{ type: upgrade
+ maximum_version: "28.0.50.20210302,2"
+ message: <<EOM
+If you get the error
+
+ Symbol's value as variable is void: minor-modes
+
+rebuild the offending Emacs packages.
+
+See https://lists.gnu.org/archive/html/emacs-devel/2021-02/msg01164.html
+for details.
+EOM
+}
+]
Index: editors/emacs-devel/pkg-message
===================================================================
--- editors/emacs-devel/pkg-message
+++ /dev/null
@@ -1,15 +0,0 @@
-[
-{ type: upgrade
- maximum_version: "28.0.50.20210302,2"
- message: <<EOM
-If you get the error
-
- Symbol's value as variable is void: minor-modes
-
-rebuild the offending Emacs packages.
-
-See https://lists.gnu.org/archive/html/emacs-devel/2021-02/msg01164.html
-for details.
-EOM
-}
-]
Index: editors/emacs-devel/pkg-plist
===================================================================
--- editors/emacs-devel/pkg-plist
+++ editors/emacs-devel/pkg-plist
@@ -4199,6 +4199,7 @@
%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/search.c
%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/sheap.c
%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/sheap.h
+%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/sort.c
%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/sound.c
%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/sqlite.c
%%SOURCES%%%%DATADIR%%/%%EMACS_VER%%/src/syntax.c
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 21, 8:38 AM (3 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27798186
Default Alt Text
D34935.id105147.diff (6 KB)
Attached To
Mode
D34935: editors/emacs-devel: Update to 2022-04-16 snapshot
Attached
Detach File
Event Timeline
Log In to Comment