From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2EL5J8hvF2PpCQEAbAwnHQ (envelope-from ) for ; Tue, 06 Sep 2022 18:05:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yDgPJ8hvF2OFNQEAG6o9tA (envelope-from ) for ; Tue, 06 Sep 2022 18:05:28 +0200 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 2B6D63BE95 for ; Tue, 6 Sep 2022 18:05:28 +0200 (CEST) Received: from localhost ([::1]:43574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVb4m-0001Q8-BD for larch@yhetil.org; Tue, 06 Sep 2022 12:05:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVaeJ-0007iG-CY for guix-patches@gnu.org; Tue, 06 Sep 2022 11:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35428) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVaeJ-0007pU-3I for guix-patches@gnu.org; Tue, 06 Sep 2022 11:38:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVaeI-0006qh-VY for guix-patches@gnu.org; Tue, 06 Sep 2022 11:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57625] [PATCH 1/3] gnu: Add libgc-private-headers-for-pnet. References: <9d424667-868f-03f2-c521-8c10e106d6d3@disroot.org> In-Reply-To: <9d424667-868f-03f2-c521-8c10e106d6d3@disroot.org> Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Sep 2022 15:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57625 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57625@debbugs.gnu.org Received: via spool by 57625-submit@debbugs.gnu.org id=B57625.166247865126259 (code B ref 57625); Tue, 06 Sep 2022 15:38:02 +0000 Received: (at 57625) by debbugs.gnu.org; 6 Sep 2022 15:37:31 +0000 Received: from localhost ([127.0.0.1]:52358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVadn-0006pS-1l for submit@debbugs.gnu.org; Tue, 06 Sep 2022 11:37:31 -0400 Received: from knopi.disroot.org ([178.21.23.139]:38286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVadk-0006pH-I7 for 57625@debbugs.gnu.org; Tue, 06 Sep 2022 11:37:29 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id CC6C14A002 for <57625@debbugs.gnu.org>; Tue, 6 Sep 2022 17:37:26 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id sscrsEwymLNy for <57625@debbugs.gnu.org>; Tue, 6 Sep 2022 17:37:25 +0200 (CEST) Message-ID: <620a920f-c95a-ada1-714c-dc39fc95c5a9@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662478465; bh=f+IT0jusn+saamrkz/ZFDZEUyRpls6Lk5hWZUXfPqnc=; h=Date:To:From:Subject; b=TVBLHaZSUeE/z/ptCTkTqXknliBEL6oyB2TuuU7K0bZUIKBZzMf0KUnJu1HC9hAh8 WFn/VSOP5MiFC3h7XsCIMHd67ljTKlqD7ZtP1dl+DAdi0taOiptE6qwHRJXnQj9ZNx w/hv2VIfEv+bNXOiFuYhc0SX2rg/J2e+KlEGQsC0bkS/7uS89CKwV/+oTMT6XzhRTU wzSBU53W8hQ1tGUDe/E0hEdMPRG1XPsyWQn7RfE/3QOjRUtLOAacFLtwuaaBTcsTF+ Ld3P0n5P+Rij1VPRWmuQlW6em9nKCikeYgrjB7XfrdFicBp9a+ziXkXNWbg8lS9DGt g6L258gBE0j8g== Date: Tue, 6 Sep 2022 23:34:19 +0800 Mime-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 06 Sep 2022 12:04:31 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches From: Adam Faiz via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662480328; h=from:from:sender:sender:reply-to: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: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=kxUa8UGCpgYDltjFHnEmHzoG/Kj07N6pGp8WtSR2z0w=; b=T5oGyUFGIwI0Ln3nywEeaak/Q4Nb+nU+eqFP/gXAbyZi+Xcr1vVbL3nHYH1GoLdGOWij+5 pRjqIoMVJbaLeG3VA2yE4rlTf1tm1qcvUy0bH+KwtTgpXkAy0eVaQAAVRsT51YW70JOjA/ 6NWd2lVCcVdcw6z5bSD9Nb437hXotvnYEOxIuns+hPkHp56UfnqatchkK8n/jv9M65lPvc YJsQQj220QUGZRTB2yugHOIKwNU3Sxyu5/yIcB3NrC704w+gb+cBmqufqOOy0gv7JFndhE BA0hjybRcbqCreGewOMK+lsvZfsfEf4wf8FPucdOCKyMT0fCpBzk1mQFsWzTXw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662480328; a=rsa-sha256; cv=none; b=a0TThWX9x4f4FTmsoa5Wcn4I1GBrvAsFEeeel3eQi5O+XjM+MmvxeHdMZkpdvvL9qd9cJi lwSAvfiXdaTPCbGv9AZc10i5NZ49HOXBhmqIpQg64NAvA3e92XD8fu6FqCZT3bmdVyuSPN vk6FBRq4X9tbV92ffLxwT62CVcn5LlzACSQsbbUdRDhTaFBsW9x6DpFwac26ek3XlBDP40 T9ZkjptZTqgzvJSqj8FibLIa+zf29mLDMF9aSBF55OEHNwYuivdovrAZ6uPyAHoJdIrlXH W+g0r+DWJ448mQvGVB4Abm/LQJg1hsSrZDDzgcijNF4VZqFzBMSKeNWur/aPng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=TVBLHaZS; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -2.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=TVBLHaZS; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 2B6D63BE95 X-Spam-Score: -2.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: I6+2SmCDmlaL From feec1f999877de9ae411653c76bbf144cc6c7b2d Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Tue, 6 Sep 2022 14:08:33 +0800 Subject: [PATCH 1/3] gnu: Add libgc-private-headers-for-pnet. * gnu/packages/bdw-gc.scm (libgc-private-headers-for-pnet): New private variable. --- gnu/packages/bdw-gc.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm index 268f0703b8..3bf2a8f2f6 100644 --- a/gnu/packages/bdw-gc.scm +++ b/gnu/packages/bdw-gc.scm @@ -26,6 +26,7 @@ (define-module (gnu packages bdw-gc) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix utils) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (gnu packages pkg-config) #:use-module (gnu packages hurd)) @@ -122,6 +123,41 @@ (define-public libgc/back-pointers ,@(package-arguments libgc))) (synopsis "The BDW garbage collector, with back-pointer tracking"))) +(define-public libgc-private-headers-for-pnet + (hidden-package + (package + (name "libgc-private-headers") + (version (package-version libgc)) + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ivmai/bdwgc/releases" + "/download/v" version "/gc-" version ".tar.gz")) + (sha256 + (base32 + "1798rp3mcfkgs38ynkbg2p47bq59pisrc6mn0l20pb5iczf0ssj3")))) + (build-system copy-build-system) + (arguments + '(#:install-plan + '(("include/config.h.in" "include/private/config.h") + ("include/gc_tiny_fl.h" "include/private/gc_tiny_fl.h") + ("include/gc_mark.h" "include/private/gc_mark.h") + ("include/private/gcconfig.h" "include/private/gcconfig.h") + ("include/private/gc_hdrs.h" "include/private/gc_hdrs.h") + ("include/private/gc_atomic_ops.h" "include/private/gc_atomic_ops.h") + ("include/private/gc_locks.h" "include/private/gc_locks.h") + ("include/private/gc_priv.h" "include/private/gc_priv.h")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-includes + (lambda _ + (substitute* "include/private/gc_priv.h" + (("#include .*/gc_tiny_fl.h") "#include ") + (("#include .*/gc_mark.h") "#include "))))))) + (synopsis "Private headers of libgc for pnet") + (description "Private headers in libgc that are used in pnet.") + (home-page "https://www.hboehm.info/gc/") + (license (x11-style (string-append home-page "license.txt")))))) + (define-public libatomic-ops (package (name "libatomic-ops") base-commit: 9fa3e90789203109f6f86ab41b48c65f15451d4e -- 2.37.2