[packages/elinks] - fix rendering of '*' in gemini - rel 2
witekfl
witekfl at pld-linux.org
Fri Jul 7 13:52:58 CEST 2023
commit 6af7937abda3e2c56ec364b31000531bba43c795
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Fri Jul 7 12:57:46 2023 +0200
- fix rendering of '*' in gemini
- rel 2
elinks.spec | 4 +++-
gemini.patch | 19 +++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/elinks.spec b/elinks.spec
index 98c59c7..d0102b7 100644
--- a/elinks.spec
+++ b/elinks.spec
@@ -39,7 +39,7 @@ Summary(pl.UTF-8): Eksperymentalny Links (tekstowa przeglądarka WWW)
Summary(pt_BR.UTF-8): O links é um browser para modo texto, similar ao lynx
Name: elinks
Version: 0.16.1.1
-Release: 1
+Release: 2
Epoch: 1
License: GPL v2
Group: Applications/Networking
@@ -47,6 +47,7 @@ Source0: https://github.com/rkd77/elinks/releases/download/v%{version}/%{name}-%
# Source0-md5: 09ba9bf3f222da893a830f6e27a6cc3d
Source1: %{name}.desktop
Source2: links.png
+Patch0: gemini.patch
URL: http://www.elinks.cz/
BuildRequires: bzip2-devel
BuildRequires: expat-devel
@@ -113,6 +114,7 @@ keepalive.
%prep
%setup -q
+%patch0 -p1
%build
%meson build \
diff --git a/gemini.patch b/gemini.patch
new file mode 100644
index 0000000..eb0f376
--- /dev/null
+++ b/gemini.patch
@@ -0,0 +1,19 @@
+commit 3ff58b17e4272c18139db62af298ea3cc2450b7a
+Author: Witold Filipczyk <witekfl at poczta.onet.pl>
+Date: Tue Jun 27 16:06:58 2023 +0200
+
+ [gemini] Missing LIs. Refs #242
+
+diff --git a/src/document/gemini/renderer.c b/src/document/gemini/renderer.c
+index 7fbaf5a1..2702c235 100644
+--- a/src/document/gemini/renderer.c
++++ b/src/document/gemini/renderer.c
+@@ -180,6 +180,8 @@ render_gemini_document(struct cache_entry *cached, struct document *document,
+ in_list = 1;
+ add_to_string(&html, "<ul>\n");
+ add_string_to_string(&html, &html_line);
++ } else {
++ add_string_to_string(&html, &html_line);
+ }
+ } else if (in_list) {
+ in_list = 0;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/elinks.git/commitdiff/6af7937abda3e2c56ec364b31000531bba43c795
More information about the pld-cvs-commit
mailing list