From patchwork Mon Mar 18 18:02:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dan X-Patchwork-Id: 61927 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B25DE27BBEB; Mon, 18 Mar 2024 19:46:59 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CA86927BBE2 for ; Mon, 18 Mar 2024 19:46:54 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmIwf-00087H-RD; Mon, 18 Mar 2024 15:46:53 -0400 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 1rmIwG-0007xI-M8 for guix-patches@gnu.org; Mon, 18 Mar 2024 15:46:37 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmIwD-0003Qr-6O for guix-patches@gnu.org; Mon, 18 Mar 2024 15:46:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmIwp-0004IK-Cv for guix-patches@gnu.org; Mon, 18 Mar 2024 15:47:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69878] [PATCH] gnu: ccid: Fix cross-compilation. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Mar 2024 19:47:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69878 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69878@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171079118516415 (code B ref -1); Mon, 18 Mar 2024 19:47:03 +0000 Received: (at submit) by debbugs.gnu.org; 18 Mar 2024 19:46:25 +0000 Received: from localhost ([127.0.0.1]:40331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmIwA-0004Gc-0x for submit@debbugs.gnu.org; Mon, 18 Mar 2024 15:46:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:45302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmIw5-0004CN-Nd for submit@debbugs.gnu.org; Mon, 18 Mar 2024 15:46:21 -0400 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 1rmHKI-0005QW-NH for guix-patches@gnu.org; Mon, 18 Mar 2024 14:03:10 -0400 Received: from fhigh2-smtp.messagingengine.com ([103.168.172.153]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmHKF-0008Fq-Cp for guix-patches@gnu.org; Mon, 18 Mar 2024 14:03:09 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id BB2E411400D6 for ; Mon, 18 Mar 2024 14:03:05 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 18 Mar 2024 14:03:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm3; t=1710784985; x=1710871385; bh=NLC3Q3HpjR/UDVKRNjCJD 7MfzpBtbJP/1ZdhSqjvaHI=; b=lkjXDIFsBFy9oiR8CkgKi7xQHrUw8Yv2DdB1o Wl/DaWAsMQVetKl0r4ZPzciY04pznE5XSStRgRgcYSfFJOzg0p4XrUkdcgcwkliC 3uA2/sSZBbMO/Gf97B9EFzLmRY5a0muVZ9SFL3TMTIoHTv9GMfNv2aVphB8yLqE/ G7AVL+N12JRAJIkR3uRiMmPHzTclAQEPj8qw71F1r9xNJ65p4bdO8d44yJ7DLsGR wZYzbJ0h1DnxXpymrLTgWhjjW6NlXTsnXAmhQ1ZYyDkPPbLquruY0GHjFnwNdhZi OAlamNIC0loL68ZQNqCVQM2//ugBmVI0uiBuZcp2wCb1iuX2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1710784985; x=1710871385; bh=NLC3Q3HpjR/UDVKRNjCJD7MfzpBt bJP/1ZdhSqjvaHI=; b=be348/LnelO0AgdfeLZVxyiVesNrd5FNiiYfmn7aX6xW WR+ryGpoWztt5iWMDSBEj08P1GEumeY+aagAFtWmwYYKl4beYtgBmf4G/QunD0cL G/k2DGTb5usf3ubfoeheCBZTRu6JalyLqyfaIet7tD/2/wvlpJSlpfQVjdcCER9H hJ1//sYV0/mnfrjUwW0Yhxh4HL6jiWu7R+dsu45cfYjtGE+qYQnkaTb3SFKJ/17L ZXjWldaeJhsIBhrra/bwwhOxp7DwpnXhCiJGsZ3GKGzr7iHeCYKKmEZty3lSmmt0 P7q5vpRUk7QkVb8ese1b7XKawW4eeP26AMmhcelrgQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrkeejgddutdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepuggrnhcuoehisegurghnrdhgrghmvghsqeenucggtffrrghtthgv rhhnpeekgfdtvdefheeuueefieevffegtdekfeduhfduffefhefghedtjeejleekffeuke enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehisegu rghnrdhgrghmvghs X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 18 Mar 2024 14:03:03 -0400 (EDT) From: dan Date: Tue, 19 Mar 2024 02:02:44 +0800 Message-ID: <28a64f927ddb1ce8ae195b82a0254e8f4966ce49.1710784940.git.i@dan.games> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=103.168.172.153; envelope-from=i@dan.games; helo=fhigh2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/security-token.scm (ccid): Fix cross-compilation. Change-Id: I15c96a57e155742f5a2a8394402ae0fb0563f663 --- gnu/packages/security-token.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) base-commit: c8556379c3f2d3d095a178858915720f2eebc012 diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index a1fc058db8..372777c17b 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -105,10 +105,13 @@ (define-public ccid "06bjdswbwcwndsn23rsdhz5a7xqsgb66glqnk9lqzd7qws3l94qk")))) (build-system gnu-build-system) (arguments - `(#:configure-flags (list (string-append "--enable-usbdropdir=" %output - "/pcsc/drivers")) + (list + #:configure-flags + #~(list (string-append "--enable-usbdropdir=" + #$output + "/pcsc/drivers")) #:phases - (modify-phases %standard-phases + #~(modify-phases %standard-phases (add-after 'unpack 'patch-Makefile (lambda _ (substitute* "src/Makefile.in"