• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/busybox/busybox-1.20.2/busybox-1.20.2-sys-resource.patch
Peter KorsgaardPeter Korsgaard committed 6fce747d08429 Oct 2012
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 5a5dfcad6ba96d12d68bd7b39279215a8fee70d3 Mon Sep 17 00:00:00 2001
2
From: Tias Guns <tias@ulyssis.org>
3
Date: Sun, 10 Jun 2012 14:19:01 +0200
4
Subject: [PATCH] inetd: fix build failure in Android
5
​
6
Signed-off-by: Tias Guns <tias@ulyssis.org>
7
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
8
(cherry picked from commit 64f763b42a43cbf36e401690ff6767c25575e520)
9
---
10
 networking/inetd.c | 1 +
11
 1 file changed, 1 insertion(+)
12
-- 
13
1.7.12
14
​
15
From 246ea72843d5b7e9d4cd902dc5e9d71359196303 Mon Sep 17 00:00:00 2001
16
From: Mike Frysinger <vapier@gentoo.org>
17
Date: Thu, 5 Jul 2012 23:19:09 -0400
18
Subject: [PATCH] include sys/resource.h where needed
19
​
20
We use functions from sys/resource.h in misc applets, but don't include
21
the header.  This breaks building with newer glibc versions, so add the
22
include where needed.
23
​
24
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
25
(cherry picked from commit c5fe9f7b723f949457263ef8e22ab807d5b549ce)
26
---
27
 loginutils/passwd.c      | 1 +
28
 miscutils/time.c         | 1 +
29
 networking/inetd.c       | 1 +
30
 networking/ntpd.c        | 1 +
31
 networking/ntpd_simple.c | 1 +
32
 runit/chpst.c            | 1 +
33
 shell/shell_common.c     | 1 +
34
 7 files changed, 7 insertions(+)
35
​
36
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
37
index b83db00..a7006f0 100644
38
--- a/loginutils/passwd.c
39
+++ b/loginutils/passwd.c
40
@@ -15,6 +15,7 @@
41
 
42
 #include "libbb.h"
43
 #include <syslog.h>
44
+#include <sys/resource.h> /* setrlimit */
45
 
46
 static void nuke_str(char *str)
47
 {
48
diff --git a/miscutils/time.c b/miscutils/time.c
49
index 945f15f..ffed386 100644
50
--- a/miscutils/time.c
51
+++ b/miscutils/time.c
52
@@ -16,6 +16,7 @@
53
 //usage:     "\n   -v  Verbose"
54
 
55
 #include "libbb.h"
56
+#include <sys/resource.h> /* getrusage */
57
 
58
 /* Information on the resources used by a child process.  */
59
 typedef struct {
60
diff --git a/networking/inetd.c b/networking/inetd.c
61
index 1308d74..00baf69 100644
62
--- a/networking/inetd.c
63
+++ b/networking/inetd.c
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.