From nobody Wed Sep 06 19:23:19 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RgsjM42q0z4s5ly; Wed, 6 Sep 2023 19:23:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RgsjM3NL6z4Gyt; Wed, 6 Sep 2023 19:23:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694028199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OjzP6q/9875xhv2ULfaLgtY8VO0R/YElaE1At1iiNPo=; b=nqjmHe8Q2X9iyltErL9HKf6tIXpauXoVzN/8yW4YweF0GnfuXgc4IU5qUkflHIkZqrlr+1 Tn5kwofqvJFqB087GmCjuwUYwD0qzTmVWj4Pw0lWhVtDZ4UaGXhyX5D5JJvjwRaupLeGZ1 uNP5B4SXDOFwApCkw/WB7ro2mxhmjRD1PDC8udLgDMOogM1NSiFSwg7w2eEUYTQqyZfVvz WPmQfE7x4tsYotEnU+Nl5k+CseSESgyMhbTT/6r0en3AJ8AmZuwh9Rc9dwqNWNuQwUbkSz TKxcv9PRQptpDEpiQQbzYiaS0dYxGwbMYyxyPlaKHr3hv2/DkTRApFS0xQtmgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694028199; a=rsa-sha256; cv=none; b=MVEK7YammI9o8T9hqI1RRQcGa3DV3p9I02L8YKYV8jvkHs5prTYD/u1ghcv9gXUI6XxNEa 61R2InFHOmTGDG/jZaCLfj37DVn3mCNSFSVog2Fa4+P/hPJ4DD2YX7wPCRxzP+Tc5w88UX kS+Tg0NrUm6pCBvIpIZXTeRQWyS6UTXp5g0ktdR8bkhsCcbaDxd2nMjpzep4JbKYp18DK4 pzCDiidRN8t6AGsZTXkp8qopWXmWW7b1bCm71Dfx6GYK3qbf9q9ARCC+Gcuau0y44bURE6 SVxQN/JB1VuM5gYpth/bHHSXHidoZytKMGkMaP1C2X/YfkWDwLCRrQzLx6ivWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694028199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OjzP6q/9875xhv2ULfaLgtY8VO0R/YElaE1At1iiNPo=; b=YTM+AQKdWdmZVoEL55e1wQ0vi1u9JL2BK7wd3HStN+nSmIjXoxXKnW658Z3xX0gG60W38n Tj6+qyig6IHGeGN06lOeEwZoHoTqyKBywdYsYGqMXbq4IdaN9lhSCWiqxtlWj9Xd4IVSEL f/JI9Lp6fdr/wtn+RoP27BLYrZyoXfOCYkL4IG4T87GfgmbRFv2kw8dpQApwYTzwlVtKaa r2ayCPjVuT+kh9JRTY+25ai1P61wjTyckHN1afuKbtw7j2UMNTNrTHNW49kr1xLgQFDUC9 0KOipRTZyCFlausQByIgSEYZv1a9F2D406ERUnHbXUcbWW0AdF0COzrqahsaUA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RgsjM2K76zV38; Wed, 6 Sep 2023 19:23:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 386JNJ1P068491; Wed, 6 Sep 2023 19:23:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 386JNJob068488; Wed, 6 Sep 2023 19:23:19 GMT (envelope-from git) Date: Wed, 6 Sep 2023 19:23:19 GMT Message-Id: <202309061923.386JNJob068488@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Gleb Popov Subject: git: a342d4bfae3b - 2023Q3 - math/hs-Agda: Unbreak emacs stuff. List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q3 X-Git-Reftype: branch X-Git-Commit: a342d4bfae3b949a9ac16637da684a00f5221c97 Auto-Submitted: auto-generated The branch 2023Q3 has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=a342d4bfae3b949a9ac16637da684a00f5221c97 commit a342d4bfae3b949a9ac16637da684a00f5221c97 Author: Gleb Popov AuthorDate: 2023-09-06 19:22:24 +0000 Commit: Gleb Popov CommitDate: 2023-09-06 19:23:16 +0000 math/hs-Agda: Unbreak emacs stuff. Reported by: pkg-fallout (cherry picked from commit fa64017c84e0d09ccca99a66dfffa2befbd9e139) --- math/hs-Agda/Makefile | 1 + .../files/patch-src_data_emacs-mode_agda2-mode.el | 57 ++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/math/hs-Agda/Makefile b/math/hs-Agda/Makefile index 05efa5aacf69..bb6ed72f2ce6 100644 --- a/math/hs-Agda/Makefile +++ b/math/hs-Agda/Makefile @@ -1,5 +1,6 @@ PORTNAME= Agda PORTVERSION= 2.6.3 +PORTREVISION= 1 CATEGORIES= math haskell MAINTAINER= haskell@FreeBSD.org diff --git a/math/hs-Agda/files/patch-src_data_emacs-mode_agda2-mode.el b/math/hs-Agda/files/patch-src_data_emacs-mode_agda2-mode.el new file mode 100644 index 000000000000..8bca8c0cc516 --- /dev/null +++ b/math/hs-Agda/files/patch-src_data_emacs-mode_agda2-mode.el @@ -0,0 +1,57 @@ +https://github.com/agda/agda/pull/6735 + +--- src/data/emacs-mode/agda2-mode.el.orig 2001-09-09 01:46:40 UTC ++++ src/data/emacs-mode/agda2-mode.el +@@ -261,8 +261,8 @@ CMD is a command; KEYS is its key binding (if any); WH + "Table of commands, used to build keymaps and menus. + Each element has the form (CMD &optional KEYS WHERE DESC) where + CMD is a command; KEYS is its key binding (if any); WHERE is a +-list which should contain 'local if the command should exist in +-the goal menu and 'global if the command should exist in the main ++list which should contain \\='local if the command should exist in ++the goal menu and \\='global if the command should exist in the main + menu; and DESC is the description of the command used in the + menus.") + +@@ -530,7 +530,7 @@ for output and executes the responses, if any. + Sends the list of strings ARGS to the Agda2 interpreter, waits + for output and executes the responses, if any. + +-If SAVE is 'save, then the buffer is saved first. ++If SAVE is \\='save, then the buffer is saved first. + + If HIGHLIGHT is non-nil, then the buffer's syntax highlighting + may be updated. This is also the case if the Agda process is +@@ -759,13 +759,13 @@ The user input is computed as follows: + contains whitespace, then the input is taken from the + minibuffer. In this case WANT is used as the prompt string. + +-* Otherwise (including if WANT is 'goal) the goal contents are ++* Otherwise (including if WANT is \\='goal) the goal contents are + used. + + If the user input is not taken from the goal, then an empty goal + range is given. + +-If SAVE is 'save, then the buffer is saved just before the ++If SAVE is \\='save, then the buffer is saved just before the + command is sent to Agda (if it is sent)." + (cl-multiple-value-bind (o g) (agda2-goal-at (point)) + (unless g (error "For this command, please place the cursor in a goal")) +@@ -893,7 +893,6 @@ of new goals." + + (defun agda2-autoAll () + (interactive) +- "Solves all goals by simple proof search." + (agda2-go nil nil 'busy t "Cmd_autoAll") + ) + +@@ -1949,7 +1948,7 @@ the argument is a positive number, otherwise turn it o + + (defun agda2-get-agda-program-versions () + "Get \"version strings\" of executables starting with +-'agda-mode' in current path." ++\\='agda-mode' in current path." + (delete-dups + (mapcar (lambda (path) + ;; strip 'agda-mode' prefix