mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-proxy/dnsproxy: Clean up patch
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="The dnsproxy daemon is a proxy for DNS queries"
|
||||
HOMEPAGE="https://www.wolfermann.org/dnsproxy.html"
|
||||
@@ -12,19 +11,19 @@ SRC_URI="https://www.wolfermann.org/${P}.tar.gz"
|
||||
LICENSE="MIT GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/libevent"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
eapply -p0 "${FILESDIR}"/${P}-include.patch
|
||||
append-cppflags -D_GNU_SOURCE
|
||||
|
||||
default
|
||||
}
|
||||
DEPEND="
|
||||
dev-libs/libevent
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.16-include.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
append-cppflags -D_GNU_SOURCE
|
||||
emake ${PN}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- dnsproxy.c.orig 2010-01-11 16:02:00.000000000 +0100
|
||||
+++ dnsproxy.c 2010-10-27 05:07:05.000000000 +0200
|
||||
--- a/dnsproxy.c
|
||||
+++ b/dnsproxy.c
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
Reference in New Issue
Block a user