From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 26C2315814C for ; Fri, 13 Oct 2023 19:23:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 436BE2BC015; Fri, 13 Oct 2023 19:23:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2732A2BC015 for ; Fri, 13 Oct 2023 19:23:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F075D335C31 for ; Fri, 13 Oct 2023 19:23:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4395B1185 for ; Fri, 13 Oct 2023 19:23:40 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1697225006.02e9ca1ececf99d8a6afd8513be9907acd22c327.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/gnuserv/files/, app-emacs/gnuserv/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/gnuserv/files/gnuserv-3.12.8-no-custom.patch app-emacs/gnuserv/gnuserv-3.12.8-r7.ebuild X-VCS-Directories: app-emacs/gnuserv/ app-emacs/gnuserv/files/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 02e9ca1ececf99d8a6afd8513be9907acd22c327 X-VCS-Branch: master Date: Fri, 13 Oct 2023 19:23:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 53976469-a815-4704-b109-19c28f7b4c6d X-Archives-Hash: 0cad046bdf502020507ee536dfb9252f commit: 02e9ca1ececf99d8a6afd8513be9907acd22c327 Author: Ulrich Müller gentoo org> AuthorDate: Fri Oct 13 19:22:08 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Oct 13 19:23:26 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02e9ca1e app-emacs/gnuserv: Drop obsolete elisp code Signed-off-by: Ulrich Müller gentoo.org> .../gnuserv/files/gnuserv-3.12.8-no-custom.patch | 31 ++++++++++++++++++++++ app-emacs/gnuserv/gnuserv-3.12.8-r7.ebuild | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/app-emacs/gnuserv/files/gnuserv-3.12.8-no-custom.patch b/app-emacs/gnuserv/files/gnuserv-3.12.8-no-custom.patch new file mode 100644 index 000000000000..12cd31c16c0e --- /dev/null +++ b/app-emacs/gnuserv/files/gnuserv-3.12.8-no-custom.patch @@ -0,0 +1,31 @@ +Old-style backquotes don't work with Emacs 27 or later. Remove the +code altogether, because it is no longer needed since Emacs 20.1. + +--- gnuserv-3.12.8/gnuserv-compat.el ++++ gnuserv-3.12.8/gnuserv-compat.el +@@ -180,25 +180,6 @@ + (defun frame-totally-visible-p (frame) + (eq t (frame-visible-p frame)))) + +-;; Make custom stuff work even without customize +-;; Courtesy of Hrvoje Niksic +-;; via Ronan Waide . +-(eval-and-compile +- (condition-case () +- (require 'custom) +- (error nil)) +- (if (and (featurep 'custom) (fboundp 'custom-declare-variable)) +- nil ;; We've got what we needed +- ;; We have the old custom-library, hack around it! +- (defmacro defgroup (&rest args) +- nil) +- (defmacro defcustom (var value doc &rest args) +- (` (defvar (, var) (, value) (, doc)))) +- (defmacro defface (var value doc &rest args) +- (` (make-face (, var)))) +- (defmacro define-widget (&rest args) +- nil))) +- + ;; Now for gnuserv... + (require 'gnuserv) + diff --git a/app-emacs/gnuserv/gnuserv-3.12.8-r7.ebuild b/app-emacs/gnuserv/gnuserv-3.12.8-r7.ebuild index dd5eabd64a13..4cb5f7e12303 100644 --- a/app-emacs/gnuserv/gnuserv-3.12.8-r7.ebuild +++ b/app-emacs/gnuserv/gnuserv-3.12.8-r7.ebuild @@ -21,7 +21,7 @@ DEPEND="${RDEPEND} gui? ( x11-base/xorg-proto )" PATCHES=( - "${FILESDIR}"/${P}-backquotes.patch + "${FILESDIR}"/${P}-no-custom.patch "${FILESDIR}"/${P}-process-query.patch "${FILESDIR}"/${P}-gnudoit.patch "${FILESDIR}"/${P}-emacs-28.patch