# HG changeset patch # User Pascal Bellard # Date 1451401172 -3600 # Node ID d94dea3c101ea2e72f62478243aded4d12b5cb79 # Parent 924e6ea5da10956bbea07ce5909c5cd9939e4f98 Up tazpanel (561) diff -r 924e6ea5da10 -r d94dea3c101e syslinux/stuff/extra/loadhigh.u --- a/syslinux/stuff/extra/loadhigh.u Tue Dec 29 10:21:19 2015 +0100 +++ b/syslinux/stuff/extra/loadhigh.u Tue Dec 29 15:59:32 2015 +0100 @@ -44,7 +44,7 @@ + break; + case 0x2204: + case 0x2102: -+ buf = unlz4((unsigned char *) unpacked, (unsigned char *) buf); ++ buf = (char *) unlz4((unsigned char *) unpacked, (unsigned char *) buf); + break; + } +#endif @@ -53,7 +53,7 @@ if (pad) --- /dev/null +++ core/unlzma.c -@@ -0,0 +1,383 @@ +@@ -0,0 +1,385 @@ +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned uint32_t; @@ -72,6 +72,8 @@ + * Licensed under GPLv2 or later, see file LICENSE in this source tree. + */ + ++#include ++ +#define PACKED __attribute__ ((packed)) +#define ALWAYS_INLINE inline +#define speed_inline @@ -439,7 +441,7 @@ +} --- /dev/null +++ core/unlz4.c -@@ -0,0 +1,112 @@ +@@ -0,0 +1,114 @@ +/* + * Copyright (C) 2015, pascal.bellard@slitaz.org + * @@ -448,6 +450,8 @@ + * published by the Free Software Foundation. + */ + ++#include ++ +#define LZ4_MAGIC 0x184D2204 /* Spec 1.5.0 */ +#define LZ4_LEGACY 0x184C2102 +#define LZ4_SKIP(n) ((((n) - 0x184D2A50) >> 4) == 0) @@ -463,7 +467,7 @@ + return n; +} + -+char *unlz4(unsigned char *from, unsigned char *end) ++unsigned char *unlz4(unsigned char *from, unsigned char *end) +{ + unsigned char *p, *end_chunk, *to, flags, mask; + long magic; diff -r 924e6ea5da10 -r d94dea3c101e tazpanel-extra/receipt --- a/tazpanel-extra/receipt Tue Dec 29 10:21:19 2015 +0100 +++ b/tazpanel-extra/receipt Tue Dec 29 15:59:32 2015 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="tazpanel-extra" -VERSION="558" +VERSION="561" CATEGORY="system-tools" SHORT_DESC="SliTaz administration and configuration panel extra modules." MAINTAINER="pascal.bellard@slitaz.org" diff -r 924e6ea5da10 -r d94dea3c101e tazpanel-ttf-css/receipt --- a/tazpanel-ttf-css/receipt Tue Dec 29 10:21:19 2015 +0100 +++ b/tazpanel-ttf-css/receipt Tue Dec 29 15:59:32 2015 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="tazpanel-ttf-css" -VERSION="558" +VERSION="561" CATEGORY="misc" SHORT_DESC="Enables tazpanel.ttf icons in opera browser" MAINTAINER="psychomaniak@xakep.ru" diff -r 924e6ea5da10 -r d94dea3c101e tazpanel/receipt --- a/tazpanel/receipt Tue Dec 29 10:21:19 2015 +0100 +++ b/tazpanel/receipt Tue Dec 29 15:59:32 2015 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="tazpanel" -VERSION="558" +VERSION="561" CATEGORY="system-tools" SHORT_DESC="SliTaz administration and configuration panel." MAINTAINER="pankso@slitaz.org"