diff options
| -rw-r--r-- | meta/recipes-devtools/distcc/distcc_3.1.bb | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/distcc/files/0001-zeroconf-Include-fcntl.h.patch | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/distcc/distcc_3.1.bb b/meta/recipes-devtools/distcc/distcc_3.1.bb index ad0e94f110..e4b9313d20 100644 --- a/meta/recipes-devtools/distcc/distcc_3.1.bb +++ b/meta/recipes-devtools/distcc/distcc_3.1.bb | |||
| @@ -19,6 +19,7 @@ RRECOMMENDS_${PN} = "avahi-daemon" | |||
| 19 | 19 | ||
| 20 | SRC_URI = "http://distcc.googlecode.com/files/${BPN}-${PV}.tar.bz2 \ | 20 | SRC_URI = "http://distcc.googlecode.com/files/${BPN}-${PV}.tar.bz2 \ |
| 21 | file://separatebuilddir.patch \ | 21 | file://separatebuilddir.patch \ |
| 22 | file://0001-zeroconf-Include-fcntl.h.patch \ | ||
| 22 | file://default \ | 23 | file://default \ |
| 23 | file://distccmon-gnome.desktop \ | 24 | file://distccmon-gnome.desktop \ |
| 24 | file://distcc \ | 25 | file://distcc \ |
diff --git a/meta/recipes-devtools/distcc/files/0001-zeroconf-Include-fcntl.h.patch b/meta/recipes-devtools/distcc/files/0001-zeroconf-Include-fcntl.h.patch new file mode 100644 index 0000000000..b17ec9c959 --- /dev/null +++ b/meta/recipes-devtools/distcc/files/0001-zeroconf-Include-fcntl.h.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 8331fc4759d809512f404e7a27f817ad6d616450 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 13 Apr 2015 18:00:33 -0700 | ||
| 4 | Subject: [PATCH] zeroconf: Include fcntl.h | ||
| 5 | |||
| 6 | We need it for getting deinitions for O_* e.g. O_CREAT | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | |||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | src/zeroconf.c | 1 + | ||
| 13 | 1 file changed, 1 insertion(+) | ||
| 14 | |||
| 15 | diff --git a/src/zeroconf.c b/src/zeroconf.c | ||
| 16 | index 414ddc4..31bd33f 100644 | ||
| 17 | --- a/src/zeroconf.c | ||
| 18 | +++ b/src/zeroconf.c | ||
| 19 | @@ -33,6 +33,7 @@ | ||
| 20 | #include <unistd.h> | ||
| 21 | #include <stdlib.h> | ||
| 22 | #include <limits.h> | ||
| 23 | +#include <fcntl.h> | ||
| 24 | |||
| 25 | #include <avahi-common/domain.h> | ||
| 26 | #include <avahi-common/error.h> | ||
| 27 | -- | ||
| 28 | 2.1.4 | ||
| 29 | |||
