diff options
-rw-r--r-- | net-irc/anope/anope-2.0.6.ebuild | 2 | ||||
-rw-r--r-- | net-irc/anope/files/pid-patch.patch | 18 |
2 files changed, 20 insertions, 0 deletions
diff --git a/net-irc/anope/anope-2.0.6.ebuild b/net-irc/anope/anope-2.0.6.ebuild index aad039abb9bb..dfdba26b54f7 100644 --- a/net-irc/anope/anope-2.0.6.ebuild +++ b/net-irc/anope/anope-2.0.6.ebuild @@ -39,6 +39,8 @@ DEPEND="${BDEPEND} tre? ( dev-libs/tre )" RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/pid-patch.patch" ) + S="${WORKDIR}/${P}-source" pkg_pretend() { diff --git a/net-irc/anope/files/pid-patch.patch b/net-irc/anope/files/pid-patch.patch new file mode 100644 index 000000000000..ddf661ba9803 --- /dev/null +++ b/net-irc/anope/files/pid-patch.patch @@ -0,0 +1,18 @@ +--- a/data/example.conf 2017-03-30 17:00:24.000000000 -0400 ++++ a/data/example.conf 2019-02-06 15:16:20.088469043 -0500 +@@ -231,13 +231,13 @@ + * The filename containing the Services process ID. The path is relative to the + * services root directory. + */ +- pid = "data/services.pid" ++ pid = "/run/anope/services.pid" + + /* + * The filename containing the Message of the Day. The path is relative to the + * services root directory. + */ +- motd = "conf/services.motd" ++ motd = "/etc/anope/services.motd" + } + + /* |