Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158119 - Adding kernel version 2.6.18 support to ati-drivers
Summary: Adding kernel version 2.6.18 support to ati-drivers
Status: RESOLVED DUPLICATE of bug 148424
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-14 03:28 UTC by Adam Walters
Modified: 2006-12-14 03:32 UTC (History)
0 users

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


Attachments
Ebuild to support the patch I made. (ati-drivers-8.27.10-r2.ebuild,11.06 KB, application/octet-stream)
2006-12-14 03:30 UTC, Adam Walters
Details
Patch to make the compile work on 2.6.18. (ati-drivers-2.6.18.patch,4.64 KB, patch)
2006-12-14 03:32 UTC, Adam Walters
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Walters 2006-12-14 03:28:27 UTC
Hi,

I have made a patch, and subsequent ebuild to add 2.6.18 support into ati-drivers-8.27.10. It patches make.sh and firegl_public.c to point to new locations (and also removes references to VM_SHM, which was listed as useless in the kernel source for previous 2.6 kernel versions.) VM_SHM was defined as 0x00000000.

I named my ebuild ati-drivers-8.27.10-r2.ebuild, and my patch ati-drivers-2.6.18.patch.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-14 03:30:25 UTC

*** This bug has been marked as a duplicate of 148424 ***
Comment 2 Adam Walters 2006-12-14 03:30:44 UTC
Created attachment 104025 [details]
Ebuild to support the patch I made.

Proposed ebuild to support my patch. I noticed the 2.6.19 patch was blindly committed to the source in 8.30.3-r1, so I did the same.
Comment 3 Adam Walters 2006-12-14 03:32:32 UTC
Created attachment 104026 [details, diff]
Patch to make the compile work on 2.6.18.

Here is the patch to make the public code compile under linux kernel version 2.6.18. It just removes reference to VM_SHM and tells compiler to look in linux/utsrelease.h for UTS_RELEASE instead of linux/version.h.