From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CBSSGiUvH2f4oAAAqHPOHw:P1 (envelope-from ) for ; Mon, 28 Oct 2024 06:28:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CBSSGiUvH2f4oAAAqHPOHw (envelope-from ) for ; Mon, 28 Oct 2024 07:28:53 +0100 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=kF4r8Ity; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ATJhKy67; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730096933; a=rsa-sha256; cv=none; b=fUT5FIzIl0vsfoq/DT/vpmrWHo8UmCW+nZfoHz5Fsm0bXhix3JDAV8KicJR6TGM64odSMA 2DclbhFJXll7lmgZ5u4zATye5pzrNrNpvGNdo8WcGr22v63eYY7X5QQxDxrEjInuGSGpgW CSksJIcVmChCz7zVkYQ7d+bzlutzImVYNoVS4g7B3Szjl7UrDYdFDi1LcplX7PGPPZvKHy N+nnbnE1XDIn0yXz5sXjtBQMY8VqT/steYnzLlA7lsMHrtcuyVKsmqP0GcQbiRIAW+u15G svzL6Gc6pYuuNXXFV70VF6b5HuUQssB3h5YZZRTeVJShaaIcsl/AS2GhcVjZGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=kF4r8Ity; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ATJhKy67; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730096933; 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=8rN0MnQ27ptl1Vf8X1aJBF0oQZplqkePMRo3i2fqpf8=; b=RHU9FfF+nIL1K8fui6C+UaVdJROOTzREQ1WjAu4CyMvwyaAEjLBYA6Q0uTZ5anch/RiJ8V TiL6UGlfTvpKrBEp2Ni9UcVTzQfWfqA9tUiLXd2mfgZtNuapfT10BbGPJXlhhtzt2gA+lJ H7fylKsDp9Mz/k3O7BtABMHH26liRmmvlodjSVv4O2A9gNZxFuByG8qpfhu9OQUXOTw0aF iIQhZG+J8CeroymyLAsQ6fYeOxv7xydPCUKK3Ni9kfdBnVaRZKhDq8gEGlYAOfO/o50G2m t9CvJ+BNzV5waDe1mtBlJ4x/FHUjIFAfMnzxZ8zNwoz2OHW9wSQ6g5YlOFxzfw== 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 7DD0E18CF2 for ; Mon, 28 Oct 2024 07:28:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5JEv-0005Xx-5K; Mon, 28 Oct 2024 02:28:33 -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 1t5JEs-0005XN-Cg for guix-patches@gnu.org; Mon, 28 Oct 2024 02:28:30 -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 1t5JEq-0006in-K4 for guix-patches@gnu.org; Mon, 28 Oct 2024 02:28:29 -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:References:In-Reply-To:Date:From:To:Subject; bh=8rN0MnQ27ptl1Vf8X1aJBF0oQZplqkePMRo3i2fqpf8=; b=kF4r8ItyzbulFOAH+SLaUZNfJGRSm+5ejiqzKQ5l92bRc/1pfp4erXFroZgjBIcRBNsKJF/HGnBfpkxgErLtNSxAOVoOWAbVQ390bkINtSOJhyk/zTa2MNgndPCcBiGOBz1rQDuHcprchsY5HQs1Lq7HMHDqRGA4fHT3oFFw2s4t38aOe45nwKYT2i+U9vfib+Cj4JzSHi4xpDYPdYoocMxKb+9BhcDU51xBOUhXX2YPkbASR7eEv3qcz/VvZRnwzPvz+7t14iW9klMsuCQQnKVO89yRLjk4y1ExasYxpFBs+WSuN/rZIeJ6IE7AlzpEMNTVJ2EOY9qi5XjAC0CYIA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5JFO-0003kQ-Ly; Mon, 28 Oct 2024 02:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74054] [PATCH v2 2/3] gnu: plib: Build with -fPIC. 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: Mon, 28 Oct 2024 06:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74054 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74054@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 74054-submit@debbugs.gnu.org id=B74054.173009690014304 (code B ref 74054); Mon, 28 Oct 2024 06:29:02 +0000 Received: (at 74054) by debbugs.gnu.org; 28 Oct 2024 06:28:20 +0000 Received: from localhost ([127.0.0.1]:51410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5JEh-0003ie-Mu for submit@debbugs.gnu.org; Mon, 28 Oct 2024 02:28:19 -0400 Received: from mail-ot1-f52.google.com ([209.85.210.52]:61700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5JEf-0003iJ-Dp for 74054@debbugs.gnu.org; Mon, 28 Oct 2024 02:28:17 -0400 Received: by mail-ot1-f52.google.com with SMTP id 46e09a7af769-7180dc76075so1978573a34.3 for <74054@debbugs.gnu.org>; Sun, 27 Oct 2024 23:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730096795; x=1730701595; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8rN0MnQ27ptl1Vf8X1aJBF0oQZplqkePMRo3i2fqpf8=; b=ATJhKy67PJiAlXRalbpRn3eg2X7KKToq6dTzRE7KJpda2k/6nmdcbXRtNZrOwt3yjn rGpMXvOikV0snhc4CDy2vsGOEdhwLCNu7KQFYXSqBXBPCgtaxEE1gY1A6XBecrU2/NEU SXfYv6dQbHgGVHqT8zlIV+fTbUk9KFB3U8Z8EKZ/NaR3jzb3Ogv6dlvLtnADWX62dCQP dd8frabQ8MP5NNqMfsyNcDg3cxGRGKXJa+yt3M3DhAaFi2U0l8vAka+ASL0toy6zYtXb RKqlm5idzo60EX+Gc/Cl71IbtaqnWfhHElhG+Qwl8a33szusHFQr61/5YEbMWwDFk4kn pYVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730096795; x=1730701595; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8rN0MnQ27ptl1Vf8X1aJBF0oQZplqkePMRo3i2fqpf8=; b=uXo5BwKxHQAQS+aJUFIJZ4iAvPbXVca4HZXQ1jZ5dT3FyaX1R8z6T+JOJuzf02mjfA roN9ngB+2ys9F/UjJr7Jeb4+Dn7exN9fZ/SJuckeZSY1LgPnpHuJ3t8dHAg71eIJKLWU pBofDNuNxv2Vh7rCwJpElrxGHdwUU/UT0+n5wIjArretqEbE/iCcCQPZ4txUhgaFV2j2 fH00LsAQLuBtujiKo9HdSdjtanZyOn5gkQCIybHIxpVJPkiGsvZSDgqVqSzkwxMrvVEA 4GzDjF1ACFEtENF3w+xFdpHmgoURe6LVh7Wq9meueYyRV6b3hdF+6qqxMazDXZoKIM+K pc3A== X-Gm-Message-State: AOJu0Yy2Da0eckMZ7mkHrV/JpmGH8ihMR1pNx1t9sFYPDqaOGqLhb5vq eqIn2iKAhzExXKZDNbxG13Cf9Idf5YbeL5oV0JlLFfGPtzcW4wsSQjHxu7BN X-Google-Smtp-Source: AGHT+IHENyp/AhEY3wBFso/LlH90Bxs7IRdP3MBluKqQ5x+HnG2fPi6c7RxNoeB1UAX9mPmfi2fzlQ== X-Received: by 2002:a05:6830:3688:b0:718:c42:48c3 with SMTP id 46e09a7af769-718682a137fmr6290680a34.32.1730096795510; Sun, 27 Oct 2024 23:26:35 -0700 (PDT) Received: from localhost.localdomain (vps-6234970c.vps.ovh.ca. [51.222.13.224]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72057a3fdf2sm4993850b3a.214.2024.10.27.23.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2024 23:26:35 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 28 Oct 2024 15:26:07 +0900 Message-ID: <50a1e682b5774829dbc1a9b0e625c69b38fd070a.1730096728.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.45 X-Spam-Score: 0.45 X-Migadu-Queue-Id: 7DD0E18CF2 X-Migadu-Scanner: mx12.migadu.com X-TUID: Kss5fUSZ6zcs * gnu/packages/game-development.scm (plib) [configure-flags]: New argument. [inputs]: Move field after... [native-inputs]: ... this one. Change-Id: Ieddfb8814632f74c98d0e2cda949709b718c7a0d --- (no changes since v1) 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 25cc021f6f..73ae3ef084 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -2573,10 +2573,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 -- 2.46.0