From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eO+VG6V5Gmf4+QAAqHPOHw:P1 (envelope-from ) for ; Thu, 24 Oct 2024 16:45:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id eO+VG6V5Gmf4+QAAqHPOHw (envelope-from ) for ; Thu, 24 Oct 2024 18:45:25 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=tnoUpCpk; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ONMcwDTX; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729788325; h=from:from:sender:sender: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=LJBbhN7AFVyIuUihWGbEas/PsxNZ+8dBCLtdlLGFbe0=; b=ft3C2WkDJzXvJz5b/W+uDpbWPDETHNn6qBxXE9K678kyU1kBupFKHOklpqYNFQxLQMTPdM B5MdZsGxfqGfzgirtKkJIAMMFvp9sTduhCe0GK4wXXzMBjJVUhjmiIWx/VTGN3xj0eoeWP CYtMejOfy4u+m1w4AkRMXeaq2siDd82UMzLTKnRfD7za7TWIe2BwkrshU7EOVHUNE89obz AazeOuDOubqS22cGkSBipszEvS5pROo7Dgb4sVVChpyisacKGorSOlywg1tV+fEIdVQ6DP 2iankvf/vby67DluWKPebNURYPOv4Wb6Zn4Zx/x8ZEFI/avpy8Qsso8mMcATDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=tnoUpCpk; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ONMcwDTX; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729788325; a=rsa-sha256; cv=none; b=HpOd4VdXhPh5kBvYYnrxOqtqcuGcW2V9+CBmMki8TP2N83lxYVSSRz5ZKKu3M01O4Zz7vn W0qce3AWTr5g/+QYWrHk3R80RY+N689uy28BtnoO0XXl2TNK6eqUj/KpB8tAxUd/VBoAMz sRPk/zh+JxKBZ+PvyRWJSAc4BiayDhTmclJj2UjhJ8C13YhSNmOPojY1FhWb09HHdEIEGj ZujuPXy2vkxGWXu1xdbqFEgzVYR3hBEZvn9Nk4hDE5aBY0xYgVvAmF5cFanXWfzozjSioM kI4kaIG664MfZiWAT4K3E/6DdMYCOv0CMR6hTgs9a8XoxBRbgifi8dd8wPbZyA== 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 1911287E90 for ; Thu, 24 Oct 2024 18:45:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t40LK-00060g-Bf; Thu, 24 Oct 2024 12:05:46 -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 1t40LD-00060E-6G for guix-patches@gnu.org; Thu, 24 Oct 2024 12:05:41 -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 1t40L6-0005DL-JJ for guix-patches@gnu.org; Thu, 24 Oct 2024 12:05:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=LJBbhN7AFVyIuUihWGbEas/PsxNZ+8dBCLtdlLGFbe0=; b=tnoUpCpk+PNkxw3tn2ADYFIJ4iSQa8VJ8V7kQiIt2Geco4Y9H9afco9Q2VKdftc6kJQVyWTXdwyNFv0Dba2V9P8j3s5XnUwOnvP316KFW/tNflnN95J2lVfafgUp3CKhNcVM100HAPoy5sJerTA1IOdFj51UqZcB0CnydK2BsWWrYCxqTnwICd+ZcPunCx4CxDepvXsZVV9nnaaRaUI6bRjLNJZPABaYcjUEH5c4d34dvhgQJnGx0G2hQEy7F92Xa2pxkqr8CCMkHBiCWjRAS1PAEBUgzRT7HKSU1+aqc+XaQ5CI4OZaoxnjCtPg4v1P7k7rbhy41s7NHSxfQHBGww==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t40La-0003Ce-IE; Thu, 24 Oct 2024 12:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73989] [PATCH 1/2] gnu: plib: Build with -fPIC. References: In-Reply-To: Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, adam.faiz@disroot.org, liliana.prikler@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Thu, 24 Oct 2024 16:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73989 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73989@debbugs.gnu.org Cc: Maxim Cournoyer , Maxim Cournoyer , Adam Faiz , Liliana Marie Prikler , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-Xcc: Maxim Cournoyer , Adam Faiz , Liliana Marie Prikler , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 73989-submit@debbugs.gnu.org id=B73989.172978595812295 (code B ref 73989); Thu, 24 Oct 2024 16:06:02 +0000 Received: (at 73989) by debbugs.gnu.org; 24 Oct 2024 16:05:58 +0000 Received: from localhost ([127.0.0.1]:35970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t40LV-0003CE-I9 for submit@debbugs.gnu.org; Thu, 24 Oct 2024 12:05:58 -0400 Received: from mail-pl1-f181.google.com ([209.85.214.181]:55738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t40LR-0003Bw-1g for 73989@debbugs.gnu.org; Thu, 24 Oct 2024 12:05:55 -0400 Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-20cbcd71012so10403755ad.3 for <73989@debbugs.gnu.org>; Thu, 24 Oct 2024 09:05:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729785860; x=1730390660; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=LJBbhN7AFVyIuUihWGbEas/PsxNZ+8dBCLtdlLGFbe0=; b=ONMcwDTXLhmMm9Ry/zrFXStK/EKoKMxyfM+UycVWr0/Y4kaP/3IU1VaIFZuS911Syd h8VYjm9MF2ZpIhfqnhWBfAa3IXMkYTuOwJ+0D4yLcxIjOPya1mgU2RE7Mg+Lyj9vV5RZ kvsv4JYAO3svIG/9TTbxpmNd+VqXAd2i02kHJ+KDjWvEkfQy2u0JAas2hZevdz2mk6Ob J75lO2aJLzm/oWTDfYzA9ZnXgVqy2bVgUdlT4U4Y2BjSk61zEf4d8v9TuVVFmSO/xcGP TbSh/2if1x6RHMFLAWr10XarLUN2PRao+PLCbAYQcUow/f6Tqt5o5zUiypmppQOd7Qr3 UNoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729785860; x=1730390660; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LJBbhN7AFVyIuUihWGbEas/PsxNZ+8dBCLtdlLGFbe0=; b=iaARG0zLOiBzjMPug/pgV4yqEScxnC86qIf3O7thICfQbIZUfzZBJwX3duaBsz2xwi O0a4TRHRXft/CnMBnBOBQ8yQLbQh4oolDrEKA54qHIndc/oStgq7FAjWKUqG5O2jpaTZ kmHDXKH0TwLoW0oxe1oCUDrAp4N2IrLHiV8CoBmp4KLREqQ8uudppdXTCQPnzqHvu3se xXGRYHyGzc/bfgjfBvr+2av8NoyUmWo6Xypzn9UVUmIRMJP9WMyEtKCxfhUTSMKn0OEE 16I8VtBrLbdj5zs5RIdd5+WfPlYygBPV3Tkpz8+RKMcpeDSCRyN7lLLe6XgyKSjOTv3s ka1Q== X-Gm-Message-State: AOJu0YwdcduSOhDlUDygDTOk0bTurprbks0yOuisjZRPeqza3SnbERQz 1F/uzROPtHkpl1UmjWHujCa0I+62d/wxUI0nJHrTyUEY2/RYgcT/om5peg== X-Google-Smtp-Source: AGHT+IFZXsTfT/kNgEZ1wCBqQ23o42DXtea3acB/yrn52J+w5jdbDW/NbwE1e5qnTM61krhYYxNwZQ== X-Received: by 2002:a17:902:e54a:b0:20c:8907:902 with SMTP id d9443c01a7336-20fa9eb5a9bmr84317765ad.49.1729785859749; Thu, 24 Oct 2024 09:04:19 -0700 (PDT) Received: from localhost.localdomain ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e7f0bd561sm74128375ad.179.2024.10.24.09.04.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 09:04:19 -0700 (PDT) From: Maxim Cournoyer Date: Fri, 25 Oct 2024 01:04:04 +0900 Message-ID: <08aef5dc3850e87fff8bc084facca2fee9b7b04b.1729785827.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 6.80 X-Spam-Score: 6.80 X-Migadu-Queue-Id: 1911287E90 X-TUID: J3gLsmM7Fpch * gnu/packages/game-development.scm (plib) [configure-flags]: New argument. [inputs]: Move field after... [native-inputs]: ... this one. Change-Id: Ieddfb8814632f74c98d0e2cda949709b718c7a0d --- gnu/packages/game-development.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index ee869c9cc5..7d2d47ce7b 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -2572,10 +2572,12 @@ (define-public plib (patches (search-patches "plib-CVE-2011-4620.patch" "plib-CVE-2012-4552.patch")))) (build-system gnu-build-system) - (inputs - (list mesa libxi libxmu)) - (native-inputs - (list pkg-config)) + ;; plib exists only as a static library, per the author's choice (see: + ;; https://sourceforge.net/p/plib/mailman/message/10289018/). Build it + ;; with PIC, so that shared programs can at least "link" to it. + (arguments (list #:configure-flags #~(list "CXXFLAGS=-fPIC"))) + (native-inputs (list autoconf automake pkg-config)) + (inputs (list mesa libxi libxmu)) (home-page "https://plib.sourceforge.net/") (synopsis "Suite of portable game libraries") (description "PLIB is a set of libraries that will permit programmers to base-commit: e4e1e16bc1b27684b55e6bf047f9f669e1a0c7b5 -- 2.46.0