Nagy Karoly Gabriel
10 years ago
4 changed files with 27 additions and 39 deletions
@ -0,0 +1,14 @@
|
||||
http://git.alpinelinux.org/cgit/aports/plain/main/iproute2/musl-fixes.patch
|
||||
|
||||
Don't redefine in6_addr due to including linux/in6.h; use netinet/in.h instead.
|
||||
|
||||
--- a/include/linux/if_bridge.h.orig 2014-12-28 06:08:02.569567949 +0100
|
||||
+++ b/include/linux/if_bridge.h 2014-12-28 06:08:34.736569384 +0100
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/if_ether.h>
|
||||
-#include <linux/in6.h>
|
||||
|
||||
#define SYSFS_BRIDGE_ATTR "bridge"
|
||||
#define SYSFS_BRIDGE_FDB "brforward"
|
@ -1,36 +0,0 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../iproute2/0002-include-limits.h.patch
|
||||
# Copyright (C) 2013 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
include limits.h to get ULONG_MAX declared
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
fdb.c: In function 'fdb_modify':
|
||||
fdb.c:242:30: error: 'ULONG_MAX' undeclared (first use in this function)
|
||||
fdb.c:242:30: note: each undeclared identifier is reported only once for each function it appears in
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
detected when building in a musl based environment
|
||||
|
||||
--- ./bridge/fdb.c.orig 2013-08-29 02:03:20.878642825 +0200
|
||||
+++ ./bridge/fdb.c 2013-08-29 02:04:09.963752113 +0200
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <linux/if_ether.h>
|
||||
#include <linux/neighbour.h>
|
||||
#include <string.h>
|
||||
+#include <limits.h>
|
||||
|
||||
#include "libnetlink.h"
|
||||
#include "br_common.h"
|
Loading…
Reference in new issue