Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2021 16:09:47 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r560306 - branches/2021Q1/net/ns3/files
Message-ID:  <202101041609.104G9l8P060741@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101041609.104G9l8P060741>