Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 704074

Summary: >=net-libs/nDPI-2.8 calls AC_CONFIG_HEADERS(src/include/ndpi_config.h) which pollutes the namespace with PACKAGE*/VERSION
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeroen Roovers (RETIRED) gentoo-dev 2019-12-28 11:55:17 UTC
As seen in bug #664128 comment #9, autoheader generates src/include/ndpi_config.h which then defines PACKAGE* and VERSION which makes external users of those headers complain.
Comment 1 Larry the Git Cow gentoo-dev 2020-01-28 11:53:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a0f328f896c6dcaab28fa11f9f358dc3ec839e4

commit 0a0f328f896c6dcaab28fa11f9f358dc3ec839e4
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-01-28 11:40:57 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-01-28 11:53:09 +0000

    net-libs/nDPI: Hack around PACKAGE* autoheader definitions
    
    autogen.sh patches the autogenerated configure script to hide the
    PACKAGE* variables from ndpi_config.h, and so should we.
    
    Package-Manager: Portage-2.3.85, Repoman-2.3.20
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=704074
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-libs/nDPI/nDPI-3.0-r2.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)