commit: 8b7d64c5886fb5fbe4bb482f93be03e157f06fc2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 4 06:46:17 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 4 06:46:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7d64c5
net-libs/nDPI: keep version workaround for now
Should be able to drop this in the next release.
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/nDPI/{nDPI-4.0.ebuild => nDPI-4.0-r1.ebuild} | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/net-libs/nDPI/nDPI-4.0.ebuild b/net-libs/nDPI/nDPI-4.0-r1.ebuild
similarity index 85%
rename from net-libs/nDPI/nDPI-4.0.ebuild
rename to net-libs/nDPI/nDPI-4.0-r1.ebuild
index 8516413b47eb..4be4dd426cc0 100644
--- a/net-libs/nDPI/nDPI-4.0.ebuild
+++ b/net-libs/nDPI/nDPI-4.0-r1.ebuild
@@ -41,6 +41,13 @@ src_prepare() {
src/lib/Makefile.in || die
eautoreconf
+
+ # Should be able to drop in next version.
+ # Taken from autogen.sh (bug #704074):
+ sed -i \
+ -e "s/#define PACKAGE/#define NDPI_PACKAGE/g" \
+ -e "s/#define VERSION/#define NDPI_VERSION/g" \
+ configure || die
}
src_test() {