Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529633 - x11-drivers/nvidia-drivers-346.16: nvidia-drivers-331.13-pax-usercopy.patch fails to apply
Summary: x11-drivers/nvidia-drivers-346.16: nvidia-drivers-331.13-pax-usercopy.patch f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-17 19:09 UTC by Mike Gilbert
Modified: 2014-12-01 12:47 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nvidia-drivers-346.16.ebuild (nvidia-drivers-346.16.ebuild,13.63 KB, text/plain)
2014-12-01 12:27 UTC, Jacekalex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2014-11-17 19:09:20 UTC
PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/home/floppym/gentoo-x86/x11-drivers/nv
idia-drivers/files/nvidia-drivers-331.13-pax-usercopy.patch'

====================================================
checking file kernel/nv-linux.h
Hunk #1 FAILED at 757.
1 out of 1 hunk FAILED
checking file kernel/nv.c
Hunk #1 FAILED at 794.
Hunk #2 FAILED at 924.
Hunk #3 FAILED at 935.
3 out of 3 hunks FAILED
Comment 1 Jacekalex 2014-12-01 12:27:54 UTC
Created attachment 390696 [details]
nvidia-drivers-346.16.ebuild

For this driver:
 new patch:
https://www.grsecurity.net/~paxguy1/nvidia-drivers-346.16-pax-usercopy.patch
https://www.grsecurity.net/~paxguy1/nvidia-drivers-346.16-pax-constify.patch

All current patches are here:
https://www.grsecurity.net/~paxguy1/

qlist  -UCqv nvidia-drivers
x11-drivers/nvidia-drivers-346.16 X acpi gtk3 kernel_linux multilib pax_kernel tools


Cheers
;)
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-01 12:40:45 UTC
Comment on attachment 390696 [details]
nvidia-drivers-346.16.ebuild

--- nvidia-drivers-346.16.ebuild
+++ nvidia-drivers-346.16.ebuild
@@ -174,8 +174,8 @@
                ewarn "Using PAX patches is not supported. You will be asked to"
                ewarn "use a standard kernel should you have issues. Should you"
                ewarn "need support with these patches, contact the PaX team."
-               epatch "${FILESDIR}"/${PN}-331.13-pax-usercopy.patch
-               epatch "${FILESDIR}"/${PN}-337.12-pax-constify.patch
+               epatch "${FILESDIR}"/${PN}-346.16-pax-usercopy.patch
+               epatch "${FILESDIR}"/${PN}-346.16-pax-constify.patch
        fi

        # Allow user patches so they can support RC kernels and whatever else
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-01 12:47:51 UTC
+  01 Dec 2014; Jeroen Roovers <jer@gentoo.org> nvidia-drivers-346.16.ebuild,
+  +files/nvidia-drivers-346.16-pax-constify.patch,
+  +files/nvidia-drivers-346.16-pax-usercopy.patch:
+  Add new PaX patches (bug #529633).
+