summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2008-01-28 17:59:30 +0000
committerMike Auty <ikelos@gentoo.org>2008-01-28 17:59:30 +0000
commit11cd6de4a43d67a1c25be526748a8ca7298af65c (patch)
tree6fbfb0366bf4c571e7a5fbb3d18012c108980084 /app-emulation/open-vm-tools/files
parentWarn on missing subversion package (#200395). (diff)
downloadhistorical-11cd6de4a43d67a1c25be526748a8ca7298af65c.tar.gz
historical-11cd6de4a43d67a1c25be526748a8ca7298af65c.tar.bz2
historical-11cd6de4a43d67a1c25be526748a8ca7298af65c.zip
Fix kernel build issues.
Package-Manager: portage-2.1.4
Diffstat (limited to 'app-emulation/open-vm-tools/files')
-rw-r--r--app-emulation/open-vm-tools/files/digest-open-vm-tools-0.0.20071121.64693-r13
-rw-r--r--app-emulation/open-vm-tools/files/open-vm-tools-kernel_stdint-soren.patch185
2 files changed, 188 insertions, 0 deletions
diff --git a/app-emulation/open-vm-tools/files/digest-open-vm-tools-0.0.20071121.64693-r1 b/app-emulation/open-vm-tools/files/digest-open-vm-tools-0.0.20071121.64693-r1
new file mode 100644
index 000000000000..6dfad2de76b7
--- /dev/null
+++ b/app-emulation/open-vm-tools/files/digest-open-vm-tools-0.0.20071121.64693-r1
@@ -0,0 +1,3 @@
+MD5 1cc034f14769375f41f6410d709dacbc open-vm-tools-2007.11.21-64693.tar.gz 2295022
+RMD160 e166040e713f4b7f8fae835862128a7ec3fdca75 open-vm-tools-2007.11.21-64693.tar.gz 2295022
+SHA256 b00530bf578b07127880ad3107b2b98873d3e5f74876dd94644bac3883be4431 open-vm-tools-2007.11.21-64693.tar.gz 2295022
diff --git a/app-emulation/open-vm-tools/files/open-vm-tools-kernel_stdint-soren.patch b/app-emulation/open-vm-tools/files/open-vm-tools-kernel_stdint-soren.patch
new file mode 100644
index 000000000000..994600115243
--- /dev/null
+++ b/app-emulation/open-vm-tools/files/open-vm-tools-kernel_stdint-soren.patch
@@ -0,0 +1,185 @@
+diff -u open-vm-tools-2007.11.21-64693/debian/changelog open-vm-tools-2007.11.21-64693/debian/changelog
+only in patch2:
+unchanged:
+--- open-vm-tools-2007.11.21-64693.orig/modules/linux/vmblock/include/driver-config.h
++++ open-vm-tools-2007.11.21-64693/modules/linux/vmblock/include/driver-config.h
+@@ -59,6 +59,11 @@
+ #endif
+ #endif
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
++/* Prevent uintptr_t from being declared in vm_basic_types.h. */
++#define _STDINT_H 1
++#endif
++
+ #ifndef __KERNEL__
+ #define __KERNEL__
+ #endif
+only in patch2:
+unchanged:
+--- open-vm-tools-2007.11.21-64693.orig/modules/linux/vmhgfs/cpNameLite.c
++++ open-vm-tools-2007.11.21-64693/modules/linux/vmhgfs/cpNameLite.c
+@@ -25,8 +25,8 @@
+ *
+ */
+
+-#include "vm_assert.h"
+ #include "cpNameLite.h"
++#include "vm_assert.h"
+
+ /*
+ *----------------------------------------------------------------------
+only in patch2:
+unchanged:
+--- open-vm-tools-2007.11.21-64693.orig/modules/linux/vmhgfs/cpName.c
++++ open-vm-tools-2007.11.21-64693/modules/linux/vmhgfs/cpName.c
+@@ -28,9 +28,9 @@
+ #include <string.h>
+ #endif
+
+-#include "vm_assert.h"
+ #include "cpName.h"
+ #include "cpNameInt.h"
++#include "vm_assert.h"
+
+ /*
+ *----------------------------------------------------------------------
+only in patch2:
+unchanged:
+--- open-vm-tools-2007.11.21-64693.orig/modules/linux/vmhgfs/cpNameLinux.c
++++ open-vm-tools-2007.11.21-64693/modules/linux/vmhgfs/cpNameLinux.c
+@@ -28,9 +28,9 @@
+ #include <memory.h>
+ #endif
+
+-#include "vm_assert.h"
+ #include "cpName.h"
+ #include "cpNameInt.h"
++#include "vm_assert.h"
+
+
+ /*
+only in patch2:
+unchanged:
+--- open-vm-tools-2007.11.21-64693.orig/modules/linux/vmhgfs/driver-config.h
++++ open-vm-tools-2007.11.21-64693/modules/linux/vmhgfs/driver-config.h
+@@ -59,6 +59,11 @@
+ #endif
+ #endif
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
++/* Prevent uintptr_t from being declared in vm_basic_types.h. */
++#define _STDINT_H 1
++#endif
++
+ #ifndef __KERNEL__
+ #define __KERNEL__
+ #endif
+only in patch2:
+unchanged:
+--- open-vm-tools-2007.11.21-64693.orig/modules/linux/vmhgfs/staticEscape.c
++++ open-vm-tools-2007.11.21-64693/modules/linux/vmhgfs/staticEscape.c
+@@ -36,8 +36,8 @@
+ # endif
+ #endif
+
+-#include "vm_assert.h"
+ #include "staticEscape.h"
++#include "vm_assert.h"
+
+
+ /*
+only in patch2:
+unchanged:
+--- open-vm-tools-2007.11.21-64693.orig/modules/linux/vmhgfs/fsutil.c
++++ open-vm-tools-2007.11.21-64693/modules/linux/vmhgfs/fsutil.c
+@@ -46,8 +46,8 @@
+ #include "fsutil.h"
+ #include "hgfsProto.h"
+ #include "staticEscape.h"
+-#include "vm_assert.h"
+ #include "vm_basic_types.h"
++#include "vm_assert.h"
+
+ static struct inode *HgfsInodeLookup(struct super_block *sb,
+ ino_t ino);
+only in patch2:
+unchanged:
+--- open-vm-tools-2007.11.21-64693.orig/modules/linux/vmhgfs/hgfsBd.c
++++ open-vm-tools-2007.11.21-64693/modules/linux/vmhgfs/hgfsBd.c
+@@ -33,10 +33,10 @@
+ # include "debug.h"
+ #endif
+
+-#include "vm_assert.h"
+ #include "rpcout.h"
+ #include "hgfs.h" // for common HGFS definitions
+ #include "hgfsBd.h"
++#include "vm_assert.h"
+
+
+ /*
+only in patch2:
+unchanged:
+--- open-vm-tools-2007.11.21-64693.orig/modules/linux/vmhgfs/kernelStubs.h
++++ open-vm-tools-2007.11.21-64693/modules/linux/vmhgfs/kernelStubs.h
+@@ -28,10 +28,10 @@
+ #define __KERNELSTUBS_H__
+
+ #ifdef linux
+-#include "vm_basic_types.h"
+ #include "driver-config.h"
+ #include <linux/kernel.h>
+ #include <linux/string.h>
++#include "vm_basic_types.h"
+ #elif defined(_WIN32)
+ #include "vm_basic_types.h"
+ #include <ntddk.h> /* kernel memory APIs */
+only in patch2:
+unchanged:
+--- open-vm-tools-2007.11.21-64693.orig/modules/linux/vmmemctl/driver-config.h
++++ open-vm-tools-2007.11.21-64693/modules/linux/vmmemctl/driver-config.h
+@@ -59,6 +59,11 @@
+ #endif
+ #endif
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
++/* Prevent uintptr_t from being declared in vm_basic_types.h. */
++#define _STDINT_H 1
++#endif
++
+ #ifndef __KERNEL__
+ #define __KERNEL__
+ #endif
+only in patch2:
+unchanged:
+--- open-vm-tools-2007.11.21-64693.orig/modules/linux/vmxnet/driver-config.h
++++ open-vm-tools-2007.11.21-64693/modules/linux/vmxnet/driver-config.h
+@@ -59,6 +59,11 @@
+ #endif
+ #endif
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
++/* Prevent uintptr_t from being declared in vm_basic_types.h. */
++#define _STDINT_H 1
++#endif
++
+ #ifndef __KERNEL__
+ #define __KERNEL__
+ #endif
+only in patch2:
+unchanged:
+--- open-vm-tools-2007.11.21-64693.orig/modules/linux/vmsync/driver-config.h
++++ open-vm-tools-2007.11.21-64693/modules/linux/vmsync/driver-config.h
+@@ -59,6 +59,11 @@
+ #endif
+ #endif
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
++/* Prevent uintptr_t from being declared in vm_basic_types.h. */
++#define _STDINT_H 1
++#endif
++
+ #ifndef __KERNEL__
+ #define __KERNEL__
+ #endif