summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-13 12:59:28 +0100
committerSam James <sam@gentoo.org>2022-06-13 13:10:16 +0100
commitbab011b72162d5f0a2dc3b36d1cf6d420cd43e10 (patch)
tree7ca677a122f88300484bf6131eae3285efefa57c /net-libs/libnipper/libnipper-0.12.6-r2.ebuild
parentdev-util/rocprofiler: initial import (diff)
downloadgentoo-bab011b72162d5f0a2dc3b36d1cf6d420cd43e10.tar.gz
gentoo-bab011b72162d5f0a2dc3b36d1cf6d420cd43e10.tar.bz2
gentoo-bab011b72162d5f0a2dc3b36d1cf6d420cd43e10.zip
net-libs/libnipper: fix build with GCC 12; fix -Werror=format-security
Closes: https://bugs.gentoo.org/851666 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs/libnipper/libnipper-0.12.6-r2.ebuild')
-rw-r--r--net-libs/libnipper/libnipper-0.12.6-r2.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-libs/libnipper/libnipper-0.12.6-r2.ebuild b/net-libs/libnipper/libnipper-0.12.6-r2.ebuild
new file mode 100644
index 000000000000..2fe749ff81af
--- /dev/null
+++ b/net-libs/libnipper/libnipper-0.12.6-r2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A router configuration security analysis library"
+HOMEPAGE="http://nipper.titania.co.uk/"
+SRC_URI="mirror://sourceforge/nipper/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+ "${FILESDIR}/${P}-glibc-2.10.patch"
+ "${FILESDIR}/${P}-gcc47.patch"
+ "${FILESDIR}/${P}-multilib-strict.patch"
+ "${FILESDIR}/${P}-gcc12-time.patch"
+ "${FILESDIR}/${P}-wformat-security.patch"
+)