From 780e779de71c0dfe04fee8a3f203fb1160b1e2c5 Mon Sep 17 00:00:00 2001 From: Beniamin Sandu Date: Wed, 4 Oct 2023 20:29:56 +0300 Subject: [PATCH] libnet: upgrade version v1.2 -> v1.3 Signed-off-by: Beniamin Sandu Signed-off-by: Khem Raj --- ...64_t-instead-of-__int64_t-for-mingw-.patch | 33 ------------------- .../libnet/{libnet_1.2.bb => libnet_1.3.bb} | 5 ++- 2 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 meta-oe/recipes-connectivity/libnet/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-.patch rename meta-oe/recipes-connectivity/libnet/{libnet_1.2.bb => libnet_1.3.bb} (78%) 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 @@ -From a1659e261888bdbed51803132d52d9a6c6803c8a Mon Sep 17 00:00:00 2001 -From: Joachim Nilsson -Date: Sat, 19 Oct 2019 12:26:26 +0200 -Subject: [PATCH] Use standard int64_t instead of __int64_t for mingw cross - build - -Signed-off-by: Joachim Nilsson ---- -Upstream-Status: Pending - - include/libnet/libnet-structures.h | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/include/libnet/libnet-structures.h b/include/libnet/libnet-structures.h -index 6084caa..34fffc6 100644 ---- a/include/libnet/libnet-structures.h -+++ b/include/libnet/libnet-structures.h -@@ -49,9 +49,9 @@ struct libnet_port_list_chain - /* libnet statistics structure */ - struct libnet_stats - { -- __int64_t packets_sent; /* packets sent */ -- __int64_t packet_errors; /* packets errors */ -- __int64_t bytes_written; /* bytes written */ -+ int64_t packets_sent; /* packets sent */ -+ int64_t packet_errors; /* packets errors */ -+ int64_t bytes_written; /* bytes written */ - }; - - --- -2.25.1 - diff --git a/meta-oe/recipes-connectivity/libnet/libnet_1.2.bb b/meta-oe/recipes-connectivity/libnet/libnet_1.3.bb similarity index 78% rename from meta-oe/recipes-connectivity/libnet/libnet_1.2.bb rename to 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" DEPENDS = "libpcap" -SRC_URI = "git://github.com/libnet/libnet.git;protocol=https;branch=master \ - file://0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-.patch" +SRC_URI = "git://github.com/libnet/libnet.git;protocol=https;branch=master" SRC_URI[sha256sum] = "1e9e9054d688b059bcbaf878d8c4fbf69bfc0c9386cd4e7779fbb53339050d2e" -SRCREV = "deeeeaeb84f8bc5d2299913d4ccf53d0d4c26966" +SRCREV = "deaebdfe2743e8a6f04d3c307d9272afeeecfade" S = "${WORKDIR}/git"