diff options
author | bouyer <bouyer> | 2017-03-30 09:15:09 +0000 |
---|---|---|
committer | bouyer <bouyer> | 2017-03-30 09:15:09 +0000 |
commit | 8ba64941fe41e878286fc9d7f4a2cde3620db0d6 (patch) | |
tree | ffe9ceb0e6dab6876e61244847f47e3358b34154 /sysutils/xenkernel48/patches/patch-xen_tools_symbols.c | |
parent | 8fb2e8be5143e98e7e31d954cea1035559976988 (diff) | |
download | pkgsrc-8ba64941fe41e878286fc9d7f4a2cde3620db0d6.tar.gz |
Add xenkerne48 and xentools48, version 4.8.0.
This includes stub domains support, but it should be considered
experimental at this time. Stub domains hangs with serial ports,
or more more than one virual disk (multiple virtual ethernet have not been
tested).
Diffstat (limited to 'sysutils/xenkernel48/patches/patch-xen_tools_symbols.c')
-rw-r--r-- | sysutils/xenkernel48/patches/patch-xen_tools_symbols.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/xenkernel48/patches/patch-xen_tools_symbols.c b/sysutils/xenkernel48/patches/patch-xen_tools_symbols.c new file mode 100644 index 00000000000..471458cf34b --- /dev/null +++ b/sysutils/xenkernel48/patches/patch-xen_tools_symbols.c @@ -0,0 +1,19 @@ +$NetBSD: patch-xen_tools_symbols.c,v 1.1 2017/03/30 09:15:09 bouyer Exp $ +fix "error: array subscript has type 'char'" + +--- xen/tools/symbols.c.orig 2017-03-21 17:37:05.000000000 +0100 ++++ xen/tools/symbols.c 2017-03-21 17:37:53.000000000 +0100 +@@ -173,11 +173,11 @@ + /* include the type field in the symbol name, so that it gets + * compressed together */ + s->len = strlen(str) + 1; +- if (islower(stype) && filename) ++ if (islower((uint8_t)stype) && filename) + s->len += strlen(filename) + 1; + s->sym = malloc(s->len + 1); + sym = SYMBOL_NAME(s); +- if (islower(stype) && filename) { ++ if (islower((uint8_t)stype) && filename) { + sym = stpcpy(sym, filename); + *sym++ = '#'; + } |