From 0ccf5decafdf0e244cd2d7e7059dab27fbf20c14 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Sat, 8 Aug 2009 18:46:27 +0200 Subject: Ajout de gamin#0.1.10-1 --- base/gamin/gamin-0.1.9-ucred-headers.patch | 52 ++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 base/gamin/gamin-0.1.9-ucred-headers.patch (limited to 'base/gamin/gamin-0.1.9-ucred-headers.patch') diff --git a/base/gamin/gamin-0.1.9-ucred-headers.patch b/base/gamin/gamin-0.1.9-ucred-headers.patch new file mode 100644 index 000000000..35b76e4a0 --- /dev/null +++ b/base/gamin/gamin-0.1.9-ucred-headers.patch @@ -0,0 +1,52 @@ +diff -up gamin-0.1.9/server/gam_channel.c.xxx gamin-0.1.9/server/gam_channel.c +--- gamin-0.1.9/server/gam_channel.c.xxx 2007-07-04 15:36:49.000000000 +0200 ++++ gamin-0.1.9/server/gam_channel.c 2008-02-14 10:00:38.654849392 +0100 +@@ -3,7 +3,6 @@ + #include + #include + #include +-#include + #include + #include + #include +@@ -12,6 +11,14 @@ + #include "gam_channel.h" + #include "gam_protocol.h" + ++#ifdef HAVE_LINUX ++ /* Workaround for undefined struct ucred */ ++ #define __USE_GNU ++#endif ++ ++#include ++ ++ + /* #define CHANNEL_VERBOSE_DEBUGGING */ + /************************************************************************ + * * +diff -up gamin-0.1.9/libgamin/gam_api.c.xxx gamin-0.1.9/libgamin/gam_api.c +--- gamin-0.1.9/libgamin/gam_api.c.xxx 2007-07-04 15:36:48.000000000 +0200 ++++ gamin-0.1.9/libgamin/gam_api.c 2008-02-13 17:41:50.697896914 +0100 +@@ -11,7 +11,6 @@ + #include + #include + #include +-#include + #include + #include + #include "fam.h" +@@ -20,6 +19,14 @@ + #include "gam_fork.h" + #include "gam_error.h" + ++#ifdef HAVE_LINUX ++ /* Workaround for undefined struct ucred */ ++ #define __USE_GNU ++#endif ++ ++#include ++ ++ + #define TEST_DEBUG + + #define MAX_RETRIES 25 -- cgit v1.2.3-70-g09d2