diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-05-16 10:27:18 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-05-18 12:42:47 -0700 |
commit | 18a5897143b80ce207a8ed6634ee5650472f8c6a (patch) | |
tree | 995c9a9b0c0d8d4b4c0e7b88c5cadb3f4ba9309b /meta-oe/recipes-bsp/irda-utils/irda-utils-0.9.18/musl.patch | |
parent | 590663da5daa11095b036de634e068e25ea94009 (diff) | |
download | meta-openembedded-contrib-18a5897143b80ce207a8ed6634ee5650472f8c6a.tar.gz |
Add irda-utils
Removed from oe-core since IrDA support was removed in kernel 4.17,
added here in case there are users left on older kernels.
RRECOMMENDS are the former RRECOMMENDS_packagegroup-base-irda.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-bsp/irda-utils/irda-utils-0.9.18/musl.patch')
-rw-r--r-- | meta-oe/recipes-bsp/irda-utils/irda-utils-0.9.18/musl.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-bsp/irda-utils/irda-utils-0.9.18/musl.patch b/meta-oe/recipes-bsp/irda-utils/irda-utils-0.9.18/musl.patch new file mode 100644 index 0000000000..97eb975023 --- /dev/null +++ b/meta-oe/recipes-bsp/irda-utils/irda-utils-0.9.18/musl.patch @@ -0,0 +1,29 @@ +Replace use of <net/if_packet.h> with <linux/if_packet.h>. + +kernel headers <linux/if_packet.h> already provides the +needed definitions, moreover not all libc implementations +provide if_packet.h e.g. musl + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +Upstream-Status: Pending + +Index: irda-utils-0.9.18/irdaping/irdaping.c +=================================================================== +--- irda-utils-0.9.18.orig/irdaping/irdaping.c ++++ irda-utils-0.9.18/irdaping/irdaping.c +@@ -33,7 +33,6 @@ + #include <sys/socket.h> + #include <sys/ioctl.h> + #include <net/if.h> /* For struct ifreq */ +-#include <net/if_packet.h> /* For struct sockaddr_pkt */ + #include <net/if_arp.h> /* For ARPHRD_IRDA */ + #include <netinet/if_ether.h> /* For ETH_P_ALL */ + #include <netinet/in.h> /* For htons */ +@@ -46,6 +45,7 @@ + #include <asm/byteorder.h> /* __cpu_to_le32 and co. */ + + #include <linux/types.h> /* For __u8 and co. */ ++#include <linux/if_packet.h> /* For struct sockaddr_pkt */ + #include <irda.h> + + #ifndef AF_IRDA |