Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704072 - =net-analyzer/pmacct-1.7.3 USE=ndpi with =net-libs/nDPI-3.0 - ndpi.c:377:33: error: too few arguments to function 'ndpi_detection_giveup'
Summary: =net-analyzer/pmacct-1.7.3 USE=ndpi with =net-libs/nDPI-3.0 - ndpi.c:377:33: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-28 10:23 UTC by Jeroen Roovers (RETIRED)
Modified: 2019-12-29 13:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2019-12-28 10:23:07 UTC
ndpi.c: In function 'pm_ndpi_packet_processing':
ndpi.c:377:33: error: too few arguments to function 'ndpi_detection_giveup'
  377 |       flow->detected_protocol = ndpi_detection_giveup(workflow->ndpi_struct, flow->ndpi_flow, workflow->prefs.protocol_guess);
      |                                 ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/ndpi/ndpi_main.h:31,
                 from ../pmacct.h:97,
                 from ndpi.c:30:
/usr/include/ndpi/ndpi_api.h:232:17: note: declared here
  232 |   ndpi_protocol ndpi_detection_giveup(struct ndpi_detection_module_struct *ndpi_struct,
      |                 ^~~~~~~~~~~~~~~~~
Comment 1 Larry the Git Cow gentoo-dev 2019-12-28 11:45:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=279adbeeec72611d631ceb9d24de1675c93bcef4

commit 279adbeeec72611d631ceb9d24de1675c93bcef4
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-12-28 11:34:26 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-12-28 11:45:38 +0000

    net-analyzer/pmacct: Fix building against >=nDPI-3.0
    
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Closes: https://bugs.gentoo.org/704072
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../pmacct/files/pmacct-1.7.3-nDPI-3.0.patch       | 28 ++++++++++++++++++++++
 ...{pmacct-1.7.3.ebuild => pmacct-1.7.3-r1.ebuild} | 12 ++++++++--
 2 files changed, 38 insertions(+), 2 deletions(-)