![](https://seccdn.libravatar.org/avatar/b150acea6b2203078d2a9d30bedeee91.jpg?s=120&d=mm&r=g)
On 31/12/17 23:00, Markus Koßmann wrote:
Am Sonntag, 31. Dezember 2017, 20:10:07 schrieb Basil Chupin:
On 31/12/17 17:40, Markus Ko�mann wrote:
Am Sonntag, 31. Dezember 2017, 08:14:51 schrieb Dave Plater:
The above "---" and "---" lines show patch where to find the file to patch, it seems your working directory is /data/Nvidia-384.98 so if you delete the "nvidia-384-orig/" and "nvidia-384/" parts from the: "--- nvidia-384-orig/nvidia-uvm/uvm8_va_block.c" and "+++ nvidia-384/nvidia-uvm/uvm8_va_block.c" parts in patch then it should apply, with a bit of luck. Another option would be to unpack the NVidia blob first with NVIDIA-Linux-x86_64-384.98.run --extract-only Then apply the patch and run nvidia-installer ( in the directory with the unpacked files) This was the first patch version I ran before posting my "I give up!" message. Got the same error msg as I mentioned earlier.
As the patch just adds three three lines to uvm8_va_block.c you can also "apply" the patch by editing that file manually. Just add the three lines behind the plus signs ( without the plus signs ) to uvm8_va_block.c after the block with the other #includes.
Good advice -- did that and the Nvidia 384.98 then compiled :-). Thank you. @ Dave: sorry, Dave, but that rewrite of the patch still does not 'work', but your help is greatly appreciated. BC -- Always be nice to people on your way up -- you'll see the same people on your way down. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org