Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704074 - >=net-libs/nDPI-2.8 calls AC_CONFIG_HEADERS(src/include/ndpi_config.h) which pollutes the namespace with PACKAGE*/VERSION
Summary: >=net-libs/nDPI-2.8 calls AC_CONFIG_HEADERS(src/include/ndpi_config.h) which ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-28 11:55 UTC by Jeroen Roovers (RETIRED)
Modified: 2020-01-28 11:53 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 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(+)