diff options
Diffstat (limited to 'package/procps')
-rw-r--r-- | package/procps/Makefile | 3 | ||||
-rw-r--r-- | package/procps/patches/patch-Makefile | 6 | ||||
-rw-r--r-- | package/procps/patches/patch-proc_readproc_c | 10 |
3 files changed, 15 insertions, 4 deletions
diff --git a/package/procps/Makefile b/package/procps/Makefile index 70765479e..dd5f1139c 100644 --- a/package/procps/Makefile +++ b/package/procps/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= procps PKG_VERSION:= 3.2.8 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 9532714b6846013ca9898984ba4cd7e0 PKG_DESCR:= The /proc file system utilities PKG_SECTION:= utils @@ -19,6 +19,7 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,PROCPS,procps,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIG_STYLE:= manual +TARGET_LDFLAGS+= -ltinfo procps-install: ${INSTALL_DIR} ${IDIR_PROCPS}/{bin,sbin,usr/bin} 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> |