Package: elinks
Version: 0.16.1.1-4
Severity: normal
Tags: patch
X-Debbugs-Cc: mpar...@gmx.net

(Couldn't send this via git send-email to gitlab because salsa says no...)

>From f99fc469f7f7230ab817de2f5587dca9b11b18ed Mon Sep 17 00:00:00 2001
From: Marcel Partap <mpar...@gmx.net>
Date: Sat, 8 Jul 2023 18:21:32 +0200
Subject: [PATCH] meson.build: fix double elinks dir in configuration path

Should fix existing configuration not being applied because of
openat(AT_FDCWD, "/etc/elinks/elinks/elinks.conf", O_RDONLY|O_NOCTTY)
        = -1 ENOENT (No such file or directory)
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git meson.build meson.build
index 97a6144e..64ec8ca3 100644
--- meson.build
+++ meson.build
@@ -875,7 +875,7 @@ endif

 conf_data.set('ICONV_CONST', true)

-sysconfdir = get_option('prefix') / get_option('sysconfdir')/'elinks'
+sysconfdir = get_option('prefix') / get_option('sysconfdir')
 conf_data.set('CONFDIR', sysconfdir)
 conf_data.set('sysconfdir', sysconfdir)
 conf_data.set('SOMETHING', '@SOMETHING@')
--
2.40.1


-- System Information:
Debian Release: 12.0
  APT prefers unstable
  APT policy: (510, 'unstable'), (509, 'experimental'), (500, 
'oldstable-updates'), (500, 'oldstable-security'), (500, 'testing'), (500, 
'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-2-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, 
TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages elinks depends on:
ii  elinks-data       0.16.1.1-4
ii  libbrotli1        1.0.9-2+b6
ii  libbz2-1.0        1.0.8-5+b1
ii  libc6             2.36-5
ii  libev4            1:4.33-1
ii  libexpat1         2.4.9-1
ii  libfsplib0        0.14-5
ii  libgcrypt20       1.10.1-2
ii  libgnutls30       3.7.8-5
ii  libgpm2           1.20.7-10
ii  libgssapi-krb5-2  1.19.2-2+b1
ii  libidn12          1.38-4
ii  liblua5.3-0       5.3.6-1
ii  liblzma5          5.4.1-0.1
ii  libperl5.36       5.36.0-7
ii  libtinfo6         6.4-2
ii  libtre5           0.8.0-6+b1
ii  zlib1g            1:1.2.11.dfsg-4.1

elinks recommends no packages.

Versions of packages elinks suggests:
pn  elinks-doc  <none>

-- no debconf information

Reply via email to