summaryrefslogtreecommitdiffstats
path: root/package/netplug
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2008-02-28 02:13:42 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2008-02-28 02:13:42 +0000
commitbebbe792df26f355f82da8d7508f719f56a8a559 (patch)
tree0fb2714dffe92e06f25dd96db8c01d2139576a8c /package/netplug
parent49609366cfac5fa5a6347068fb61c8a61f85c034 (diff)
downloadbuildroot-novena-bebbe792df26f355f82da8d7508f719f56a8a559.tar.gz
buildroot-novena-bebbe792df26f355f82da8d7508f719f56a8a559.zip
Make sure 'linkage.h' headers are installed. Add hack to bootstrap newer
versions of GCC. Filter out 'gnu99' from assembly flags. Use the 'headers' target instead of 'pregen' to prepare for more NPTL integration. Fix broken MTD package configuration....someone believes in the Klingon release process apparently. Fix build issues with netplug and libpng. Fix source path for microcom as original site no longer exists.
Diffstat (limited to 'package/netplug')
-rw-r--r--package/netplug/netplug-getsockname-cast.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/netplug/netplug-getsockname-cast.patch b/package/netplug/netplug-getsockname-cast.patch
new file mode 100644
index 000000000..c8e38e6f9
--- /dev/null
+++ b/package/netplug/netplug-getsockname-cast.patch
@@ -0,0 +1,12 @@
+diff -ur netplug-1.2.9/netlink.c netplug-1.2.9-patched/netlink.c
+--- netplug-1.2.9/netlink.c 2005-01-07 23:57:09.000000000 -0600
++++ netplug-1.2.9-patched/netlink.c 2008-02-27 17:59:48.373864047 -0600
+@@ -286,7 +286,7 @@
+
+ int addr_len = sizeof(addr);
+
+- if (getsockname(fd, (struct sockaddr *) &addr, &addr_len) == -1) {
++ if (getsockname(fd, (struct sockaddr *) &addr, (socklen_t *) &addr_len) == -1) {
+ do_log(LOG_ERR, "Could not get socket details: %m");
+ exit(1);
+ }