diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-01-19 12:27:34 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-01-19 12:27:34 +0000 |
commit | 3f11f605c94ad3f85aef3452784eaf93ac5971de (patch) | |
tree | 025b3290dd3a48fad1a781c67c8d7eae6b69e41e /net-analyzer/ifstat/files | |
parent | ppc stable wrt bug #491930; Drop old. (diff) | |
download | historical-3f11f605c94ad3f85aef3452784eaf93ac5971de.tar.gz historical-3f11f605c94ad3f85aef3452784eaf93ac5971de.tar.bz2 historical-3f11f605c94ad3f85aef3452784eaf93ac5971de.zip |
Fix building on hardened (bug #498074 by John Default).
Package-Manager: portage-2.2.8/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer/ifstat/files')
-rw-r--r-- | net-analyzer/ifstat/files/ifstat-1.1-hardened.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/ifstat/files/ifstat-1.1-hardened.patch b/net-analyzer/ifstat/files/ifstat-1.1-hardened.patch new file mode 100644 index 000000000000..10c377ac7678 --- /dev/null +++ b/net-analyzer/ifstat/files/ifstat-1.1-hardened.patch @@ -0,0 +1,11 @@ +--- a/configure.in ++++ b/configure.in +@@ -58,7 +58,7 @@ + /*) file=$with_proc; with_proc=yes ;; + *) file=/proc/net/dev + AC_MSG_CHECKING([for proc interface in $file]) +- if grep -q Inter- $file 2>/dev/null; then ++ if true; then + AC_DEFINE([USE_PROC], 1, [Define if you want to use /proc to get stats]) + AC_DEFINE_UNQUOTED([PROC_FILE], ["$file"], [Proc file to poll for stats]) + with_proc=yes |