Page MenuHomeFreeBSD

D34935.id105075.diff
No OneTemporary

D34935.id105075.diff

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,43 @@
+[
+%%NATIVECOMP_COMMENT_START%%
+{ type: install
+ message: <<EOM
+Emacs is built with native compilation enabled. It is known that there
+are some elisp applications that don't work correctly if it is native
+compiled. If the application you use is one of them, you can work it
+around by disabling native compilation with following steps.
+
+1. Add following line as the first non-comment line in your .emacs
+
+ (setq-default no-native-compile t)
+
+2. Exit emacs process
+
+3. rm -rf ~/.emacs.d/eln-cache
+
+4. Start emacs again
+
+While all elisp files included in source archive of Emacs are native
+compiled at build time and included in Emacs package, 3rd party elisp
+files (ones of elisp ports/packages for example) are native compiled
+at run time. And it often results in high CPU usage. If it annoys you,
+you can throttle it by changing the value of
+'native-comp-async-jobs-number' variable in your .emacs. 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

Mime Type
text/plain
Expires
Wed, Jan 21, 8:25 AM (10 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27797828
Default Alt Text
D34935.id105075.diff (5 KB)

Event Timeline