diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
commit | b6af1e02efe594039707cd882517663d5370f375 (patch) | |
tree | ff9c2d55873e051e82972ba64c017352d3a75d34 /testing/kbuild/getloadavg.patch | |
parent | a71346b7acebc600960a98c84fb32cfd72fe864b (diff) | |
download | aports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2 aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz |
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:
* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'testing/kbuild/getloadavg.patch')
-rw-r--r-- | testing/kbuild/getloadavg.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/testing/kbuild/getloadavg.patch b/testing/kbuild/getloadavg.patch deleted file mode 100644 index e145ed0e5a..0000000000 --- a/testing/kbuild/getloadavg.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff --git a/src/kmk/job.c b/src/kmk/job.c -index 6d14300..16731fc 100644 ---- a/src/kmk/job.c -+++ b/src/kmk/job.c -@@ -240,6 +240,27 @@ unsigned long job_counter = 0; - - unsigned int jobserver_tokens = 0; - -+#ifdef __UCLIBC__ -+int getloadavg(double list[], int nelem) -+{ -+ FILE *LOADAVG; -+ double avg[3] = { 0.0, 0.0, 0.0 }; -+ int i, res = -1; -+ -+ if ((LOADAVG = fopen("/proc/loadavg", "r"))) { -+ fscanf(LOADAVG, "%lf %lf %lf", &avg[0], &avg[1], &avg[2]); -+ res = 0; -+ fclose(LOADAVG); -+ } -+ -+ for (i = 0; (i < nelem) && (i < 3); i++) { -+ list[i] = avg[i]; -+ } -+ -+ return res; -+} -+#endif -+ - #ifdef WINDOWS32 - /* - * The macro which references this function is defined in make.h. |