p7zip: update to 17.06
[oi-userland.git] / components / print / cups / patches / 03-iconv-IGNORE.patch
blobee400628ab902d0f197d33930d92bf88cbe74543
1 The "//IGNORE" suffix is GNU C/GNU libiconv extension not supported by illumos.
3 --- cups-2.4.1/cups/transcode.c.orig 2022-01-27 12:11:42.000000000 +0000
4 +++ cups-2.4.1/cups/transcode.c 2022-08-21 08:43:14.761916178 +0000
5 @@ -150,7 +150,7 @@
7 _cupsCharmapFlush();
9 - snprintf(toset, sizeof(toset), "%s//IGNORE", _cupsEncodingName(encoding));
10 + snprintf(toset, sizeof(toset), "%s", _cupsEncodingName(encoding));
12 map_encoding = encoding;
13 map_from_utf8 = iconv_open(_cupsEncodingName(encoding), "UTF-8");
14 @@ -279,7 +279,7 @@
16 _cupsCharmapFlush();
18 - snprintf(toset, sizeof(toset), "%s//IGNORE", _cupsEncodingName(encoding));
19 + snprintf(toset, sizeof(toset), "%s", _cupsEncodingName(encoding));
21 map_encoding = encoding;
22 map_from_utf8 = iconv_open(_cupsEncodingName(encoding), "UTF-8");