From 3c6eb07b808957ea5feffc4cb3b4c310a3e8d09f Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 4 Apr 2010 22:03:28 +0000 Subject: Fix a typo which would lead to a crash every time a dbus app was installed or uninstalled. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14018 df743ca5-7f9a-e211-a948-0013205c9059 --- devel/dbus/Makefile | 4 ++-- devel/dbus/files/patch-bus_dir-watch-kqueue.c | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 devel/dbus/files/patch-bus_dir-watch-kqueue.c (limited to 'devel') diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile index 82cc701fc..6120d448a 100644 --- a/devel/dbus/Makefile +++ b/devel/dbus/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/devel/dbus/Makefile,v 1.39 2010/03/16 19:33:10 mezz Exp $ +# $MCom: ports/devel/dbus/Makefile,v 1.40 2010/03/24 13:50:20 kwm Exp $ # PORTNAME= dbus PORTVERSION?= 1.2.24 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= devel gnome MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/ diff --git a/devel/dbus/files/patch-bus_dir-watch-kqueue.c b/devel/dbus/files/patch-bus_dir-watch-kqueue.c new file mode 100644 index 000000000..b65d9ab84 --- /dev/null +++ b/devel/dbus/files/patch-bus_dir-watch-kqueue.c @@ -0,0 +1,11 @@ +--- bus/dir-watch-kqueue.c.orig 2010-04-04 17:59:18.000000000 -0400 ++++ bus/dir-watch-kqueue.c 2010-04-04 17:59:55.000000000 -0400 +@@ -169,7 +169,7 @@ bus_set_watched_dirs (BusContext *contex + */ + for (i = 0; new_dirs[i]; i++) + { +- for (j = 0; i < num_fds; j++) ++ for (j = 0; j < num_fds; j++) + { + if (dirs[j] && strcmp (new_dirs[i], dirs[j]) == 0) + { -- cgit v1.2.3