source: clfs-embedded/patches/netplug-1.2.9.2-fixes-1.patch@ 7e8a7d8

Last change on this file since 7e8a7d8 was 2864f08, checked in by Andrew Bradford <andrew@…>, 10 years ago

Add netplug to beyond-net

Not yet supported by bootscripts although instructions are in this
commit.

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[2864f08]1Submitted By: Andrew Bradford <andrew@bradfordembedded.com>
2Date: 2013-10-25
3Initial Package Version: 1.2.9.2
4Origin: CLFS specific
5Upstream Status: Not Applied
6Description: Fixes build problems.
7
8diff -Naur netplug-1.2.9.2.orig/lib.c netplug-1.2.9.2/lib.c
9--- netplug-1.2.9.2.orig/lib.c 2013-10-25 16:23:21.270934264 -0400
10+++ netplug-1.2.9.2/lib.c 2013-10-25 16:24:26.067667210 -0400
11@@ -200,20 +200,6 @@
12 }
13
14
15-void
16-__assert_fail(const char *assertion, const char *file,
17- unsigned int line, const char *function)
18-{
19- do_log(LOG_CRIT, "%s:%u: %s%sAssertion `%s' failed",
20- file, line,
21- function ? function : "",
22- function ? ": " : "",
23- assertion);
24-
25- abort();
26-}
27-
28-
29 /*
30 * Local variables:
31 * c-file-style: "stroustrup"
32diff -Naur netplug-1.2.9.2.orig/netplug.h netplug-1.2.9.2/netplug.h
33--- netplug-1.2.9.2.orig/netplug.h 2013-10-25 16:23:21.270934264 -0400
34+++ netplug-1.2.9.2/netplug.h 2013-10-25 16:24:17.054324652 -0400
35@@ -25,6 +25,7 @@
36 #include <sys/socket.h>
37 #include <linux/netlink.h>
38 #include <linux/rtnetlink.h>
39+#include <time.h>
40
41 #define NP_SCRIPT NP_SCRIPT_DIR "/netplug"
42
Note: See TracBrowser for help on using the repository browser.