summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2004-08-24 17:29:56 +0000
committerMartin Schlemmer <azarah@gentoo.org>2004-08-24 17:29:56 +0000
commitebf92d150487df5db6319dbf67511cf565dc523b (patch)
treed5d67da752cdbec304822dbfcb08d67b5156874e
parentSources is using wrong DEFINE to check if INotify should be enabled. (Manifes... (diff)
downloadgentoo-2-ebf92d150487df5db6319dbf67511cf565dc523b.tar.gz
gentoo-2-ebf92d150487df5db6319dbf67511cf565dc523b.tar.bz2
gentoo-2-ebf92d150487df5db6319dbf67511cf565dc523b.zip
Only complain about failing to open inotify node if debug is enabled.
-rw-r--r--app-admin/gamin/ChangeLog6
-rw-r--r--app-admin/gamin/files/gamin-0.0.6-quiet-inotify-warning.patch11
-rw-r--r--app-admin/gamin/gamin-0.0.6-r2.ebuild4
3 files changed, 19 insertions, 2 deletions
diff --git a/app-admin/gamin/ChangeLog b/app-admin/gamin/ChangeLog
index 8470b1638421..c0047dcb1e1a 100644
--- a/app-admin/gamin/ChangeLog
+++ b/app-admin/gamin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/gamin
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gamin/ChangeLog,v 1.3 2004/08/24 17:21:43 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gamin/ChangeLog,v 1.4 2004/08/24 17:29:56 azarah Exp $
+
+ 24 Aug 2004; Martin Schlemmer <azarah@gentoo.org>
+ +files/gamin-0.0.6-quiet-inotify-warning.patch, gamin-0.0.6-r2.ebuild:
+ Only complain about failing to open inotify node if debug is enabled.
*gamin-0.0.6-r2 (24 Aug 2004)
diff --git a/app-admin/gamin/files/gamin-0.0.6-quiet-inotify-warning.patch b/app-admin/gamin/files/gamin-0.0.6-quiet-inotify-warning.patch
new file mode 100644
index 000000000000..ea8c5b6a0c8f
--- /dev/null
+++ b/app-admin/gamin/files/gamin-0.0.6-quiet-inotify-warning.patch
@@ -0,0 +1,11 @@
+--- gamin-0.0.6/server/gam_inotify.c 2004-08-24 19:28:39.013372440 +0200
++++ gamin-0.0.6.az/server/gam_inotify.c 2004-08-24 19:29:00.240145480 +0200
+@@ -351,7 +351,7 @@
+ fd = open("/dev/inotify", O_RDONLY);
+
+ if (fd < 0) {
+- g_warning("Could not open /dev/inotify\n");
++ gam_debug(DEBUG_INFO, "Could not open /dev/inotify\n");
+ return FALSE;
+ }
+
diff --git a/app-admin/gamin/gamin-0.0.6-r2.ebuild b/app-admin/gamin/gamin-0.0.6-r2.ebuild
index 5804149dfced..68c825841dcb 100644
--- a/app-admin/gamin/gamin-0.0.6-r2.ebuild
+++ b/app-admin/gamin/gamin-0.0.6-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gamin/gamin-0.0.6-r2.ebuild,v 1.1 2004/08/24 17:21:43 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gamin/gamin-0.0.6-r2.ebuild,v 1.2 2004/08/24 17:29:56 azarah Exp $
inherit eutils
@@ -41,6 +41,8 @@ src_unpack() {
epatch ${FILESDIR}/${P}-runtime-backend-select.patch
# Sources is using wrong DEFINE to check if INotify should be enabled ...
epatch ${FILESDIR}/${P}-actually-enable-inotify-support.patch
+ # Only complain about failing to open inotify node if debug is enabled.
+ epatch ${FILESDIR}/${P}-quiet-inotify-warning.patch
}
src_compile() {