aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/opkg/patches/080-suppress-blank-package-fields.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/opkg/patches/080-suppress-blank-package-fields.patch')
-rw-r--r--package/system/opkg/patches/080-suppress-blank-package-fields.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/package/system/opkg/patches/080-suppress-blank-package-fields.patch b/package/system/opkg/patches/080-suppress-blank-package-fields.patch
deleted file mode 100644
index 976b97d7d2..0000000000
--- a/package/system/opkg/patches/080-suppress-blank-package-fields.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/libopkg/parse_util.c
-+++ b/libopkg/parse_util.c
-@@ -35,7 +35,12 @@ is_field(const char *type, const char *l
- char *
- parse_simple(const char *type, const char *line)
- {
-- return trim_xstrdup(line + strlen(type) + 1);
-+ char *field = trim_xstrdup(line + strlen(type) + 1);
-+ if (strlen(field) == 0) {
-+ free(field);
-+ return NULL;
-+ }
-+ return field;
- }
-
- /*