mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
busybox: add upstream patch to support (e)glibc-2.16
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
58a679c1a6
commit
85d5f24916
@ -0,0 +1,77 @@
|
||||
diff -Naur busybox-1.20.2/loginutils/passwd.c busybox-1.20.2.patch/loginutils/passwd.c
|
||||
--- busybox-1.20.2/loginutils/passwd.c 2012-06-26 15:35:45.000000000 +0200
|
||||
+++ busybox-1.20.2.patch/loginutils/passwd.c 2012-07-16 17:08:07.382745761 +0200
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
#include "libbb.h"
|
||||
#include <syslog.h>
|
||||
+#include <sys/resource.h> /* setrlimit */
|
||||
|
||||
static void nuke_str(char *str)
|
||||
{
|
||||
diff -Naur busybox-1.20.2/miscutils/time.c busybox-1.20.2.patch/miscutils/time.c
|
||||
--- busybox-1.20.2/miscutils/time.c 2012-06-26 15:35:45.000000000 +0200
|
||||
+++ busybox-1.20.2.patch/miscutils/time.c 2012-07-16 17:08:07.383745781 +0200
|
||||
@@ -16,6 +16,7 @@
|
||||
//usage: "\n -v Verbose"
|
||||
|
||||
#include "libbb.h"
|
||||
+#include <sys/resource.h> /* getrusage */
|
||||
|
||||
/* Information on the resources used by a child process. */
|
||||
typedef struct {
|
||||
diff -Naur busybox-1.20.2/networking/inetd.c busybox-1.20.2.patch/networking/inetd.c
|
||||
--- busybox-1.20.2/networking/inetd.c 2012-07-02 16:08:25.000000000 +0200
|
||||
+++ busybox-1.20.2.patch/networking/inetd.c 2012-07-16 17:08:39.368394206 +0200
|
||||
@@ -165,6 +165,7 @@
|
||||
//usage: "\n (default: 0 - disabled)"
|
||||
|
||||
#include <syslog.h>
|
||||
+#include <sys/resource.h> /* setrlimit */
|
||||
#include <sys/un.h>
|
||||
|
||||
#include "libbb.h"
|
||||
diff -Naur busybox-1.20.2/networking/ntpd.c busybox-1.20.2.patch/networking/ntpd.c
|
||||
--- busybox-1.20.2/networking/ntpd.c 2012-07-02 16:08:25.000000000 +0200
|
||||
+++ busybox-1.20.2.patch/networking/ntpd.c 2012-07-16 17:08:07.386745839 +0200
|
||||
@@ -46,6 +46,7 @@
|
||||
#include "libbb.h"
|
||||
#include <math.h>
|
||||
#include <netinet/ip.h> /* For IPTOS_LOWDELAY definition */
|
||||
+#include <sys/resource.h> /* setpriority */
|
||||
#include <sys/timex.h>
|
||||
#ifndef IPTOS_LOWDELAY
|
||||
# define IPTOS_LOWDELAY 0x10
|
||||
diff -Naur busybox-1.20.2/networking/ntpd_simple.c busybox-1.20.2.patch/networking/ntpd_simple.c
|
||||
--- busybox-1.20.2/networking/ntpd_simple.c 2012-06-26 15:35:45.000000000 +0200
|
||||
+++ busybox-1.20.2.patch/networking/ntpd_simple.c 2012-07-16 17:08:07.386745839 +0200
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
#include "libbb.h"
|
||||
#include <netinet/ip.h> /* For IPTOS_LOWDELAY definition */
|
||||
+#include <sys/resource.h> /* setpriority */
|
||||
#ifndef IPTOS_LOWDELAY
|
||||
# define IPTOS_LOWDELAY 0x10
|
||||
#endif
|
||||
diff -Naur busybox-1.20.2/runit/chpst.c busybox-1.20.2.patch/runit/chpst.c
|
||||
--- busybox-1.20.2/runit/chpst.c 2012-06-26 15:35:45.000000000 +0200
|
||||
+++ busybox-1.20.2.patch/runit/chpst.c 2012-07-16 17:08:07.387745858 +0200
|
||||
@@ -91,6 +91,7 @@
|
||||
//usage: "\n a SIGXCPU after N seconds"
|
||||
|
||||
#include "libbb.h"
|
||||
+#include <sys/resource.h> /* getrlimit */
|
||||
|
||||
/*
|
||||
Five applets here: chpst, envdir, envuidgid, setuidgid, softlimit.
|
||||
diff -Naur busybox-1.20.2/shell/shell_common.c busybox-1.20.2.patch/shell/shell_common.c
|
||||
--- busybox-1.20.2/shell/shell_common.c 2012-06-26 15:35:45.000000000 +0200
|
||||
+++ busybox-1.20.2.patch/shell/shell_common.c 2012-07-16 17:08:07.388745877 +0200
|
||||
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
#include "libbb.h"
|
||||
#include "shell_common.h"
|
||||
+#include <sys/resource.h> /* getrlimit */
|
||||
|
||||
const char defifsvar[] ALIGN1 = "IFS= \t\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user