From patchwork Mon Oct 28 03:35:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 69578 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 5FF0427BBEA; Mon, 28 Oct 2024 04:43:13 +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=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,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 22D7727BBE2 for ; Mon, 28 Oct 2024 04:43:13 +0000 (GMT) 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?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Adam Faiz , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= 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 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/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