Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37567497
en ru br
ALT Linux repositórios
S:0.15-alt1.qa1
5.0: 0.15-alt1
4.1: 0.15-alt1

Group :: Sistema/Kernel e hardware
RPM: cdctl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: cdctl-0.15-cdc_ioctls.patch
Download


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
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009