From nobody Wed Sep 6 19:22:56 2023 X-Original-To: dev-commits-ports-main@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 4Rgshw2YX7z4s5V7; Wed, 6 Sep 2023 19:22:56 +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 4Rgshw256fz4GlN; Wed, 6 Sep 2023 19:22:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694028176; 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=uBzH3Fe2zZdgBmIC2yPk2eAx5P8RcK5pl1WG0McBLqg=; b=WAs3fTtG1tH4Dd1KECtj60qmy05c6sYUyvvhC4Ca4KseY5kA+/spP9pXR6SZQxUnxO8ZLU CRYxf0G7srmqFtnGCp0Tgg0Ar4VsCm2VsM7XWtmB0/yigOhGvvZf9RD8Gww0T0rhihA6bx 9t4tJFXYRHRcT235sK56x5Wx9FbuinMxrPeXTPbkFKCLog2gjhhBDtlHD6b/8xBx8sjQF7 j1qSibLVPGPhTYGJxqdcp5GFmmEhnY2UvGjEMb8/tqBMjqTeKKjlbhkyvIhBVEEI4CfAcc 1I+tiRxROG5i7CnjiEnGNIrRKA7M0vq8nGdlGktgMYMoPVhXTvabkLtVDYH62g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694028176; a=rsa-sha256; cv=none; b=EI4CHY6Gpgt3BX08XV3wxpHjXtwnoqFP3sL1sms1mdY9v6vQI02wVSLVoq4OFrcm8i7pxy tRlPuVVsvwWZGrphssLcEr5PPm4wbesmJuqizsLfk7+au6EXfU2iU40/Hy+XOcu+TuVzX5 0d2btVKtKsiDEdUG4Isco66987PDrF9SiJc29sPLUZ8Q5Bg686c5vXfljGQmC3OG6mPghi saTP6SzWi39rJtm8OajwG5vmG0y7i90QMDwK2opAEdy8IVD07iptbVcC7QXE/d4W0A8vmO fBMmlcNvfmUYy/uUSQ+/4dZsDBwsMRXHpwiuEeDVqtKDglUeLG5xI8ASaHNpJQ== 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=1694028176; 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=uBzH3Fe2zZdgBmIC2yPk2eAx5P8RcK5pl1WG0McBLqg=; b=b9GVKfhIfZ0VWRgX1Ol7yQt4amvNxisY88Sr/kMmZ/80trEEfY0ronKjvP6H8GFNkofCY7 aY6Kk+rB6e/c40WyFFWhK/oWMen/ynioJsrFJdMG5m4A3u8eYj1yHcS5QvFKPaeyOcjbz6 d8OOh+SvsAssq+NNgCKBel3vsfXqO4texv5S0ihjY78RDDpUppga26paVXBbQsPyHygkxK D9SOgr9L8qzvy6ITwdTXXU6fK4SC5KWfkkHjpRVhnBmxb2CU8i5MYXAswBSyeOsReHovVf 5Ff3Vr5rSmjnEiU/VpxLmXMVpFlXNjmZ61DjgbY7UV/FRZf9os6uJkGhNztqNA== 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 4Rgshw18HgzDKg; Wed, 6 Sep 2023 19:22:56 +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 386JMuXe068309; Wed, 6 Sep 2023 19:22:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 386JMuMT068306; Wed, 6 Sep 2023 19:22:56 GMT (envelope-from git) Date: Wed, 6 Sep 2023 19:22:56 GMT Message-Id: <202309061922.386JMuMT068306@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: fa64017c84e0 - main - math/hs-Agda: Unbreak emacs stuff. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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/main X-Git-Reftype: branch X-Git-Commit: fa64017c84e0d09ccca99a66dfffa2befbd9e139 Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=fa64017c84e0d09ccca99a66dfffa2befbd9e139 commit fa64017c84e0d09ccca99a66dfffa2befbd9e139 Author: Gleb Popov AuthorDate: 2023-09-06 19:22:24 +0000 Commit: Gleb Popov CommitDate: 2023-09-06 19:22:52 +0000 math/hs-Agda: Unbreak emacs stuff. Reported by: pkg-fallout --- 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