Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] linbox: fix broken linbox.pc
@ 2021-11-26  1:44 tornaria
  2021-11-26  1:49 ` [PR PATCH] [Merged]: " ericonr
  0 siblings, 1 reply; 2+ messages in thread
From: tornaria @ 2021-11-26  1:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

There is a new pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages linbox
https://github.com/void-linux/void-packages/pull/34247

linbox: fix broken linbox.pc
Current linbox.pc contains this line:
```
Libs: -L${libdir} -llinbox @LINBOXSAGE_LIBS@      
```
Which breaks programs trying to use linbox, for instance, this is necessary to use system linbox with sagemath.

A patch file from https://github.com/void-linux/void-packages/pull/34247.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-linbox-34247.patch --]
[-- Type: text/x-diff, Size: 2141 bytes --]

From 1a6adec7223d9fa0c5514a6d7a10147a27db6da6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 25 Nov 2021 22:39:54 -0300
Subject: [PATCH] linbox: fix broken linbox.pc

---
 .../remove-linboxsage-libs-from-pc.patch      | 23 +++++++++++++++++++
 srcpkgs/linbox/template                       |  2 +-
 2 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/linbox/patches/remove-linboxsage-libs-from-pc.patch

diff --git a/srcpkgs/linbox/patches/remove-linboxsage-libs-from-pc.patch b/srcpkgs/linbox/patches/remove-linboxsage-libs-from-pc.patch
new file mode 100644
index 000000000000..c93915fb1b06
--- /dev/null
+++ b/srcpkgs/linbox/patches/remove-linboxsage-libs-from-pc.patch
@@ -0,0 +1,23 @@
+Backported from:
+
+From 426eb97ba762c7663884f57ead0909f2aa3cd6a5 Mon Sep 17 00:00:00 2001
+From: Cyril Bouvier <cyril.bouvier@lirmm.fr>
+Date: Thu, 17 Jan 2019 16:32:19 +0100
+Subject: [PATCH] Remove @LINBOXSAGE_LIBS@ from linbox.pc.in
+
+---
+ linbox.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/linbox.pc.in b/linbox.pc.in
+index 278f127e4..c6b8091eb 100644
+--- a/linbox.pc.in
++++ b/linbox.pc.in
+@@ -9,6 +9,6 @@ Description: Exact Linear Algebra library
+ URL: http://github.com/linbox-team/linbox
+ Version: @VERSION@
+ Requires: fflas-ffpack >= 2.4.0, givaro >= 4.1.0
+-Libs: -L${libdir} -llinbox @LINBOXSAGE_LIBS@ @NTL_LIBS@ @MPFR_LIBS@ @FPLLL_LIBS@ @IML_LIBS@ @FLINT_LIBS@ @OCL_LIBS@
++Libs: -L${libdir} -llinbox @NTL_LIBS@ @MPFR_LIBS@ @FPLLL_LIBS@ @IML_LIBS@ @FLINT_LIBS@ @OCL_LIBS@
+ Cflags: @DEFAULT_CFLAGS@ -DDISABLE_COMMENTATOR -I${includedir} @NTL_CFLAGS@ @MPFR_CFLAGS@ @FPLLL_CFLAGS@  @IML_CFLAGS@ @FLINT_CFLAGS@ 
+ \-------------------------------------------------------
diff --git a/srcpkgs/linbox/template b/srcpkgs/linbox/template
index 3ea51f5dcce1..096a15b3390b 100644
--- a/srcpkgs/linbox/template
+++ b/srcpkgs/linbox/template
@@ -1,7 +1,7 @@
 # Template file for 'linbox'
 pkgname=linbox
 version=1.6.3
-revision=1
+revision=2
 build_style=gnu-configure
 hostmakedepends="pkg-config"
 makedepends="fflas-ffpack"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: linbox: fix broken linbox.pc
  2021-11-26  1:44 [PR PATCH] linbox: fix broken linbox.pc tornaria
@ 2021-11-26  1:49 ` ericonr
  0 siblings, 0 replies; 2+ messages in thread
From: ericonr @ 2021-11-26  1:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

There's a merged pull request on the void-packages repository

linbox: fix broken linbox.pc
https://github.com/void-linux/void-packages/pull/34247

Description:
Current linbox.pc contains this line:
```
Libs: -L${libdir} -llinbox @LINBOXSAGE_LIBS@      
```
Which breaks programs trying to use linbox, for instance, this is necessary to use system linbox with sagemath.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-26  1:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-26  1:44 [PR PATCH] linbox: fix broken linbox.pc tornaria
2021-11-26  1:49 ` [PR PATCH] [Merged]: " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).