From 9a981ecd01768dec3e1782979f7a8feba98bcf7b Mon Sep 17 00:00:00 2001 From: Vasilis Tsiligiannis Date: Mon, 7 Feb 2011 22:28:04 +0000 Subject: [PATCH 1/1] [package] hotplug2: Make missing include files non fatal SVN-Revision: 25414 --- package/hotplug2/patches/170-non_fatal_include.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/hotplug2/patches/170-non_fatal_include.patch diff --git a/package/hotplug2/patches/170-non_fatal_include.patch b/package/hotplug2/patches/170-non_fatal_include.patch new file mode 100644 index 0000000000..672746c6d2 --- /dev/null +++ b/package/hotplug2/patches/170-non_fatal_include.patch @@ -0,0 +1,11 @@ +--- a/parser/parser.c ++++ b/parser/parser.c +@@ -578,7 +578,7 @@ int parser_file(const char *filename, st + ctx.lexer.fp = fopen(filename, "r"); + if (ctx.lexer.fp == NULL) { + parser_clear(&ctx); +- return -1; ++ return 0; + } + ctx.lexer.filename = strdup(filename); + -- 2.30.2