mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
busybox: update to busybox-1.19.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
c42b99ea6b
commit
cbc0a3f6df
@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="busybox"
|
PKG_NAME="busybox"
|
||||||
PKG_VERSION="1.19.0"
|
PKG_VERSION="1.19.1"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
diff -Naur busybox-1.19.1/libbb/match_fstype.c busybox-1.19.1.patch/libbb/match_fstype.c
|
||||||
|
--- busybox-1.19.1/libbb/match_fstype.c 2011-08-28 12:59:56.000000000 +0200
|
||||||
|
+++ busybox-1.19.1.patch/libbb/match_fstype.c 2011-09-03 02:10:51.480283260 +0200
|
||||||
|
@@ -10,10 +10,10 @@
|
||||||
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
|
-#ifdef HAVE_MNTENT_H
|
||||||
|
-
|
||||||
|
#include "libbb.h"
|
||||||
|
|
||||||
|
+#ifdef HAVE_MNTENT_H
|
||||||
|
+
|
||||||
|
int FAST_FUNC match_fstype(const struct mntent *mt, const char *t_fstype)
|
||||||
|
{
|
||||||
|
int match = 1;
|
31
packages/sysutils/busybox/patches/busybox-1.19.1-patch.patch
Normal file
31
packages/sysutils/busybox/patches/busybox-1.19.1-patch.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
--- busybox-1.19.1/editors/patch.c
|
||||||
|
+++ busybox-1.19.1-patch/editors/patch.c
|
||||||
|
@@ -70,8 +70,7 @@ struct double_list {
|
||||||
|
|
||||||
|
// Free all the elements of a linked list
|
||||||
|
// Call freeit() on each element before freeing it.
|
||||||
|
-static
|
||||||
|
-void dlist_free(struct double_list *list, void (*freeit)(void *data))
|
||||||
|
+static void dlist_free(struct double_list *list, void (*freeit)(void *data))
|
||||||
|
{
|
||||||
|
while (list) {
|
||||||
|
void *pop = list;
|
||||||
|
@@ -83,8 +82,7 @@ void dlist_free(struct double_list *list
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add an entry before "list" element in (circular) doubly linked list
|
||||||
|
-static
|
||||||
|
-struct double_list *dlist_add(struct double_list **list, char *data)
|
||||||
|
+static struct double_list *dlist_add(struct double_list **list, char *data)
|
||||||
|
{
|
||||||
|
struct double_list *llist;
|
||||||
|
struct double_list *line = xmalloc(sizeof(*line));
|
||||||
|
@@ -232,7 +230,7 @@ static int apply_one_hunk(void)
|
||||||
|
else matcheof = 0;
|
||||||
|
if (PATCH_DEBUG) fdprintf(2, "HUNK:%s\n", plist->data);
|
||||||
|
}
|
||||||
|
- matcheof = matcheof < TT.context;
|
||||||
|
+ matcheof = !matcheof || matcheof < TT.context;
|
||||||
|
|
||||||
|
if (PATCH_DEBUG) fdprintf(2,"MATCHEOF=%c\n", matcheof ? 'Y' : 'N');
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user