Fix build with -f no-common

This commit is contained in:
Stefan Eßer 2020-09-20 20:47:21 +00:00
parent 5f04ffffef
commit 6d4d0f9f2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549393
2 changed files with 12 additions and 0 deletions

View file

@ -4,6 +4,7 @@
PORTNAME= perftest
DISTVERSIONPREFIX= v
DISTVERSION= 4.4-0.7
PORTREVISION= 1
CATEGORIES= benchmarks
MAINTAINER= hselasky@FreeBSD.org

View file

@ -0,0 +1,11 @@
--- src/raw_ethernet_resources.c.orig 2019-07-28 11:18:47 UTC
+++ src/raw_ethernet_resources.c
@@ -55,7 +55,7 @@
#include <config.h>
#endif
-struct perftest_parameters* duration_param;
+extern struct perftest_parameters* duration_param;
int check_flow_steering_support(char *dev_name)
{