[packages/open-vm-tools] - fixed patch - rel 8
baggins
baggins at pld-linux.org
Sun Apr 19 14:29:02 CEST 2015
commit 61a1176c6c11f12bf36b75bee34fa29eaddea08d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Apr 19 14:28:49 2015 +0200
- fixed patch
- rel 8
open-vm-tools-linux-3.18.3.patch | 12 ++++++------
open-vm-tools.spec | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/open-vm-tools.spec b/open-vm-tools.spec
index 33bebec..4777435 100644
--- a/open-vm-tools.spec
+++ b/open-vm-tools.spec
@@ -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
diff --git a/open-vm-tools-linux-3.18.3.patch b/open-vm-tools-linux-3.18.3.patch
index 060934c..1852baa 100644
--- a/open-vm-tools-linux-3.18.3.patch
+++ b/open-vm-tools-linux-3.18.3.patch
@@ -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) {
@@ -16,10 +16,10 @@
/* 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) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/open-vm-tools.git/commitdiff/61a1176c6c11f12bf36b75bee34fa29eaddea08d
More information about the pld-cvs-commit
mailing list