Fix pkg_printf to work with shlibs required/provided
modified libpkg/pkg.c
@@ -455,7 +455,7 @@ pkg_options(const struct pkg *pkg, struct pkg_option **o)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -463,7 +463,7 @@ pkg_shlibs_required(struct pkg *pkg, struct pkg_shlib **s)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -471,7 +471,7 @@ pkg_shlibs_provided(struct pkg *pkg, struct pkg_shlib **s)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg.h.in
@@ -589,21 +589,21 @@ int pkg_options(const struct pkg *, struct pkg_option **option);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_printf.c
@@ -45,7 +45,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -109,7 +109,8 @@
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -169,10 +170,10 @@ struct pkg_printf_fmt {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -233,6 +234,10 @@ static const struct pkg_printf_fmt fmt[] = {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -283,7 +288,7 @@ static const struct pkg_printf_fmt fmt[] = {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -293,17 +298,17 @@ static const struct pkg_printf_fmt fmt[] = {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -311,7 +316,7 @@ format_shlibs(struct sbuf *sbuf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -325,7 +330,8 @@ format_shlibs(struct sbuf *sbuf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -832,6 +838,39 @@ format_autoremove(struct sbuf *sbuf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg_printf.h
@@ -47,7 +47,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -55,14 +55,15 @@
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -72,8 +73,8 @@
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -104,6 +105,8 @@ typedef enum _fmt_code_t {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -140,7 +143,7 @@ struct percent_esc {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -172,6 +175,7 @@ _static struct sbuf *format_users(struct sbuf *, const void *, struct percent_es
|
|
|
|
|
|
| + | |
|
|
|
|
|