GNU bug report logs -
#78428
[PATCH] gnu: elogind: Adjust patch for pkttyagent path.
Previous Next
Full log
Message #8 received at 78428 <at> debbugs.gnu.org (full text, mbox):
Hi,
Sergey Trofimov <sarg <at> sarg.org.ru> writes:
> * gnu/packages/freedesktop.scm (elogind):
> [#:phases]<fix-pkttyagent-path>: Adjust the regexp to work with source
> version 255.17.
>
> Change-Id: I259c93d806482d10bd438a8ba47dcf5a270feeca
> ---
> gnu/packages/freedesktop.scm | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
> index de8fb975bc..281c8b33ec 100644
> --- a/gnu/packages/freedesktop.scm
> +++ b/gnu/packages/freedesktop.scm
> @@ -949,8 +949,8 @@ (define-public elogind
> (add-after 'unpack 'fix-pkttyagent-path
> (lambda _
> (substitute* "meson.build"
> - (("join_paths\\(bindir, 'pkttyagent'\\)")
> - "'\"/run/current-system/profile/bin/pkttyagent\"'"))))
> + (("bindir / 'pkttyagent'")
> + "'/run/current-system/profile/bin/pkttyagent'"))))
Oof. It's terrible that these substitution fail silently. This
packages rebuilds about 4K, so we'll need to make a 'elogind-fixed'
package and use it as a replacement (graft). Would you like to do so in
this same change? You can send a v2.
--
Thanks,
Maxim
This bug report was last modified 25 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.