why not patching the sources?

there is nothing messing in fedora
devel-kernel 2.6.40 was renamed to 3.0 from linux
so fedoras 2.6.40 is 3.0 and fedoras 2.6.41 is 3.1

and since upstream > 2.6.39 was never released this is safe

the original comment above my changed line speaks about
3.1 and in the source is KERNEL_VERSION(3, 0, 0), wrong
comment or bug, anyways 2.6-41 is correct for fedora

[root@buildserver64:~]$ cat /rpmbuild/SOURCES/open-vm-tools-2.6.41.patch
--- open-vm-tools-original/modules/linux/shared/compat_netdevice.h      
2011-10-27 20:57:11.000000000 +0200
+++ open-vm-tools-patched/modules/linux/shared/compat_netdevice.h       
2011-11-23 16:57:55.814275389 +0100
@@ -184,7 +184,7 @@
  * so let's add back ones we care about.
  */
 #if !defined(HAVE_NET_DEVICE_OPS) && \
-         LINUX_VERSION_CODE >= KERNEL_VERSION(3, 0, 0)
+         LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 41)
 #   define HAVE_NET_DEVICE_OPS 1
 #endif

Am 23.11.2011 19:58, schrieb Marcelo Vanzin:
> Hi Reindl,
> 
> I have an update to 8.8.x open-vm-tools that should provide a fix for that;
> but it will probably need adjustments since Fedora is messing with the kernel
> version numbers.
> 
> I'm planning to post the update later today.
> 
> On 11/23/2011 06:55 AM, Reindl Harald wrote:
>> hi
>>
>> currently there seems to be no way to get open-vm-tools compiled with 
>> recent 2.6.41-kernels of Fedora 15 and rpmfusion seems to have totally 
>> dropped there packages

-- 

Mit besten Grüßen, Reindl Harald
the lounge interactive design GmbH
A-1060 Vienna, Hofmühlgasse 17
CTO / software-development / cms-solutions
p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
icq: 154546673, http://www.thelounge.net/

http://www.thelounge.net/signature.asc.what.htm

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to