From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qDAKGGEWH2e3HgAAe85BDQ:P1 (envelope-from ) for ; Mon, 28 Oct 2024 04:43:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qDAKGGEWH2e3HgAAe85BDQ (envelope-from ) for ; Mon, 28 Oct 2024 05:43:13 +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=lFYjsJby; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ZjNM+Fgt; 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=1730090593; 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=evrV9cZCaO6jn2OlbpnV2f3btrUKzAEfD58INIu7+co=; b=oioAbFyfUWi6MMhmruzFrN/KWezCeQBacUTxxHffacLCuw+hrtdANGKUne/IUJqFQ9syU9 irUc5Np6lt/OsR0FNn3E0wD88IzodlF3TH3GUa+EBhTXgIkVW+0BLdSTn0EJg6NsPXAsrt N1vCmsadzJaw8frztiYl4VF7YXZjuT0qzjMIC1GVjFhkQ8/XEKvJfqELeI9yUqT1uBCqkX VUMc6SAsWQ67Llh/iPgh+eyMs3pVAhvj2lfTC/NMiNw4E7SUJkf3jUR5AN9Hg9+7PyyQgT 0L9oLuT23dw+H7hEXpFUGKqiaCORN91WktNcyb/pWa/aBXvBPQvi3DQrMNYrOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730090593; a=rsa-sha256; cv=none; b=R53QupDAx4GvBeDNzO7Umgl5zy91hg5nlGSS1MMMz69S9Z9nMGZJTPvxTlBvXsZLayP0Nr DQZ6246FzXJkX46Dw80VdjwwuO8iywR8QcmszUZilT55zXWhGQ5Z5v/RzQiDehsyeBemMz UA8beNc4nnfwH1CLI4+p1Iei2ykEv1K8/UVijgIl0vh04E5fcY/6d1X3AZ+++j3xtMpegD 6rk4LqlJFgh/nE1hDdnpIL40j5GuiRsTslftA/Dr8pbyEvPINaF4UYrSIoe5bgf8q3KHPp SxWyYcYXOy3MLpZ8Gzzqi2uPLg01KgUrncPXrg2L4rCOSxAeJSArxhAoQ4YPag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=lFYjsJby; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ZjNM+Fgt; 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) 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 31460C00 for ; Mon, 28 Oct 2024 05:43:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5HaL-0007tO-7u; Mon, 28 Oct 2024 00:42: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 1t5HaI-0007sR-HI for guix-patches@gnu.org; Mon, 28 Oct 2024 00:42: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 1t5HaH-00056I-7R for guix-patches@gnu.org; Mon, 28 Oct 2024 00:42:30 -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=evrV9cZCaO6jn2OlbpnV2f3btrUKzAEfD58INIu7+co=; b=lFYjsJbywjEitgYE/eLr+Gg/qLaNGhaWHtEKss9OsrnC9Zsw+3n1pQzrdDIdy67hYxKfANLDbIpYFvhgi0S2AOQmdKlkrBByEgHflZ4/nzsOMxGlT8TNa/8+Hh0glYZf2K9XBB3dcYnV5it5OXQ4z0/z90Ac1qsDgYzi+cl4utyWrkdyJM+68jiPm+YdB0q8v9xNlW9PK9ZA+glI9NRyRPQJs62fin87GO4TbUqdPcyj3luR+tWt7zZa6dUM8m7+vEEW59/zd2B1okgFxGsx+pG9zT3W9xu6+SGcURO61T/vbqXQCsTSA+OeSjQRrhX1s+1rrMyp9v7rumIHmA80iw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5Hap-0006Li-FH; Mon, 28 Oct 2024 00:43:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74054] [PATCH 2/3] gnu: plib: Build with -fPIC. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: adam.faiz@disroot.org, liliana.prikler@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Mon, 28 Oct 2024 04:43:03 +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 , Adam Faiz , Liliana Marie Prikler , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-Xcc: 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.173009057924381 (code B ref 74054); Mon, 28 Oct 2024 04:43:03 +0000 Received: (at 74054) by debbugs.gnu.org; 28 Oct 2024 04:42:59 +0000 Received: from localhost ([127.0.0.1]:50394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5Hak-0006LA-P2 for submit@debbugs.gnu.org; Mon, 28 Oct 2024 00:42:59 -0400 Received: from mail-pl1-f176.google.com ([209.85.214.176]:61914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5Hae-0006KL-B2 for 74054@debbugs.gnu.org; Mon, 28 Oct 2024 00:42:52 -0400 Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-20cb89a4e4cso25331045ad.3 for <74054@debbugs.gnu.org>; Sun, 27 Oct 2024 21:42:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730090470; x=1730695270; 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=evrV9cZCaO6jn2OlbpnV2f3btrUKzAEfD58INIu7+co=; b=ZjNM+Fgtck02cUTGpRatOa5w24CIeBUQ+pjFyg7e6nuX6W03B64u02209YO1j3+gQw JSc4AY1k1F1xFIdwglCl6qi4iRBfmCYPw78pxgc9FFG0Gf1xzSYGqWzKVIvAPZWUp1lR j1RvU0kjX/oarqlKtHb828CAMtOrq2vLjM7NffylPzXRu0ADiHw+1QvdMnhFfBxRu8hk XolpzSaEYloGKEonJNIXbESn9zMYZY7BMFuedXR9z2lnpYpOmx7SGfKiVF4EkYMlkTf8 rWTNm/q0CPWFux7gIbLKORVpCPb9oYVn96xiKap6cTNAY02+Ne6PluzGU3+g0ri02ETQ t/6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730090470; x=1730695270; 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=evrV9cZCaO6jn2OlbpnV2f3btrUKzAEfD58INIu7+co=; b=ug8WRJLJ8Vykye+7vBTwzNAgMY0RpivCIQZjZibtpTPgDzr8f4dx9w0u/5+cm1JJDz jwSVkn/e+HPHJQNnf3q1gxyXBOeY5BCl9JN64rE9gL448VaNgwSlrPulCQoPzsEzoISL YDwl14PqIWFGVSxrXEgYEKULw4U7rxBuFcavBqcgR16jVYL5l6vDKvM1AgbiBmnrtDpx SbdJsy3MUG7FoMkxPUNXytNhBJhvjaPVhj2wfVY9wU4ttnPndXmcZK3Y/nC4d/PQPCtO XcYDeG+WMvtgoLNCVWrclZgsZfPGVhxG9rUDNvrYV7z2M6rPOwaOUs0L5tIX2x71A02O fyKQ== X-Gm-Message-State: AOJu0YzDbCMAb1ttud1LBaQ1JrzhVkkJ9b6pmqN3V4Z3ZQ9WD/OQWqbH frOar60bY2oivMNaKXK/U9YM87lW/yPf4A1QMT2ht4ldV5em2wbkeqC1jw== X-Google-Smtp-Source: AGHT+IEbxyb75/jplTD3NhFDPjSctNhgaZT9peenWaKKiZcyCbOz0gzDzLhKETkElG0jxInQn+LCVg== X-Received: by 2002:a17:902:e547:b0:20c:d5c5:4039 with SMTP id d9443c01a7336-210c687a03bmr97068525ad.10.1730090469939; Sun, 27 Oct 2024 21:41:09 -0700 (PDT) Received: from localhost.localdomain ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-210bbf702f1sm42612985ad.105.2024.10.27.21.41.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2024 21:41:09 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 28 Oct 2024 12:35:16 +0900 Message-ID: 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: 2.10 X-Spam-Score: 2.10 X-Migadu-Queue-Id: 31460C00 X-Migadu-Scanner: mx13.migadu.com X-TUID: Uo+51bgL+6F9 * 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 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