Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
rarian
rarian-no-warning-localized-icon.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rarian-no-warning-localized-icon.patch of Package rarian
Index: rarian-0.8.1/librarian/rarian-reg-full.c =================================================================== --- rarian-0.8.1.orig/librarian/rarian-reg-full.c +++ rarian-0.8.1/librarian/rarian-reg-full.c @@ -338,7 +338,8 @@ process_pair_full (RrnRegFull *reg, char } } else if (!strcmp (key, "Icon")){ reg->icon = strdup (value); - } else if (!strncmp (key, "X-", 2)) { + } else if (!strncmp (key, "X-", 2) || + !strncmp (key, "Icon[", 5)) { /* ignore */ } else { fprintf (stderr, "WARNING: Unknown element %s: %s\n", key, value); Index: rarian-0.8.1/librarian/rarian-reg-utils.c =================================================================== --- rarian-0.8.1.orig/librarian/rarian-reg-utils.c +++ rarian-0.8.1/librarian/rarian-reg-utils.c @@ -536,7 +536,8 @@ process_pair (RrnReg *reg, char *key, ch !strcmp (key, "Version") || 0) { /* ignore */ - } else if (!strncmp (key, "X-", 2)) { + } else if (!strncmp (key, "X-", 2) || + !strncmp (key, "Icon[", 5)) { /* ignore */ } else { fprintf (stderr, "WARNING: Unknown element %s: %s\n", key, value);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor