Index: head/lang/php-mode.el/Makefile =================================================================== --- head/lang/php-mode.el/Makefile (revision 515839) +++ head/lang/php-mode.el/Makefile (revision 515840) @@ -1,41 +1,38 @@ # Created by: Dmitry Sivachenko # $FreeBSD$ PORTNAME= php-mode.el PORTVERSION= 1.22.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= lang elisp PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= yasu@utahime.org COMMENT= PHP mode for GNU Emacs LICENSE= GPLv3 - -.if ${FLAVOR:U} == devel_full || ${FLAVOR:U} == devel_nox -BROKEN= php.el:232:10:Error: Symbol's function definition is void: rx-form -.endif USES= emacs gmake USE_GITHUB= yes GH_ACCOUNT= emacs-php GH_PROJECT= ${PORTNAME:S/.el$//} NO_ARCH= yes do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} ${INSTALL_DATA} \ ${WRKSRC}/php-face.el \ ${WRKSRC}/php-face.elc \ ${WRKSRC}/php-mode-debug.el \ ${WRKSRC}/php-mode-debug.elc \ ${WRKSRC}/php-mode.el \ ${WRKSRC}/php-mode.elc \ ${WRKSRC}/php-project.el \ ${WRKSRC}/php-project.elc \ ${WRKSRC}/php.el \ ${WRKSRC}/php.elc \ ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} .include Index: head/lang/php-mode.el/files/patch-75d3ee1ead7557175e6aeb2ad8efdd73ee3c9332 =================================================================== --- head/lang/php-mode.el/files/patch-75d3ee1ead7557175e6aeb2ad8efdd73ee3c9332 (nonexistent) +++ head/lang/php-mode.el/files/patch-75d3ee1ead7557175e6aeb2ad8efdd73ee3c9332 (revision 515840) @@ -0,0 +1,61 @@ +From 75d3ee1ead7557175e6aeb2ad8efdd73ee3c9332 Mon Sep 17 00:00:00 2001 +From: Charlie McMackin +Date: Sun, 29 Sep 2019 11:52:54 -0500 +Subject: [PATCH] Replace rx-form with rx-to-string + +`rx-form` is being removed in an upcoming version of Emacs and its rewrite of +`rx`. Replacing it with `rx-to-string` is backwards and future compatible. +--- + php.el | 36 ++++++++++++++++++------------------ + 1 file changed, 18 insertions(+), 18 deletions(-) + +diff --git php.el php.el +index 64286da..ea36fc3 100644 +--- php.el ++++ php.el +@@ -177,24 +177,24 @@ keywords that can appear in method signatures, e.g. 'final' and + which will be the name of the method." + (when (stringp visibility) + (setq visibility (list visibility))) +- (rx-form `(: line-start +- (* (syntax whitespace)) +- ,@(if visibility +- `((* (or "abstract" "final" "static") +- (+ (syntax whitespace))) +- (or ,@visibility) +- (+ (syntax whitespace)) +- (* (or "abstract" "final" "static") +- (+ (syntax whitespace)))) +- '((* (* (or "abstract" "final" "static" +- "private" "protected" "public") +- (+ (syntax whitespace)))))) +- "function" +- (+ (syntax whitespace)) +- (? "&" (* (syntax whitespace))) +- (group (+ (or (syntax word) (syntax symbol)))) +- (* (syntax whitespace)) +- "("))) ++ (rx-to-string `(: line-start ++ (* (syntax whitespace)) ++ ,@(if visibility ++ `((* (or "abstract" "final" "static") ++ (+ (syntax whitespace))) ++ (or ,@visibility) ++ (+ (syntax whitespace)) ++ (* (or "abstract" "final" "static") ++ (+ (syntax whitespace)))) ++ '((* (* (or "abstract" "final" "static" ++ "private" "protected" "public") ++ (+ (syntax whitespace)))))) ++ "function" ++ (+ (syntax whitespace)) ++ (? "&" (* (syntax whitespace))) ++ (group (+ (or (syntax word) (syntax symbol)))) ++ (* (syntax whitespace)) ++ "("))) + + (defun php-create-regexp-for-classlike (type) + "Accepts a `TYPE' of a 'classlike' object as a string, such as +-- +2.23.0 + Property changes on: head/lang/php-mode.el/files/patch-75d3ee1ead7557175e6aeb2ad8efdd73ee3c9332 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property