From midnightbsd at BSDforge.com Tue Dec 22 21:24:36 2015 From: midnightbsd at BSDforge.com (Chris H) Date: Tue, 22 Dec 2015 18:24:36 -0800 Subject: [Midnightbsd-mports] fix (patch) for x11/nvidia-driver-173-173.14.39_2 Message-ID: <095e7610927ca5dfc8418afa711bf890@ultimatedns.net> Greetings, all. I went to attempt a make on x11/nvidia-driver-173-173.14.39_2 and discovered quite quickly that it was broken. I had a closer look, and found that the patch: x11/nvidia-driver/files/security-patch-CVE-2012-0946 was completely BOGUS. Turns out that nVidia already patched src/nv.h in the distribution. So that part was useless. Where src/nvidia_subr.c is concerned; It comes down to a choice of return EINVAL (already provided), or return -1 (what's provided in the original patch). I chose the latter, and cobbled up a replacement patch (attached). I proceeded with the make && install. I then bounced the box, and all's well. The patch is a unified diff, I'm not quite setup for svn diff's yet. As I'm still building the box. Best wishes. --Chris -- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: security-patch-CVE-2012-0946 URL: