Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1inetutils: define PATH_PROCNET_DEV if not already defined 2 3this prevents the following compilation error : 4system/linux.c:401:15: error: 'PATH_PROCNET_DEV' undeclared (first use in this function) 5 6this patch comes from : 7 http://repository.timesys.com/buildsources/i/inetutils/inetutils-1.9/ 8 9Upstream-Status: Inappropriate [not author] 10 11Signed-of-by: Eric Bénard <eric@eukrea.com> 12--- 13diff -Naur inetutils-1.9.orig/ifconfig/system/linux.c inetutils-1.9/ifconfig/system/linux.c 14--- inetutils-1.9.orig/ifconfig/system/linux.c 2012-01-04 16:31:36.000000000 -0500 15+++ inetutils-1.9/ifconfig/system/linux.c 2012-01-04 16:40:53.000000000 -0500 16@@ -49,6 +49,10 @@ 17 #include "../ifconfig.h" 18 19 20+#ifndef PATH_PROCNET_DEV 21+ #define PATH_PROCNET_DEV "/proc/net/dev" 22+#endif 23+ 24 /* ARPHRD stuff. */ 25 26 static void