diff options
| -rw-r--r-- | meta-oe/recipes-connectivity/libnet/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-.patch | 33 | ||||
| -rw-r--r-- | meta-oe/recipes-connectivity/libnet/libnet_1.3.bb (renamed from meta-oe/recipes-connectivity/libnet/libnet_1.2.bb) | 5 |
2 files changed, 2 insertions, 36 deletions
diff --git a/meta-oe/recipes-connectivity/libnet/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-.patch b/meta-oe/recipes-connectivity/libnet/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-.patch deleted file mode 100644 index a32414bdf6..0000000000 --- a/meta-oe/recipes-connectivity/libnet/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-.patch +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | From a1659e261888bdbed51803132d52d9a6c6803c8a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Joachim Nilsson <troglobit@gmail.com> | ||
| 3 | Date: Sat, 19 Oct 2019 12:26:26 +0200 | ||
| 4 | Subject: [PATCH] Use standard int64_t instead of __int64_t for mingw cross | ||
| 5 | build | ||
| 6 | |||
| 7 | Signed-off-by: Joachim Nilsson <troglobit@gmail.com> | ||
| 8 | --- | ||
| 9 | Upstream-Status: Pending | ||
| 10 | |||
| 11 | include/libnet/libnet-structures.h | 6 +++--- | ||
| 12 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/include/libnet/libnet-structures.h b/include/libnet/libnet-structures.h | ||
| 15 | index 6084caa..34fffc6 100644 | ||
| 16 | --- a/include/libnet/libnet-structures.h | ||
| 17 | +++ b/include/libnet/libnet-structures.h | ||
| 18 | @@ -49,9 +49,9 @@ struct libnet_port_list_chain | ||
| 19 | /* libnet statistics structure */ | ||
| 20 | struct libnet_stats | ||
| 21 | { | ||
| 22 | - __int64_t packets_sent; /* packets sent */ | ||
| 23 | - __int64_t packet_errors; /* packets errors */ | ||
| 24 | - __int64_t bytes_written; /* bytes written */ | ||
| 25 | + int64_t packets_sent; /* packets sent */ | ||
| 26 | + int64_t packet_errors; /* packets errors */ | ||
| 27 | + int64_t bytes_written; /* bytes written */ | ||
| 28 | }; | ||
| 29 | |||
| 30 | |||
| 31 | -- | ||
| 32 | 2.25.1 | ||
| 33 | |||
diff --git a/meta-oe/recipes-connectivity/libnet/libnet_1.2.bb b/meta-oe/recipes-connectivity/libnet/libnet_1.3.bb index eaa0a0445d..b4648832f1 100644 --- a/meta-oe/recipes-connectivity/libnet/libnet_1.2.bb +++ b/meta-oe/recipes-connectivity/libnet/libnet_1.3.bb | |||
| @@ -8,11 +8,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=07f291bf6e78efa05cec668cf6a09acc" | |||
| 8 | 8 | ||
| 9 | DEPENDS = "libpcap" | 9 | DEPENDS = "libpcap" |
| 10 | 10 | ||
| 11 | SRC_URI = "git://github.com/libnet/libnet.git;protocol=https;branch=master \ | 11 | SRC_URI = "git://github.com/libnet/libnet.git;protocol=https;branch=master" |
| 12 | file://0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-.patch" | ||
| 13 | 12 | ||
| 14 | SRC_URI[sha256sum] = "1e9e9054d688b059bcbaf878d8c4fbf69bfc0c9386cd4e7779fbb53339050d2e" | 13 | SRC_URI[sha256sum] = "1e9e9054d688b059bcbaf878d8c4fbf69bfc0c9386cd4e7779fbb53339050d2e" |
| 15 | SRCREV = "deeeeaeb84f8bc5d2299913d4ccf53d0d4c26966" | 14 | SRCREV = "deaebdfe2743e8a6f04d3c307d9272afeeecfade" |
| 16 | 15 | ||
| 17 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
| 18 | 17 | ||
