]> git.pld-linux.org Git - packages/open-vm-tools.git/commitdiff
- fixed patch auto/th/open-vm-tools-9.4.6-8
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 19 Apr 2015 12:28:49 +0000 (14:28 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 19 Apr 2015 12:28:49 +0000 (14:28 +0200)
- rel 8

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

index 060934c412f15ce8769c443de4c66cbd1f7f78da..1852baa0efd5499cd2be906237eabad4a0b24f85 100644 (file)
@@ -4,10 +4,10 @@
                             p,
  #endif
                             &inode->i_dentry,
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 3) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 107)
-                            d_alias) {
-+#else
++#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)))
 +                           d_u.d_alias) {
++#else
+                            d_alias) {
 +#endif
           int dcount = compat_d_count(dentry);
           if (dcount) {
        /* 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)
-          struct dentry *dentry = list_entry(pos, struct dentry, d_alias);
-+#else
++#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)))
 +         struct dentry *dentry = list_entry(pos, struct dentry, d_u.d_alias);
++#else
+          struct dentry *dentry = list_entry(pos, struct dentry, d_alias);
 +#endif
           dcount = compat_d_count(dentry);
           if (dcount) {
index 33bebec93f5b7427191db47e3735936d30c1afad..4777435fb3912c5071eddcf67fc1aba573b428b4 100644 (file)
@@ -22,7 +22,7 @@ exit 1
 %define                subver  %(echo %{snap} | tr -d .)
 %define                ver     9.4.6
 %define                rev     1770165
-%define                rel     7
+%define                rel     8
 %define                pname   open-vm-tools
 %define                modsrc  modules/linux
 Summary:       VMWare guest utilities
This page took 0.145143 seconds and 4 git commands to generate.