summaryrefslogtreecommitdiff
path: root/dev-libs/libnl/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libnl/files')
-rw-r--r--dev-libs/libnl/files/libnl-1.0_pre5-__u64_x86_64.patch15
-rw-r--r--dev-libs/libnl/files/libnl-1.0_pre5-include.diff10
-rw-r--r--dev-libs/libnl/files/libnl-1.0_pre6-__u64_x86_64.patch15
-rw-r--r--dev-libs/libnl/files/libnl-1.1-types.patch11
-rw-r--r--dev-libs/libnl/files/libnl-1.pc10
5 files changed, 61 insertions, 0 deletions
diff --git a/dev-libs/libnl/files/libnl-1.0_pre5-__u64_x86_64.patch b/dev-libs/libnl/files/libnl-1.0_pre5-__u64_x86_64.patch
new file mode 100644
index 00000000..ffa61a18
--- /dev/null
+++ b/dev-libs/libnl/files/libnl-1.0_pre5-__u64_x86_64.patch
@@ -0,0 +1,15 @@
+--- libnl-1.0-pre5/include/netlink-local.h.__u64_x86_64 2005-11-02 12:29:06.000000000 -0500
++++ libnl-1.0-pre5/include/netlink-local.h 2006-05-26 20:09:28.000000000 -0400
+@@ -30,11 +30,7 @@
+ #include <arpa/inet.h>
+ #include <netdb.h>
+
+-typedef uint8_t __u8;
+-typedef uint16_t __u16;
+-typedef uint32_t __u32;
+-typedef int32_t __s32;
+-typedef uint64_t __u64;
++#include <asm/types.h>
+
+ /* local header copies */
+ #include <linux/if.h>
diff --git a/dev-libs/libnl/files/libnl-1.0_pre5-include.diff b/dev-libs/libnl/files/libnl-1.0_pre5-include.diff
new file mode 100644
index 00000000..f858953c
--- /dev/null
+++ b/dev-libs/libnl/files/libnl-1.0_pre5-include.diff
@@ -0,0 +1,10 @@
+--- libnl-0.5.0.orig/include/netlink/route/tc.h 2005-09-08 19:13:15.000000000 -0300
++++ libnl-0.5.0/include/netlink/route/tc.h 2005-09-08 19:32:33.000000000 -0300
+@@ -24,6 +24,7 @@
+ #include <netlink/netlink.h>
+ #include <netlink/cache.h>
+ #include <netlink/data.h>
++#include <linux/pkt_sched.h>
+
+ #define TCA_HAS_HANDLE 0x001
+ #define TCA_HAS_PARENT 0x002
diff --git a/dev-libs/libnl/files/libnl-1.0_pre6-__u64_x86_64.patch b/dev-libs/libnl/files/libnl-1.0_pre6-__u64_x86_64.patch
new file mode 100644
index 00000000..fb89baa7
--- /dev/null
+++ b/dev-libs/libnl/files/libnl-1.0_pre6-__u64_x86_64.patch
@@ -0,0 +1,15 @@
+--- libnl-1.0-pre5/include/netlink-local.h.__u64_x86_64 2005-11-02 12:29:06.000000000 -0500
++++ libnl-1.0-pre5/include/netlink-local.h 2006-05-26 20:09:28.000000000 -0400
+@@ -30,11 +30,7 @@
+ #include <arpa/inet.h>
+ #include <netdb.h>
+
+-typedef uint8_t __u8;
+-typedef uint16_t __u16;
+-typedef uint32_t __u32;
+-typedef int32_t __s32;
+-typedef uint64_t __u64;
++#include <linux/types.h>
+
+ /* local header copies */
+ #include <linux/if.h>
diff --git a/dev-libs/libnl/files/libnl-1.1-types.patch b/dev-libs/libnl/files/libnl-1.1-types.patch
new file mode 100644
index 00000000..8c639a47
--- /dev/null
+++ b/dev-libs/libnl/files/libnl-1.1-types.patch
@@ -0,0 +1,11 @@
+diff -Nurp libnl-1.1.orig/include/linux/if_link.h libnl-1.1/include/linux/if_link.h
+--- libnl-1.1.orig/include/linux/if_link.h 2008-01-30 17:47:40.000000000 +0000
++++ libnl-1.1/include/linux/if_link.h 2008-01-30 17:47:51.000000000 +0000
+@@ -1,6 +1,7 @@
+ #ifndef _LINUX_IF_LINK_H
+ #define _LINUX_IF_LINK_H
+
++typedef unsigned long long __u64;
+ #include <linux/netlink.h>
+
+ /* The struct should be in sync with struct net_device_stats */
diff --git a/dev-libs/libnl/files/libnl-1.pc b/dev-libs/libnl/files/libnl-1.pc
new file mode 100644
index 00000000..6dd5a895
--- /dev/null
+++ b/dev-libs/libnl/files/libnl-1.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=/usr
+libdir=/usr/lib
+includedir=/usr/include
+
+Name: libnl
+Description: Convenience library for netlink sockets
+Version: 1.0-pre3
+Libs: -L${libdir} -lnl
+Cflags: