From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0POdAtst+GMvTwAAbAwnHQ (envelope-from ) for ; Fri, 24 Feb 2023 04:24:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AHubAtst+GN43wAA9RJhRA (envelope-from ) for ; Fri, 24 Feb 2023 04:24:11 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CCB1827CCA for ; Fri, 24 Feb 2023 04:24:10 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=eilwiDhU; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=ypfa5QMa; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677209050; a=rsa-sha256; cv=none; b=it3mCEShPL+DvXKPanYnOIpTpjiaX8j7KHmLCHUuYECpzajVaaRovo2Cw+syQVrBUpjm19 kmmQ7mvnEbMS5p7zSVLFpjIzO0VILG27igkDA+Y9giCD1rYVxdf97VFEXzzYhU4eZQX5f3 NzKxx6gTjyoOVkjog/au8Fqda7iTDwQAXJGv1xx+CcLgsxMWllZm2o2Ti9RgIVY84EeOfS LybGNkQZVwujo8JVgDhUYhRgHDyEI+bEECQk3I5bpTfJJ4DPSFRv4qpCOm+h3iZZ1xDpOG zMqa5jKVTi19sGji5pBOQ1khOLBJK/4DTQwynqOTktHX8Lbgep4vAojkAGThRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=eilwiDhU; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=ypfa5QMa; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677209050; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZB/LaOlCxwQm1QfZgFsuLwrqXoQjrwtvEjbj+W96XGE=; b=WzZSmLPjTKbQurYE8TowGN6lhlYh9XeTMhDTW1TvTHwMxYv8tqwkuckXBpCyyzgGe8S+52 8bGpv9sQtSZV3PU5iBdlZzZFcuvS0BMFTYqPzf7REi0/LFpvCy0JyqnkE0ZaMVic/E9z9W XRP2rIyGmWY9hQ3d6C20Fqx7Yfy7nRP/RrwKa/Ljiw92a2OMlVqjpNRYSgDjUYsTptWz/O ikgUOlP/vMdYbRl73mDFbudl6P3SKK3hEdjTjYqK7pju8qN2uPQhqaeYwfB3lo+FhwoOtI ZijWatnSNZS/ho/5TsQbgPgIPh+JMfXFmS+9YZG9NKZSL4/yvmNli2E3Rb3O6Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVOgr-0003H3-3d; Thu, 23 Feb 2023 22:24:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVOgl-0003G9-3Q for guix-patches@gnu.org; Thu, 23 Feb 2023 22:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVOgk-0006Bs-Ro for guix-patches@gnu.org; Thu, 23 Feb 2023 22:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVOgk-00051u-OK for guix-patches@gnu.org; Thu, 23 Feb 2023 22:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61745] [PATCH 5/5] gnu: Add 9yacc. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Feb 2023 03:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61745 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61745@debbugs.gnu.org Cc: Antero Mejr Received: via spool by 61745-submit@debbugs.gnu.org id=B61745.167720899119266 (code B ref 61745); Fri, 24 Feb 2023 03:24:02 +0000 Received: (at 61745) by debbugs.gnu.org; 24 Feb 2023 03:23:11 +0000 Received: from localhost ([127.0.0.1]:35725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVOfu-00050g-GO for submit@debbugs.gnu.org; Thu, 23 Feb 2023 22:23:10 -0500 Received: from mout-p-103.mailbox.org ([80.241.56.161]:33136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVOfs-00050G-QJ for 61745@debbugs.gnu.org; Thu, 23 Feb 2023 22:23:09 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4PNFZs1fbFz9sLy for <61745@debbugs.gnu.org>; Fri, 24 Feb 2023 04:23:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1677208981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZB/LaOlCxwQm1QfZgFsuLwrqXoQjrwtvEjbj+W96XGE=; b=eilwiDhUXjz7+59Z5K4CKpDYNOruI39ZNJWwimcPO0ryND10rfz4ftehDxuoacwXowRs+l yevV7iP7FNwB4qXz+wFDoIhux8fKipH9O0faL40cxpSgNrW7/aUa4/N8QoyORj426cZhUV DQyShXIljgOW1ogQMtq0afUwbZDjKBuJKwVmf162Ua7QC7eihxpTIj67lKUI+XR3jC/cCX Q5ShE7VtOdChsKW9U3c0uAq9vFbbTOa0R45YlM2oYGKbZustVCRNyj8YegaN2lNYrAK8hM t5yrSRBZ5VZO9JnHJqtPLO9S7CsWr0YnwxYQ4GDY51GDbu7zZqeYUCvUuIZxow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1677208979; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZB/LaOlCxwQm1QfZgFsuLwrqXoQjrwtvEjbj+W96XGE=; b=ypfa5QMa2fqwY7QeLPQj/VotIE1u6ZlqcO2TbiYGTij9GFy4lHse+hRooIF56QFAOGQDyb DrKdM+VH9/QVB/9aRApEtL5OSit9wVdQ0RuCq7f6RIDqCMzjl4FIPwUCy3aOq5dXV+8c3f 3yXxLjPBB/J4pQQtGIwBrYwCdMVowclnh2cJRQHWGZcbHWhuUMLn/nIhxuJISyaXxJ6vsC FlYemDX+ttZhPvfM3vY4ZWDj0jWg+O8Xxt/DsPASr5UQvZqi1O7LzB9MDhcr2SL78FDPsu rRXm34rk+Z+bt2odmI6B4c+l7v3B9XanPivZD5HN95a2S1vTmFhFNN7pOriIbQ== Date: Fri, 24 Feb 2023 03:22:20 +0000 Message-Id: <20230224032220.14820-5-antero@mailbox.org> In-Reply-To: <20230224032220.14820-1-antero@mailbox.org> References: <20230224032220.14820-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-META: nenwahz35g7bznam5cett5trrocsdh1e X-MBO-RS-ID: ed105b0ce2fa4903a21 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Antero Mejr X-Migadu-Queue-Id: CCB1827CCA X-Spam-Score: -4.07 X-Migadu-Spam-Score: -4.07 X-Migadu-Scanner: scn0.migadu.com X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: Ecv6Jd1Xqp6C * gnu/packages/suckless.scm (9yacc): New variable. --- gnu/packages/suckless.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 7f79e9d7e9..cfd70df027 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -1324,3 +1324,34 @@ (define-public lib9 It also contains the Plan 9 libbio, libregexp, libfmt and libutf libraries.") (license (list license:expat ;modifications license:lpl1.02))))) ;original plan9 code + +(define-public 9yacc + (package + (inherit lib9) + (name "9yacc") + (arguments + (substitute-keyword-arguments (package-arguments lib9) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'patch 'patch-for-9yacc + (lambda _ + (substitute* "yacc/yacc.c" + (("#9/yacc") + (string-append #$output "/lib"))) + (substitute* "config.mk" + (("^CFLAGS.*+=.*$") + (string-append "CFLAGS+=-O2 -g -c -DPLAN9PORT " + "-DPREFIX=\\\"" #$output "\\\"\n"))))) + (replace 'chdir + (lambda _ + (chdir "yacc"))) + (delete 'install-include) + (add-after 'install 'install-yaccpar + (lambda _ + (install-file "yaccpar" (string-append #$output "/lib")) + (install-file "yaccpars" (string-append #$output "/lib")))))))) + (inputs (list lib9)) + (synopsis "Port of Plan 9's yacc parser generator for Unix") + (description + "This package provides a ported version of the Plan 9 yacc parser +generator."))) -- 2.38.1