[arch-commits] Commit in tdlib/trunk (PKGBUILD no-stderr.patch)

Antonio Rojas arojas at gemini.archlinux.org
Thu Sep 8 14:15:04 UTC 2022


    Date: Thursday, September 8, 2022 @ 14:15:04
  Author: arojas
Revision: 1296858

upgpkg: tdlib 0.9.2-2: Remove debug output

Added:
  tdlib/trunk/no-stderr.patch
Modified:
  tdlib/trunk/PKGBUILD

-----------------+
 PKGBUILD        |    9 ++++++---
 no-stderr.patch |   13 +++++++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-08 14:05:32 UTC (rev 1296857)
+++ PKGBUILD	2022-09-08 14:15:04 UTC (rev 1296858)
@@ -2,7 +2,7 @@
 
 pkgname=tdlib
 pkgver=0.9.2
-pkgrel=1
+pkgrel=2
 _commit=e8ec9114377574f22ff4447cf29e66411b491b7e # No tags in upstream repo
 pkgdesc='Algorithms for computing tree decompositions of graphs'
 arch=(any)
@@ -10,11 +10,14 @@
 license=(GPL2)
 depends=()
 makedepends=(boost git)
-source=(git+https://github.com/freetdi/tdlib#commit=$_commit)
-sha256sums=('SKIP')
+source=(git+https://github.com/freetdi/tdlib#commit=$_commit
+        no-stderr.patch)
+sha256sums=('SKIP'
+            '361471a81d187978a8a1a86c2893f3db3706c17ca9fb50eac8e6f22296626737')
 
 prepare() {
   cd $pkgname
+  patch -p1 -i ../no-stderr.patch # Remove debug output
   ./bootstrap
 }
 

Added: no-stderr.patch
===================================================================
--- no-stderr.patch	                        (rev 0)
+++ no-stderr.patch	2022-09-08 14:15:04 UTC (rev 1296858)
@@ -0,0 +1,13 @@
+diff --git a/src/exact_cutset.hpp b/src/exact_cutset.hpp
+index 782bb96..4929730 100755
+--- a/src/exact_cutset.hpp
++++ b/src/exact_cutset.hpp
+@@ -994,7 +994,7 @@ bool exact_cutset<G_t, config>::try_it(T_t &T, unsigned bagsize)
+     }else{
+      //   incomplete(); //no//
+      // messes up random tests, send to cerr instead
+-        std::cerr << "incomplete ../../src/exact_cutset.hpp:978:try_it\n";
++//         std::cerr << "incomplete ../../src/exact_cutset.hpp:978:try_it\n";
+     }
+ 
+     typename boost::graph_traits<G_t>::vertex_iterator vIt, vEnd;



More information about the arch-commits mailing list