View previous topic :: View next topic |
Author |
Message |
42n4 n00b
Joined: 10 Feb 2015 Posts: 9
|
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Wed Feb 11, 2015 12:47 pm Post subject: |
|
|
patches only work on the stuff they were build against it, afaik
and why are patches are simple?
just do not use unsupported kernels with binary drivers. OR !! edit the kernel accordingly as you can see on the patches where they need to be edited.
But do not expect that a patch will apply when you a different version which it was not build against it.
Quote: | How to utilise these simple patches on Gentoo? |
write an ebuild and apply the patches by hand, than run a diff on those, and name them accordingly for the ebuild. |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Wed Feb 11, 2015 1:59 pm Post subject: |
|
|
Or you can report a bug at https://bugs.gentoo.org/ and let the maintainer figure it out (if he is willing). |
|
Back to top |
|
|
42n4 n00b
Joined: 10 Feb 2015 Posts: 9
|
Posted: Fri Feb 13, 2015 7:10 pm Post subject: |
|
|
Patches are short and works in Arch Manjaro, but do not work in Gentoo under the same kernel. I think this bug report is a good idea. _________________ gentoo gcc 8.3.0 lto graphite, arm rpi3 7.4.0,
http://bit.ly/gen2ls |
|
Back to top |
|
|
Hotblack n00b
Joined: 28 Dec 2004 Posts: 46
|
Posted: Sat Feb 14, 2015 4:52 pm Post subject: |
|
|
This works for me (with local overlay PORTDIR_OVERLAY=/usr/local/portage in /etc/portage/make.conf)
copy Code: | manjaro_fglrx_319.patch | into Code: | /etc/portage/patches/x11-drivers/ati-drivers |
copy the whole directory Code: | /usr/portage/x11-drivers/ati-drivers | in Code: | /usr/local/portage/x11-drivers/ati-drivers |
delete all the ebuilds except ati-drivers-14.12-r3.ebuild from the local directory
edit the ebuild and add epatch_user at the end of the src_prepare() {} section
Code: |
src_prepare() {
.
.
.
epatch_user
}
|
Code: | # ebuild ati-drivers-14.12-r3.ebuild digest |
Code: | # emerge ati-drivers |
|
|
Back to top |
|
|
|