Files
meta-security/recipes-security/isic/files/isic-0.07-netinet.patch
Martin Jansa ea97a23986 *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

0 (0%)  	meta-parsec
N/A (0%)        meta-hardening
1 (100%)        meta-integrity
15 (68%)        meta-tpm
27 (61%)        meta-security

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-25 15:05:28 -04:00

71 lines
2.3 KiB
Diff

Upstream-Status: Pending
isic: add missing header file
Backport:
http://pkgs.fedoraproject.org/cgit/isic.git/tree/isic-0.07-netinet.patch
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Index: isic-0.07/multisic.c
===================================================================
--- isic-0.07.orig/multisic.c
+++ isic-0.07/multisic.c
@@ -1,5 +1,8 @@
#include "isic.h"
+#include <netinet/udp.h>
+/*#include <netinet/tcp.h>*/
+
/* This is tuned for ethernet sized frames (1500 bytes)
* For user over a modem or frame (or other) you will have to change the
* 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
Index: isic-0.07/tcpsic.c
===================================================================
--- isic-0.07.orig/tcpsic.c
+++ isic-0.07/tcpsic.c
@@ -1,5 +1,7 @@
#include "isic.h"
+#include <netinet/tcp.h>
+
/* This is tuned for ethernet sized frames (1500 bytes)
* For user over a modem or frame (or other) you will have to change the
* 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
Index: isic-0.07/tcpsic6.c
===================================================================
--- isic-0.07.orig/tcpsic6.c
+++ isic-0.07/tcpsic6.c
@@ -1,5 +1,7 @@
#include "isic.h"
+#include <netinet/tcp.h>
+
/* This is tuned for ethernet sized frames (1500 bytes)
* For user over a modem or frame (or other) you will have to change the
* 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
Index: isic-0.07/udpsic.c
===================================================================
--- isic-0.07.orig/udpsic.c
+++ isic-0.07/udpsic.c
@@ -1,5 +1,7 @@
#include "isic.h"
+#include <netinet/udp.h>
+
/* This is tuned for ethernet sized frames (1500 bytes)
* For user over a modem or frame (or other) you will have to change the
* 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of
Index: isic-0.07/udpsic6.c
===================================================================
--- isic-0.07.orig/udpsic6.c
+++ isic-0.07/udpsic6.c
@@ -1,5 +1,7 @@
#include "isic.h"
+#include <netinet/udp.h>
+
/* This is tuned for ethernet sized frames (1500 bytes)
* For user over a modem or frame (or other) you will have to change the
* 'rand() & 0x4ff' line below. The 0x4ff needs to be less than the size of