diff options
| author | Khem Raj <raj.khem@gmail.com> | 2017-07-17 20:09:57 -0700 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-09-08 16:38:16 -0400 |
| commit | 7daa126fc2e034a6a826d43547100277c765cf9a (patch) | |
| tree | 1f550ae80b98e895c5f7992a9e34f6c849040a53 /meta-networking/recipes-daemons | |
| parent | 54a4a994f91104758d797a81b4ea91d20cc781bc (diff) | |
| download | meta-openembedded-7daa126fc2e034a6a826d43547100277c765cf9a.tar.gz | |
igmpproxy: Include missing sys/tupes.h and define _GNU_SOURCE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons')
| -rw-r--r-- | meta-networking/recipes-daemons/igmpproxy/igmpproxy/0001-src-igmpproxy.h-Include-sys-types.h-for-u_short-u_in.patch | 25 | ||||
| -rw-r--r-- | meta-networking/recipes-daemons/igmpproxy/igmpproxy_0.1.bb | 5 |
2 files changed, 29 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/igmpproxy/igmpproxy/0001-src-igmpproxy.h-Include-sys-types.h-for-u_short-u_in.patch b/meta-networking/recipes-daemons/igmpproxy/igmpproxy/0001-src-igmpproxy.h-Include-sys-types.h-for-u_short-u_in.patch new file mode 100644 index 0000000000..82cdc36ac4 --- /dev/null +++ b/meta-networking/recipes-daemons/igmpproxy/igmpproxy/0001-src-igmpproxy.h-Include-sys-types.h-for-u_short-u_in.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | From a557651a08e21e3c7c7f5eca9f5405f86624903f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Fri, 14 Jul 2017 22:42:51 -0700 | ||
| 4 | Subject: [PATCH] src/igmpproxy.h: Include sys/types.h for u_short/u_init | ||
| 5 | |||
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 7 | --- | ||
| 8 | src/igmpproxy.h | 1 + | ||
| 9 | 1 file changed, 1 insertion(+) | ||
| 10 | |||
| 11 | diff --git a/src/igmpproxy.h b/src/igmpproxy.h | ||
| 12 | index 4dabd1c..4454729 100644 | ||
| 13 | --- a/src/igmpproxy.h | ||
| 14 | +++ b/src/igmpproxy.h | ||
| 15 | @@ -46,6 +46,7 @@ | ||
| 16 | #include <stdbool.h> | ||
| 17 | |||
| 18 | #include <sys/socket.h> | ||
| 19 | +#include <sys/types.h> | ||
| 20 | #include <sys/un.h> | ||
| 21 | #include <sys/time.h> | ||
| 22 | #include <sys/ioctl.h> | ||
| 23 | -- | ||
| 24 | 2.13.3 | ||
| 25 | |||
diff --git a/meta-networking/recipes-daemons/igmpproxy/igmpproxy_0.1.bb b/meta-networking/recipes-daemons/igmpproxy/igmpproxy_0.1.bb index c3d2f1afaa..5424dc455e 100644 --- a/meta-networking/recipes-daemons/igmpproxy/igmpproxy_0.1.bb +++ b/meta-networking/recipes-daemons/igmpproxy/igmpproxy_0.1.bb | |||
| @@ -5,9 +5,12 @@ LICENSE = "GPLv2" | |||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=1e995e2799bb0d27d63069b97f805420" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=1e995e2799bb0d27d63069b97f805420" |
| 6 | 6 | ||
| 7 | SRC_URI = "http://sourceforge.net/projects/igmpproxy/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz \ | 7 | SRC_URI = "http://sourceforge.net/projects/igmpproxy/files/${BPN}/${PV}/${BPN}-${PV}.tar.gz \ |
| 8 | " | 8 | file://0001-src-igmpproxy.h-Include-sys-types.h-for-u_short-u_in.patch \ |
| 9 | " | ||
| 9 | 10 | ||
| 10 | SRC_URI[md5sum] = "c56f41ec195bc1fe016369bf74efc5a1" | 11 | SRC_URI[md5sum] = "c56f41ec195bc1fe016369bf74efc5a1" |
| 11 | SRC_URI[sha256sum] = "ee18ff3d8c3ae3a29dccb7e5eedf332337330020168bd95a11cece8d7d7ee6ae" | 12 | SRC_URI[sha256sum] = "ee18ff3d8c3ae3a29dccb7e5eedf332337330020168bd95a11cece8d7d7ee6ae" |
| 12 | 13 | ||
| 13 | inherit autotools pkgconfig | 14 | inherit autotools pkgconfig |
| 15 | |||
| 16 | CFLAGS += "-D_GNU_SOURCE" | ||
