summaryrefslogtreecommitdiffstats
path: root/extra/gamin/gamin-0.1.9-ucred-headers.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-03-11 11:47:52 +0100
committertnut <thierryn1 at hispeed dot ch>2011-03-11 11:47:52 +0100
commit2397b4c3aa1c49b63c13cbec7db2d38ac4d891ae (patch)
treef9d535d15f0981969663a65b5aa50f23de3cdaa8 /extra/gamin/gamin-0.1.9-ucred-headers.patch
parent9dd2d6b847d41f40858f36a376c2358a411d0cae (diff)
downloadnutyx-extra-2397b4c3aa1c49b63c13cbec7db2d38ac4d891ae.tar.gz
nutyx-extra-2397b4c3aa1c49b63c13cbec7db2d38ac4d891ae.tar.bz2
nutyx-extra-2397b4c3aa1c49b63c13cbec7db2d38ac4d891ae.tar.xz
nutyx-extra-2397b4c3aa1c49b63c13cbec7db2d38ac4d891ae.zip
geany, maj des dépendances
Diffstat (limited to 'extra/gamin/gamin-0.1.9-ucred-headers.patch')
-rw-r--r--extra/gamin/gamin-0.1.9-ucred-headers.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/extra/gamin/gamin-0.1.9-ucred-headers.patch b/extra/gamin/gamin-0.1.9-ucred-headers.patch
deleted file mode 100644
index 35b76e4a0..000000000
--- a/extra/gamin/gamin-0.1.9-ucred-headers.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-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 <unistd.h>
- #include <errno.h>
- #include <glib.h>
--#include <sys/socket.h>
- #include <sys/stat.h>
- #include <sys/un.h>
- #include <sys/uio.h>
-@@ -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 <sys/socket.h>
-+
-+
- /* #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 <fcntl.h>
- #include <errno.h>
- #include <sys/stat.h>
--#include <sys/socket.h>
- #include <sys/un.h>
- #include <sys/uio.h>
- #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 <sys/socket.h>
-+
-+
- #define TEST_DEBUG
-
- #define MAX_RETRIES 25