diff options
Diffstat (limited to 'net-mgmt/tcpreplay/files')
-rw-r--r-- | net-mgmt/tcpreplay/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | net-mgmt/tcpreplay/files/patch-lib_queue.h | 18 | ||||
-rw-r--r-- | net-mgmt/tcpreplay/files/patch-src_fragroute_mod.c | 15 | ||||
-rw-r--r-- | net-mgmt/tcpreplay/files/patch-src_fragroute_pkt.h | 13 |
4 files changed, 18 insertions, 39 deletions
diff --git a/net-mgmt/tcpreplay/files/patch-Makefile.in b/net-mgmt/tcpreplay/files/patch-Makefile.in deleted file mode 100644 index 9d6e23e9e94a..000000000000 --- a/net-mgmt/tcpreplay/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig 2024-07-12 17:15:27 UTC -+++ Makefile.in -@@ -900,7 +900,7 @@ test: - - test: - echo Making test in $(TEST_DIR) -- cd $(TEST_DIR) && make test -+ cd $(TEST_DIR) && gmake test - - dlt_names: - cat @SAVEFILE_C@ | $(top_builddir)/scripts/dlt2name.pl src/dlt_names.h diff --git a/net-mgmt/tcpreplay/files/patch-lib_queue.h b/net-mgmt/tcpreplay/files/patch-lib_queue.h new file mode 100644 index 000000000000..8159c28745ae --- /dev/null +++ b/net-mgmt/tcpreplay/files/patch-lib_queue.h @@ -0,0 +1,18 @@ +--- lib/queue.h.orig 2025-08-27 06:21:35 UTC ++++ lib/queue.h +@@ -36,7 +36,8 @@ + * @(#)queue.h 8.5 (Berkeley) 8/20/94 + */ + +-#pragma once ++#ifndef _SYS_QUEUE_H_ ++#define _SYS_QUEUE_H_ + + /* + * This file defines five types of data structures: singly-linked lists, +@@ -506,3 +507,5 @@ struct { \ + else \ + (elm2)->field.cqe_prev->field.cqe_next = (elm2); \ + } while (0) ++ ++#endif /* !_SYS_QUEUE_H_ */ diff --git a/net-mgmt/tcpreplay/files/patch-src_fragroute_mod.c b/net-mgmt/tcpreplay/files/patch-src_fragroute_mod.c deleted file mode 100644 index d4eb02fa98b1..000000000000 --- a/net-mgmt/tcpreplay/files/patch-src_fragroute_mod.c +++ /dev/null @@ -1,15 +0,0 @@ ---- src/fragroute/mod.c.orig 2023-12-31 18:39:02 UTC -+++ src/fragroute/mod.c -@@ -8,11 +8,11 @@ - */ - - #include "mod.h" -+#include "lib/queue.h" - #include "defines.h" - #include "config.h" - #include "common.h" - #include "argv.h" --#include "lib/queue.h" - #include <ctype.h> - #include <stdio.h> - #include <stdlib.h> diff --git a/net-mgmt/tcpreplay/files/patch-src_fragroute_pkt.h b/net-mgmt/tcpreplay/files/patch-src_fragroute_pkt.h deleted file mode 100644 index ec36392985f8..000000000000 --- a/net-mgmt/tcpreplay/files/patch-src_fragroute_pkt.h +++ /dev/null @@ -1,13 +0,0 @@ ---- src/fragroute/pkt.h.orig 2023-12-31 18:39:02 UTC -+++ src/fragroute/pkt.h -@@ -8,9 +8,9 @@ - - #pragma once - -+#include "lib/queue.h" - #include "defines.h" - #include "config.h" --#include "lib/queue.h" - #include <sys/time.h> - - #ifdef HAVE_LIBDNET |