diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2008-08-09 19:21:33 -0700 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2008-08-09 19:21:33 -0700 |
commit | 45f507f9f5cd0541100348bcc2bb7b2c887e9aa4 (patch) | |
tree | c941dd6c296b42e644142ffcc621cc3fc52c46d9 /app-laptop | |
parent | burrow-owl: add release ebuild for 1.4 and new starparse dep. (diff) | |
download | dberkholz-45f507f9f5cd0541100348bcc2bb7b2c887e9aa4.tar.gz dberkholz-45f507f9f5cd0541100348bcc2bb7b2c887e9aa4.tar.bz2 dberkholz-45f507f9f5cd0541100348bcc2bb7b2c887e9aa4.zip |
tp_smapi: fix for >=2.6.27 kernels.
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/tp_smapi/Manifest | 2 | ||||
-rw-r--r-- | app-laptop/tp_smapi/tp_smapi-0.37.ebuild | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/app-laptop/tp_smapi/Manifest b/app-laptop/tp_smapi/Manifest index 4e88f28..9082a9a 100644 --- a/app-laptop/tp_smapi/Manifest +++ b/app-laptop/tp_smapi/Manifest @@ -2,6 +2,6 @@ AUX 0.33-remove-cdev.patch 871 RMD160 aa03041890a2ff70587fd6db4d89076fda4f6699 S DIST tp_smapi-0.36.tgz 37597 RMD160 627e49fb5389af1613f3be423140a40c7776d84c SHA1 a44c346a6ca3954563f733465ed02052ba72fcc2 SHA256 ed70f240f56206493f699478d1a0b392eb7230cc1f0ecb57b1103d6cabe1e113 DIST tp_smapi-0.37.tgz 38261 RMD160 003d575a83351060703f8f8c5dd096f5c2f6173b SHA1 cebc7c0912aac997b99ecbd81b2afeb6ee7c0876 SHA256 2455a12c0c7a7e1cc36ff47a6f92036e11da87f10caef86a206688498b4d1fb5 EBUILD tp_smapi-0.36.ebuild 1213 RMD160 c90686f2662d11e7ca4c628d80c3eb7049dad695 SHA1 9367db9fc0ad90de90e1727646df57eee65ce88e SHA256 39313f39320f42ca1fff354aaa65e5a4a48270af1319df8256c96d7dd062b9e9 -EBUILD tp_smapi-0.37.ebuild 1334 RMD160 d82b4e268978cb0400d277f2259c42b7c2cd58ba SHA1 982d492caef4a188656338d764801310ce3051be SHA256 9a92413239776da8a748e44730d47fe2df7afc42a8e72b4dd68d3bd854caf8f3 +EBUILD tp_smapi-0.37.ebuild 1470 RMD160 e91401eb15d43447ecf6685ee11beb67e8cce300 SHA1 bbfed199587a4046b2096e9d49a96bb3173e2209 SHA256 c3a5350c101eb6b15e118f869c03504201ed05b74e07d3fab203cea78edc95ac MISC ChangeLog 2948 RMD160 25dca704075bb5b7183220bdf7c4c7412b7559f3 SHA1 7df385e3ff69efb387e463c6ca009b42fb81c710 SHA256 04f62e34a0f540c9a7224f076b5b29fb0ff77fe4940cf879b99633eda70db4bb MISC metadata.xml 247 RMD160 b3f1fa5b78abd67407da3071742319c07697ef8f SHA1 f44979eefe1314886e71e3796ecc964f2f86ef62 SHA256 7cb16124facba1f3e602873bd816878fa6f052500dd007e308c187f916e7e01f diff --git a/app-laptop/tp_smapi/tp_smapi-0.37.ebuild b/app-laptop/tp_smapi/tp_smapi-0.37.ebuild index df8a5c2..468c9f2 100644 --- a/app-laptop/tp_smapi/tp_smapi-0.37.ebuild +++ b/app-laptop/tp_smapi/tp_smapi-0.37.ebuild @@ -50,6 +50,14 @@ src_unpack() { # Remove usage of `sudo` in Makefile. sed -i 's,sudo ,,' Makefile + + # compile with 2.6.27 + if kernel_is ge 2 6 27; then + sed -i \ + -e "s:asm/semaphore.h:linux/semaphore.h:g" \ + *.c \ + || die + fi } src_install() { |