[arch-commits] Commit in igraph/trunk (PKGBUILD igraph-fix-symbol.patch)

Antonio Rojas arojas at archlinux.org
Fri Feb 26 11:04:12 UTC 2021


    Date: Friday, February 26, 2021 @ 11:04:12
  Author: arojas
Revision: 874379

Fix missing symbol

Added:
  igraph/trunk/igraph-fix-symbol.patch
Modified:
  igraph/trunk/PKGBUILD

-------------------------+
 PKGBUILD                |   12 +++++++++---
 igraph-fix-symbol.patch |   12 ++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-26 10:21:41 UTC (rev 874378)
+++ PKGBUILD	2021-02-26 11:04:12 UTC (rev 874379)
@@ -4,7 +4,7 @@
 
 pkgname=igraph
 pkgver=0.9.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A library for creating and manipulating (un)directed graphs."
 arch=(x86_64)
 url="https://igraph.org/c/"
@@ -11,9 +11,15 @@
 license=(GPL2)
 depends=(glpk arpack libxml2 suitesparse)
 makedepends=(cmake)
-source=("https://github.com/igraph/igraph/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('012e5d5a50420420588c33ec114c6b3000ccde544db3f25c282c1931c462ad7a')
+source=("https://github.com/igraph/igraph/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
+         igraph-fix-symbol.patch)
+sha256sums=('012e5d5a50420420588c33ec114c6b3000ccde544db3f25c282c1931c462ad7a'
+            '977d9b996746b82d347567b7d069f241833dd95f8b80aec39674cc0e1164eb40')
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < igraph-fix-symbol.patch # Fix missing igraph_subcomponent symbol https://github.com/igraph/igraph/pull/1705
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \

Added: igraph-fix-symbol.patch
===================================================================
--- igraph-fix-symbol.patch	                        (rev 0)
+++ igraph-fix-symbol.patch	2021-02-26 11:04:12 UTC (rev 874379)
@@ -0,0 +1,12 @@
+diff --git a/src/connectivity/components.c b/src/connectivity/components.c
+index 71ff01621..bae3d4dad 100644
+--- a/src/connectivity/components.c
++++ b/src/connectivity/components.c
+@@ -30,6 +30,7 @@
+ #include "igraph_operators.h"
+ #include "igraph_progress.h"
+ #include "igraph_stack.h"
++#include "igraph_structural.h"
+ #include "igraph_vector.h"
+ 
+ #include "core/interruption.h"



More information about the arch-commits mailing list