[arch-commits] Commit in bliss-graphs/trunk (PKGBUILD digraph_heuristic.patch)

Antonio Rojas arojas at archlinux.org
Mon Jul 27 14:09:18 UTC 2015


    Date: Monday, July 27, 2015 @ 16:09:18
  Author: arojas
Revision: 137503

Fix splitting heuristics for digraphs

Added:
  bliss-graphs/trunk/digraph_heuristic.patch
Modified:
  bliss-graphs/trunk/PKGBUILD

-------------------------+
 PKGBUILD                |   15 +++++++++++----
 digraph_heuristic.patch |   12 ++++++++++++
 2 files changed, 23 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-27 11:42:04 UTC (rev 137502)
+++ PKGBUILD	2015-07-27 14:09:18 UTC (rev 137503)
@@ -3,15 +3,22 @@
 
 pkgname=bliss-graphs
 pkgver=0.72
-pkgrel=1
+pkgrel=2
 pkgdesc="A library for computing automorphism groups and canonical forms of graphs"
 arch=(i686 x86_64)
 url="http://www.tcs.tkk.fi/Software/bliss/index.html"
 license=(GPL3)
-depends=(glibc)
-source=("http://www.tcs.hut.fi/Software/bliss/bliss-$pkgver.zip")
-md5sums=('6f0e114944fa0863870b7f631850abb2')
+depends=(gcc-libs)
+source=("http://www.tcs.hut.fi/Software/bliss/bliss-$pkgver.zip" 'digraph_heuristic.patch')
+md5sums=('6f0e114944fa0863870b7f631850abb2'
+         '242e9ffffff299178681a211c417c2db')
 
+prepare() {
+  cd bliss-$pkgver
+# Fix splitting heuristics for digraphs
+  patch -p1 -i ../digraph_heuristic.patch
+}
+
 build() {
   cd bliss-$pkgver
 

Added: digraph_heuristic.patch
===================================================================
--- digraph_heuristic.patch	                        (rev 0)
+++ digraph_heuristic.patch	2015-07-27 14:09:18 UTC (rev 137503)
@@ -0,0 +1,12 @@
+--- bliss-0.72/graph.hh	2011-05-12 15:29:46.000000000 +0200
++++ /home/azi/bliss-0.72/graph.hh	2014-12-30 11:14:20.917059666 +0100
+@@ -843,7 +843,7 @@
+   bool is_equitable() const;
+ 
+   /* Splitting heuristics, documented in more detail in the cc-file. */
+-  SplittingHeuristic sh;
++  SplittingHeuristic sh = shs_f;
+   Partition::Cell* find_next_cell_to_be_splitted(Partition::Cell *cell);
+   Partition::Cell* sh_first();
+   Partition::Cell* sh_first_smallest();
+



More information about the arch-commits mailing list