diff options
author | Martin Dietze <di@fh-wedel.de> | 2007-04-18 16:53:55 +0000 |
---|---|---|
committer | Martin Dietze <di@fh-wedel.de> | 2007-04-18 16:53:55 +0000 |
commit | 621203193b3ed35610e8801e1323aa94cb50d7f5 (patch) | |
tree | b53c5c16723c6e3821fc9fb664a054f570918dbd | |
parent | 458b32d4c736a38dc805ef7ac2b2b2275509b78b (diff) |
ifplugd: added nylon-specific fix for compilation problems with linux-kernel-headers
-rw-r--r-- | packages/ifplugd/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/ifplugd/files/kernel-types.patch | 10 | ||||
-rw-r--r-- | packages/ifplugd/ifplugd_0.25.bb | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/packages/ifplugd/files/.mtn2git_empty b/packages/ifplugd/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/ifplugd/files/.mtn2git_empty diff --git a/packages/ifplugd/files/kernel-types.patch b/packages/ifplugd/files/kernel-types.patch new file mode 100644 index 0000000000..ad630ab5d4 --- /dev/null +++ b/packages/ifplugd/files/kernel-types.patch @@ -0,0 +1,10 @@ +--- ifplugd-0.25/src/interface.c-orig 2007-04-18 14:57:33.106790279 +0200 ++++ ifplugd-0.25/src/interface.c 2007-04-18 14:57:42.591211214 +0200 +@@ -18,6 +18,7 @@ + * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ + ++#define __KERNEL_STRICT_NAMES + #include <linux/sockios.h> + #include <linux/if_ether.h> + #include <sys/types.h> diff --git a/packages/ifplugd/ifplugd_0.25.bb b/packages/ifplugd/ifplugd_0.25.bb index 192520822a..55c2be0ced 100644 --- a/packages/ifplugd/ifplugd_0.25.bb +++ b/packages/ifplugd/ifplugd_0.25.bb @@ -6,6 +6,8 @@ LICENSE = "GPL" SRC_URI = "http://0pointer.de/lennart/projects/ifplugd/ifplugd-${PV}.tar.gz" +SRC_URI_append_nylon = " file://kernel-types.patch;patch=1" + inherit autotools update-rc.d pkgconfig EXTRA_OECONF = "--disable-lynx" |