pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

emacs28 from wip/emacs-git



Hi,

I can build emacs28 now with the following patch:
........

diff --git a/emacs-git/PLIST b/emacs-git/PLIST
index e04d225b5a..d223861f8f 100644
--- a/emacs-git/PLIST
+++ b/emacs-git/PLIST
@@ -3575,8 +3575,6 @@ share/emacs/${PKGVERSION}/lisp/savehist.el.gz
 share/emacs/${PKGVERSION}/lisp/savehist.elc
 share/emacs/${PKGVERSION}/lisp/saveplace.el.gz
 share/emacs/${PKGVERSION}/lisp/saveplace.elc
-share/emacs/${PKGVERSION}/lisp/sb-image.el.gz
-share/emacs/${PKGVERSION}/lisp/sb-image.elc
 share/emacs/${PKGVERSION}/lisp/scroll-all.el.gz
 share/emacs/${PKGVERSION}/lisp/scroll-all.elc
 share/emacs/${PKGVERSION}/lisp/scroll-bar.el.gz
@@ -4004,3 +4002,8 @@ share/icons/hicolor/scalable/apps/emacs.svg
 share/icons/hicolor/scalable/mimetypes/emacs-document.svg
 share/icons/hicolor/scalable/mimetypes/emacs-document23.svg
 share/metainfo/emacs.appdata.xml
+share/emacs/28.0.50/lisp/net/sasl-scram-sha256.el.gz
+share/emacs/28.0.50/lisp/net/sasl-scram-sha256.elc
+share/emacs/28.0.50/lisp/obsolete/sb-image.el.gz
+share/emacs/28.0.50/lisp/obsolete/sb-image.elc
+
diff --git a/emacs-git/distinfo b/emacs-git/distinfo
index 63f4110da5..08b985d04d 100644
--- a/emacs-git/distinfo
+++ b/emacs-git/distinfo
@@ -1,3 +1,4 @@
 $NetBSD$

 SHA1 (patch-configure.ac) = c9731094e059ac80d25e5a32894404a14be64433
+SHA1 (patch-systhread.ac) = 8a947ee94f5eb9145b6ffbe953c367b95a14e1b0

....

The bit aboout systhread is most likely wrong in the general case, as
it should check for 1, 2 or 3 parameters; I just presume they are 3 if
not 1, as  pthread_setname_np on -current has three parameters.
patch-systhread.ac is as follows:
...
--- src/systhread.c.ORIG        2020-02-04 09:41:23.841174488 +0000
+++ src/systhread.c     2020-02-04 09:21:03.627582312 +0000
@@ -217,7 +217,7 @@
  #ifdef HAVE_PTHREAD_SETNAME_NP_1ARG
   pthread_setname_np (p_name);
  #else
-  pthread_setname_np (pthread_self (), p_name);
+  pthread_setname_np (pthread_self (), "emacs-%2", p_name);
  #endif
 #endif
 }
..........


-- 
----


Home | Main Index | Thread Index | Old Index