svn commit: r560306 - branches/2021Q1/net/ns3/files
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Jan 4 16:09:48 UTC 2021
Author: pkubaj
Date: Mon Jan 4 16:09:47 2021
New Revision: 560306
URL: https://svnweb.freebsd.org/changeset/ports/560306
Log:
MFH: r560305
net/ns3: fix build on GCC architectures
../src/test/ns3tc/fq-codel-queue-disc-test-suite.cc:555:125: error: 'u_int32_t' has not been declared
555 | FqCoDelQueueDiscECNMarking::AddPacket (Ptr<FqCoDelQueueDisc> queue, Ipv4Header hdr, u_int32_t nPkt, u_int32_t nPktEnqueued, u_int32_t nQueueFlows)
Added:
branches/2021Q1/net/ns3/files/patch-src_test_ns3tc_fq-codel-queue-disc-test-suite.cc
- copied unchanged from r560305, head/net/ns3/files/patch-src_test_ns3tc_fq-codel-queue-disc-test-suite.cc
Modified:
Directory Properties:
branches/2021Q1/ (props changed)
Copied: branches/2021Q1/net/ns3/files/patch-src_test_ns3tc_fq-codel-queue-disc-test-suite.cc (from r560305, head/net/ns3/files/patch-src_test_ns3tc_fq-codel-queue-disc-test-suite.cc)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2021Q1/net/ns3/files/patch-src_test_ns3tc_fq-codel-queue-disc-test-suite.cc Mon Jan 4 16:09:47 2021 (r560306, copy of r560305, head/net/ns3/files/patch-src_test_ns3tc_fq-codel-queue-disc-test-suite.cc)
@@ -0,0 +1,18 @@
+--- src/test/ns3tc/fq-codel-queue-disc-test-suite.cc.orig 2021-01-04 15:32:24 UTC
++++ src/test/ns3tc/fq-codel-queue-disc-test-suite.cc
+@@ -35,6 +35,8 @@
+ #include "ns3/string.h"
+ #include "ns3/pointer.h"
+
++#include <sys/types.h>
++
+ using namespace ns3;
+
+ // Variable to assign hash to a new packet's flow
+@@ -1125,4 +1127,4 @@ FqCoDelQueueDiscTestSuite::FqCoDelQueueDiscTestSuite (
+ AddTestCase (new FqCoDelQueueDiscL4sMode, TestCase::QUICK);
+ }
+
+-static FqCoDelQueueDiscTestSuite fqCoDelQueueDiscTestSuite;
+\ No newline at end of file
++static FqCoDelQueueDiscTestSuite fqCoDelQueueDiscTestSuite;
More information about the svn-ports-all
mailing list