Hello community, here is the log from the commit of package curl for openSUSE:Factory checked in at 2018-08-28 09:23:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/curl (Old) and /work/SRC/openSUSE:Factory/.curl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "curl" Tue Aug 28 09:23:15 2018 rev:136 rq:630910 version:7.61.0 Changes: -------- --- /work/SRC/openSUSE:Factory/curl/curl-mini.changes 2018-07-27 10:51:42.357125497 +0200 +++ /work/SRC/openSUSE:Factory/.curl.new/curl-mini.changes 2018-08-28 09:23:17.176611181 +0200 @@ -1,0 +2,6 @@ +Wed Aug 22 12:32:50 UTC 2018 - kbabi...@suse.com + +- Added curl-switch-off-all-styles.patch: Fix output of wrong escape sequences, + which might mess up the terminal (bsc#1105624) + +------------------------------------------------------------------- curl.changes: same change New: ---- curl-switch-off-all-styles.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ curl-mini.spec ++++++ --- /var/tmp/diff_new_pack.uL5Ion/_old 2018-08-28 09:23:17.788613091 +0200 +++ /var/tmp/diff_new_pack.uL5Ion/_new 2018-08-28 09:23:17.792613104 +0200 @@ -46,6 +46,7 @@ # PATCH-FIX-OPENSUSE bsc#1076446 protocol redirection not supported or disabled Patch4: curl-disabled-redirect-protocol-message.patch Patch5: curl-use_OPENSSL_config.patch +Patch6: curl-switch-off-all-styles.patch BuildRequires: libtool BuildRequires: pkgconfig Requires: libcurl4%{?mini} = %{version} @@ -126,6 +127,7 @@ %endif %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build # curl complains if macro definition is contained in CFLAGS ++++++ curl.spec ++++++ --- /var/tmp/diff_new_pack.uL5Ion/_old 2018-08-28 09:23:17.808613153 +0200 +++ /var/tmp/diff_new_pack.uL5Ion/_new 2018-08-28 09:23:17.812613166 +0200 @@ -44,6 +44,7 @@ # PATCH-FIX-OPENSUSE bsc#1076446 protocol redirection not supported or disabled Patch4: curl-disabled-redirect-protocol-message.patch Patch5: curl-use_OPENSSL_config.patch +Patch6: curl-switch-off-all-styles.patch BuildRequires: libtool BuildRequires: pkgconfig Requires: libcurl4%{?mini} = %{version} @@ -124,6 +125,7 @@ %endif %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build # curl complains if macro definition is contained in CFLAGS ++++++ curl-switch-off-all-styles.patch ++++++ >From 1b62b1704581fed8cd01e18cffe6676667e3a7f4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg <dan...@haxx.se> Date: Thu, 12 Jul 2018 11:04:00 +0200 Subject: [PATCH] header output: switch off all styles, not just unbold ... the "unbold" sequence doesn't work on the mac Terminal. Reported-by: Zero King Fixes #2736 Closes #2738 --- src/tool_cb_hdr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tool_cb_hdr.c b/src/tool_cb_hdr.c index 88ce5e13b8..6419b72048 100644 --- a/src/tool_cb_hdr.c +++ b/src/tool_cb_hdr.c @@ -42,7 +42,10 @@ static char *parse_filename(const char *ptr, size_t len); #define BOLDOFF #else #define BOLD "\x1b[1m" -#define BOLDOFF "\x1b[21m" +/* Switch off bold by settting "all attributes off" since the explicit + bold-off code (21) isn't supported everywhere - like in the mac + Terminal. */ +#define BOLDOFF "\x1b[0m" #endif /*