Date: Tue, 4 Feb 2025 16:05:43 GMT From: Ryan Steinmetz <zi@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ad07ec0635d7 - main - irc/eggdrop: Replace SED use with REINPLACE_CMD+patch Message-ID: <202502041605.514G5hWr054636@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by zi: URL: https://cgit.FreeBSD.org/ports/commit/?id=ad07ec0635d74621800d9e69ca4e9b388906a9d0 commit ad07ec0635d74621800d9e69ca4e9b388906a9d0 Author: Ryan Steinmetz <zi@FreeBSD.org> AuthorDate: 2025-02-04 16:04:41 +0000 Commit: Ryan Steinmetz <zi@FreeBSD.org> CommitDate: 2025-02-04 16:05:31 +0000 irc/eggdrop: Replace SED use with REINPLACE_CMD+patch PR: 283584 Reported by: danfe@ --- irc/eggdrop/Makefile | 3 +-- irc/eggdrop/files/patch-src_mod_python.mod_pycmds.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/irc/eggdrop/Makefile b/irc/eggdrop/Makefile index baa011307ef5..2569c3eaecda 100644 --- a/irc/eggdrop/Makefile +++ b/irc/eggdrop/Makefile @@ -24,8 +24,7 @@ SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS post-patch: - @${SED} -i '' -e '25d' ${WRKSRC}/src/mod/python.mod/pycmds.c - @${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKSRC}/eggdrop.conf \ + @${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKSRC}/eggdrop.conf \ > ${WRKSRC}/eggdrop.conf.sample post-configure: diff --git a/irc/eggdrop/files/patch-src_mod_python.mod_pycmds.c b/irc/eggdrop/files/patch-src_mod_python.mod_pycmds.c new file mode 100644 index 000000000000..c0534cbd452e --- /dev/null +++ b/irc/eggdrop/files/patch-src_mod_python.mod_pycmds.c @@ -0,0 +1,10 @@ +--- src/mod/python.mod/pycmds.c.orig 2025-02-04 15:24:41 UTC ++++ src/mod/python.mod/pycmds.c +@@ -22,7 +22,6 @@ + #define PY_SSIZE_T_CLEAN + #include <Python.h> + #include <datetime.h> +-#include <tcl.h> + #include "src/mod/module.h" + + typedef struct {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502041605.514G5hWr054636>