diff options
author | Michael Januszewski <spock@gentoo.org> | 2006-08-08 21:25:25 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2006-08-08 21:25:25 +0000 |
commit | 3e0a26eb504ea7867a015c1b2a0de541a581a2f9 (patch) | |
tree | 46f82ead4d39b75d79a7922a05d53ba27908d258 /app-misc/cdctl/files | |
parent | Bump as requested in #143251. (diff) | |
download | gentoo-2-3e0a26eb504ea7867a015c1b2a0de541a581a2f9.tar.gz gentoo-2-3e0a26eb504ea7867a015c1b2a0de541a581a2f9.tar.bz2 gentoo-2-3e0a26eb504ea7867a015c1b2a0de541a581a2f9.zip |
Add a patch to fix compilation with modern 2.6 kernels.
(Portage version: 2.1.1_pre4-r4)
Diffstat (limited to 'app-misc/cdctl/files')
-rw-r--r-- | app-misc/cdctl/files/cdctl-0.15-cdc_ioctls.patch | 13 | ||||
-rw-r--r-- | app-misc/cdctl/files/digest-cdctl-0.15 | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/app-misc/cdctl/files/cdctl-0.15-cdc_ioctls.patch b/app-misc/cdctl/files/cdctl-0.15-cdc_ioctls.patch new file mode 100644 index 000000000000..8e440955907b --- /dev/null +++ b/app-misc/cdctl/files/cdctl-0.15-cdc_ioctls.patch @@ -0,0 +1,13 @@ +diff -Naurp cdctl-0.15-orig/cdctl.c cdctl-0.15/cdctl.c +--- cdctl-0.15-orig/cdctl.c 2006-08-08 23:18:44.000000000 +0200 ++++ cdctl-0.15/cdctl.c 2006-08-08 23:19:33.000000000 +0200 +@@ -337,7 +337,9 @@ int do_print_capabilities(int cdrom) { + printf("Can report media change: %i\n", (ret & CDC_MEDIA_CHANGED)?1:0); + printf("Can play audio discs : %i\n", (ret & CDC_PLAY_AUDIO)?1:0); + printf("Can do a hard reset : %i\n", (ret & CDC_RESET)?1:0); ++#ifdef CDC_IOCTLS + printf("Has non-standard ioctls: %i\n", (ret & CDC_IOCTLS)?1:0); ++#endif + printf("Can report drive status: %i\n", (ret & CDC_DRIVE_STATUS)?1:0); + + #ifdef CDROM_CHANGER_NSLOTS diff --git a/app-misc/cdctl/files/digest-cdctl-0.15 b/app-misc/cdctl/files/digest-cdctl-0.15 index 4a90bff36c55..51bfe698948a 100644 --- a/app-misc/cdctl/files/digest-cdctl-0.15 +++ b/app-misc/cdctl/files/digest-cdctl-0.15 @@ -1 +1,3 @@ MD5 0c969093d6845021f23f90ec1334d524 cdctl-0.15.tar.gz 44163 +RMD160 d75b4958d92dc143d25f78bf37ca59633bbe30f6 cdctl-0.15.tar.gz 44163 +SHA256 6e9b6cbc6824c5fab7e7a45878605296ad8c62692cac6db468d5e42296d51e39 cdctl-0.15.tar.gz 44163 |