Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2019 18:18:47 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518669 - in head/devel/treepy.el: . files
Message-ID:  <201911291818.xATIIlR9037411@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Nov 29 18:18:47 2019
New Revision: 518669
URL: https://svnweb.freebsd.org/changeset/ports/518669

Log:
  devel/treepy.el: Add patch to fix incompatibility with recent snapshot of Emacs
  
  PR:		241859
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer)

Added:
  head/devel/treepy.el/files/
  head/devel/treepy.el/files/patch-97d955be198ead6380706704cbe0005fffaccf64   (contents, props changed)
Modified:
  head/devel/treepy.el/Makefile

Modified: head/devel/treepy.el/Makefile
==============================================================================
--- head/devel/treepy.el/Makefile	Fri Nov 29 17:38:52 2019	(r518668)
+++ head/devel/treepy.el/Makefile	Fri Nov 29 18:18:47 2019	(r518669)
@@ -2,7 +2,7 @@
 
 PORTNAME=	treepy.el
 DISTVERSION=	0.1.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel elisp
 PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}
 
@@ -11,10 +11,6 @@ COMMENT=	Generic tree traversing tools for Emacs Lisp
 
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/LICENSE
-
-.if ${FLAVOR:U} == devel_full || ${FLAVOR:U} == devel_nox
-BROKEN=		fails to build
-.endif
 
 USES=		emacs
 USE_GITHUB=	yes

Added: head/devel/treepy.el/files/patch-97d955be198ead6380706704cbe0005fffaccf64
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/treepy.el/files/patch-97d955be198ead6380706704cbe0005fffaccf64	Fri Nov 29 18:18:47 2019	(r518669)
@@ -0,0 +1,37 @@
+From 97d955be198ead6380706704cbe0005fffaccf64 Mon Sep 17 00:00:00 2001
+From: Yasuhiro KIMURA <yasu@utahime.org>
+Date: Tue, 5 Nov 2019 16:13:24 +0900
+Subject: [PATCH] Fix incompatibility with recent master branch of Emacs
+
+http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=0e4dd67aae8b10032317a29a6bd99d2d4a64c897
+
+After above commit treepy.el isn't compatible with master branch of
+Emacs.
+
+For example byte-compiling it results in following error messages.
+
+In treepy--with-loc:
+treepy.el:157:35:Warning: `'node' is a malformed function
+treepy.el:157:35:Warning: `'context' is a malformed function
+treepy.el:160:51:Warning: `t' called as a function
+treepy.el:231:1:Error: Invalid function: 'node
+*** Error code 1
+---
+ treepy.el | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git treepy.el treepy.el
+index c60ee9f..08ad93c 100644
+--- treepy.el
++++ treepy.el
+@@ -41,6 +41,7 @@
+ ;;; Code:
+ 
+ (require 'map)
++(require 'cl-lib)
+ 
+ ;;; Walk (recursive tree traversal)
+ 
+-- 
+2.24.0
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911291818.xATIIlR9037411>