[packages/poldek] - when only rel is different display - instead of .

witekfl witekfl at pld-linux.org
Sat Oct 1 08:19:41 CEST 2022


commit c4176cf362cb434fa1767524fcbcf7205b20de6f
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sat Oct 1 08:11:27 2022 +0200

    - when only rel is different display - instead of .

 minus.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/minus.patch b/minus.patch
new file mode 100644
index 0000000..3f394cf
--- /dev/null
+++ b/minus.patch
@@ -0,0 +1,12 @@
+diff -up poldek-0.42.2/ts_summary.c.rel poldek-0.42.2/ts_summary.c
+--- poldek-0.42.2/ts_summary.c.rel
++++ poldek-0.42.2/ts_summary.c
+@@ -202,7 +202,7 @@
+         poldek_term_snprintf_c(old_color, old, sizeof(old), "%s", old_pkg->rel);
+         poldek_term_snprintf_c(new_color, new, sizeof(new), "%s", pkg->rel);
+ 
+-        n = n_snprintf(line, size, "%s-%s.(%s => %s).%s",
++        n = n_snprintf(line, size, "%s-%s-(%s => %s).%s",
+                    pkg->name, pkg->ver, old, new, arch);
+ 
+     } else if (!eq_ver && !eq_rel) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/da79f10e6729741a3caae3223840b1d7709a9f11



More information about the pld-cvs-commit mailing list