Package: net-tools
User: ubuntu-de...@lists.ubuntu.com
Version: 0.98.0+bzr692-1
Severity: important
Justification: fails-to-build-from-source
Tags: patch

Hello dear maintainer,

Your package failed to build with gcc 4.5 on ubuntu refer the below
buildlogs for info:

http://people.ubuntuwire.org/~lucas/ubuntu-nbs/32/net-tools_1.60-23ubuntu2_lubuntu32.buildlog

http://people.ubuntuwire.org/~lucas/ubuntu-nbs/64/net-tools_1.60-23ubuntu2_lubuntu64.buildlog

Attached here is a minimal patch as a workaround,

regards

-- 

Bhavani Shankar.R
https://launchpad.net/~bhavi, a proud ubuntu community  member.
What matters in life is application of mind!,
It makes great sense to have some common sense..!
diff -u net-tools-1.60/debian/patches/series net-tools-1.60/debian/patches/series
--- net-tools-1.60/debian/patches/series
+++ net-tools-1.60/debian/patches/series
@@ -24,0 +25 @@
+Add_missing_headers.patch
only in patch2:
unchanged:
--- net-tools-1.60.orig/debian/patches/Add_missing_headers.patch
+++ net-tools-1.60/debian/patches/Add_missing_headers.patch
@@ -0,0 +1,14 @@
+Index: net-tools-1.60/netstat.c
+========================================
+--- net-tools-1.60.orig/netstat.c
++++ net-tools-1.60/netstat.c
+@@ -85,6 +85,8 @@
+ #include <sys/ioctl.h>
+ #include <net/if.h>
+ #include <dirent.h>
++#include <sys/stat.h>
++#include <sys/types.h>
+ 
+ #include "net-support.h"
+ #include "pathnames.h"
+

Reply via email to