commit:     9d66ecd2a85a89a277513f39263f7f288e02578e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  4 16:34:38 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct  4 16:47:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d66ecd2

net-analyzer/odhcploc: don't redefine _FORTIFY_SOURCE

Closes: https://bugs.gentoo.org/895538
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/odhcploc/odhcploc-20111021-r2.ebuild | 27 +++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/net-analyzer/odhcploc/odhcploc-20111021-r2.ebuild 
b/net-analyzer/odhcploc/odhcploc-20111021-r2.ebuild
new file mode 100644
index 000000000000..c3f0850644e0
--- /dev/null
+++ b/net-analyzer/odhcploc/odhcploc-20111021-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Open DHCP Locator"
+HOMEPAGE="http://odhcploc.sourceforge.net/";
+SRC_URI="mirror://sourceforge/project/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_configure() {
+       # Don't clobber toolchain defaults
+       sed -i -e 's:-Wp,-D_FORTIFY_SOURCE=2::' Makefile || die
+
+       tc-export CC
+}
+
+src_install() {
+       dobin ${PN}
+       doman ${PN}.8
+       dodoc AUTHORS
+}

Reply via email to