From: Thierry Parmentelat Date: Sat, 27 Sep 2008 21:42:50 +0000 (+0000) Subject: patch for centos X-Git-Tag: libnl-1.1-1~2 X-Git-Url: http://git.onelab.eu/?p=libnl.git;a=commitdiff_plain;h=a12e71cb1b9b553c30d51f1e2b72d8b5d97c86f8 patch for centos --- diff --git a/libnl-1.0-missing-declaration.patch b/libnl-1.0-missing-declaration.patch new file mode 100644 index 0000000..f041e04 --- /dev/null +++ b/libnl-1.0-missing-declaration.patch @@ -0,0 +1,12 @@ +--- libnl-1.0/lib/route/link/vlan.c.orig 2008-01-16 22:59:21.000000000 -0800 ++++ libnl-1.0/lib/route/link/vlan.c 2008-01-16 22:59:36.000000000 -0800 +@@ -27,6 +27,9 @@ + #include + + #include ++#ifndef VLAN_FLAG_REORDER_HDR ++#define VLAN_FLAG_REORDER_HDR 0x01 ++#endif + + /** @cond SKIP */ + #define VLAN_HAS_ID (1<<0) diff --git a/libnl.spec b/libnl.spec index 9d0fb35..0a46e8c 100644 --- a/libnl.spec +++ b/libnl.spec @@ -12,6 +12,7 @@ Patch1: libnl-1.0-pre5-static.patch Patch2: libnl-1.0-pre5-debuginfo.patch Patch3: libnl-1.0-pre8-use-vasprintf-retval.patch Patch4: libnl-1.0-pre8-more-build-output.patch +Patch5: libnl-1.0-missing-declaration.patch %description This package contains a convenience library to simplify @@ -34,6 +35,7 @@ This package contains various headers for using libnl %patch2 -p1 -b .debuginfo %patch3 -p1 -b .use-vasprintf-retval %patch4 -p1 -b .more-build-output +%patch5 -p1 -b .missing-declaration %build %configure