]> git.pld-linux.org Git - packages/open-vm-tools.git/commitdiff
- fix building with linux 3.10.76 auto/th/open-vm-tools-9.4.6-10
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 30 Apr 2015 22:05:39 +0000 (00:05 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 30 Apr 2015 22:05:39 +0000 (00:05 +0200)
- rel 10

open-vm-tools-linux-3.18.3.patch
open-vm-tools.spec

index f94b3f383ac4f8748a5f00896533ac49a7e7e91e..d1ffb293a1904bfb84cf15783796b5decc2d4234 100644 (file)
@@ -4,7 +4,7 @@
                             p,
  #endif
                             &inode->i_dentry,
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 3)) || ((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 107)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 5, 0))) || ((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 40)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 15, 0)))
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 3)) || ((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 107)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 5, 0))) || ((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 40)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 15, 0))) || ((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 76)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 11, 0)))
 +                           d_u.d_alias) {
 +#else
                             d_alias) {
@@ -16,7 +16,7 @@
        /* Find a dentry with valid d_count. Refer bug 587879. */
        list_for_each(pos, &inode->i_dentry) {
           int dcount;
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 3)) || ((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 107)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 5, 0))) || ((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 40)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 15, 0)))
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 3)) || ((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 107)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 5, 0))) || ((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 40)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 15, 0))) || ((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 76)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3, 11, 0)))
 +         struct dentry *dentry = list_entry(pos, struct dentry, d_u.d_alias);
 +#else
           struct dentry *dentry = list_entry(pos, struct dentry, d_alias);
index 31a44f9b5bfe0cfa6864679fd5198c87309ae9b8..631a7d6d41600d3d7766a81913ba1769acee9972 100644 (file)
@@ -22,7 +22,7 @@ exit 1
 %define                subver  %(echo %{snap} | tr -d .)
 %define                ver     9.4.6
 %define                rev     1770165
-%define                rel     9
+%define                rel     10
 %define                pname   open-vm-tools
 %define                modsrc  modules/linux
 Summary:       VMWare guest utilities
This page took 0.209637 seconds and 4 git commands to generate.