[arch-commits] Commit in bmon/trunk (PKGBUILD bmon-assertion.patch)

Jaroslav Lichtblau jlichtblau at archlinux.org
Thu Feb 5 18:59:34 UTC 2015


    Date: Thursday, February 5, 2015 @ 19:59:34
  Author: jlichtblau
Revision: 127154

upgpkg: bmon 3.6-2

Added:
  bmon/trunk/bmon-assertion.patch
Modified:
  bmon/trunk/PKGBUILD

----------------------+
 PKGBUILD             |   14 +++++++++++---
 bmon-assertion.patch |    7 +++++++
 2 files changed, 18 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-05 18:13:09 UTC (rev 127153)
+++ PKGBUILD	2015-02-05 18:59:34 UTC (rev 127154)
@@ -3,7 +3,7 @@
 
 pkgname=bmon
 pkgver=3.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Portable bandwidth monitor and rate estimator"
 arch=('i686' 'x86_64')
 url="http://github.com/tgraf/bmon/"
@@ -10,9 +10,17 @@
 license=('MIT' 'BSD')
 depends=('ncurses' 'libnl' 'confuse')
 makedepends=('autoconf')
-source=(http://github.com/tgraf/$pkgname/archive/v$pkgver.tar.gz)
-sha256sums=('7d9d9b5af751cb61e267b43309506f03e82636282742fce89209f2378ae6a4b1')
+source=(http://github.com/tgraf/$pkgname/archive/v$pkgver.tar.gz
+        bmon-assertion.patch)
+sha256sums=('7d9d9b5af751cb61e267b43309506f03e82636282742fce89209f2378ae6a4b1'
+            'b97843e0ad7ea3d12570b37654a6f597e61324887db4aefb10b368e998f1baa0')
 
+prepare() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  patch -Np0 -i "${srcdir}"/bmon-assertion.patch
+}
+
 build() {
   cd "${srcdir}"/$pkgname-$pkgver
 

Added: bmon-assertion.patch
===================================================================
--- bmon-assertion.patch	                        (rev 0)
+++ bmon-assertion.patch	2015-02-05 18:59:34 UTC (rev 127154)
@@ -0,0 +1,7 @@
+--- src/bmon.c.old	2014-11-22 13:33:24.000000000 +0100
++++ src/bmon.c	2015-02-05 19:56:39.791716556 +0100
+@@ -222,3 +222,3 @@
+ 			case 'a':
+-				cfg_setint(cfg, "show_all", 1);
++				cfg_setbool(cfg, "show_all", cfg_true);
+ 				break;



More information about the arch-commits mailing list