summaryrefslogtreecommitdiff
path: root/package/procps/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-23 17:00:22 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-23 17:00:22 +0100
commitd2f42c2c6054d26667844bd6792d63edecb8ce0f (patch)
treede4b6cf98a27093d3f892e01fac4babef23113f5 /package/procps/patches
parent58344c6e68d0e5e8d63c8e0c4cacbc7a35a88183 (diff)
fix musl build
Diffstat (limited to 'package/procps/patches')
-rw-r--r--package/procps/patches/patch-Makefile6
-rw-r--r--package/procps/patches/patch-proc_readproc_c10
2 files changed, 13 insertions, 3 deletions
diff --git a/package/procps/patches/patch-Makefile b/package/procps/patches/patch-Makefile
index 5b0bcf74a..5849fc343 100644
--- a/package/procps/patches/patch-Makefile
+++ b/package/procps/patches/patch-Makefile
@@ -1,6 +1,6 @@
$Id$
---- procps-3.2.7.orig/Makefile Sat Jun 24 09:02:02 2006
-+++ procps-3.2.7/Makefile Tue May 22 14:43:11 2007
+--- procps-3.2.8.orig/Makefile 2009-05-10 20:50:48.000000000 +0200
++++ procps-3.2.8/Makefile 2013-12-23 16:53:06.000000000 +0100
@@ -27,7 +27,7 @@ TARVERSION := $(VERSION).$(SUBVERSION)
ldconfig := ldconfig
ln_f := ln -f
@@ -19,7 +19,7 @@ $Id$
ALL_CPPFLAGS := $(PKG_CPPFLAGS) $(CPPFLAGS)
# Left out -Wconversion due to noise in glibc headers.
-@@ -102,11 +102,11 @@ PKG_CFLAGS := -fno-common -ffast-math
+@@ -102,11 +102,11 @@ PKG_CFLAGS := -fno-common -ffast-math
-Wstrict-prototypes -Wmissing-prototypes
# Note that some stuff below is conditional on CFLAGS containing
# an option that starts with "-g". (-g, -g2, -g3, -ggdb, etc.)
diff --git a/package/procps/patches/patch-proc_readproc_c b/package/procps/patches/patch-proc_readproc_c
new file mode 100644
index 000000000..dd4868a69
--- /dev/null
+++ b/package/procps/patches/patch-proc_readproc_c
@@ -0,0 +1,10 @@
+--- procps-3.2.8.orig/proc/readproc.c 2006-06-16 10:18:13.000000000 +0200
++++ procps-3.2.8/proc/readproc.c 2013-12-23 16:58:19.000000000 +0100
+@@ -23,6 +23,7 @@
+ #include <unistd.h>
+ #include <signal.h>
+ #include <fcntl.h>
++#include <limits.h>
+ #include <sys/dir.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>