From fbb766f1c3533da14ebd282c676bc4e8d7c7ad77 Mon Sep 17 00:00:00 2001 From: Wesley Shields Date: Wed, 9 Apr 2008 22:12:18 +0000 Subject: [PATCH] Pick up libdbi dependency and fix build with it. PR: ports/121650 Submitted by: Mel Approved by: garga (mentor), maintainer --- net/bmon/Makefile | 3 +++ net/bmon/files/patch-src__out_db.c | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 net/bmon/files/patch-src__out_db.c diff --git a/net/bmon/Makefile b/net/bmon/Makefile index 91190bf70174..cca9c0e9762e 100644 --- a/net/bmon/Makefile +++ b/net/bmon/Makefile @@ -7,12 +7,15 @@ PORTNAME= bmon PORTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://people.suug.ch/~tgr/bmon/files/ MAINTAINER= nistor@snickers.org COMMENT= Portable bandwidth monitor and rate estimator +LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi + GNU_CONFIGURE= YES USE_GMAKE= YES MAKEFILE= GNUmakefile diff --git a/net/bmon/files/patch-src__out_db.c b/net/bmon/files/patch-src__out_db.c new file mode 100644 index 000000000000..d7caa9d85ae9 --- /dev/null +++ b/net/bmon/files/patch-src__out_db.c @@ -0,0 +1,11 @@ +--- ./src/out_db.c.orig 2008-03-24 22:44:47.000000000 -0400 ++++ ./src/out_db.c 2008-03-24 22:45:03.000000000 -0400 +@@ -679,7 +679,7 @@ + .om_draw = db_draw, + .om_set_opts = db_set_opts, + .om_probe = db_probe, +- .om_shutdown db_shutdown, ++ .om_shutdown = db_shutdown, + }; + + static void __init db_init(void)