mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
2a9f1991aa
- Remove deprecated WANT_GNOME - Turn pkg-plist to PLIST_FILES, PORTDOCS - only 2 plist items - Convert to options helpers, add missing dependencies when GTK1=on - Fix build when SVGALIB=on => patch-video__svga.c - Regenerate patches with make makepatch
32 lines
751 B
C
32 lines
751 B
C
--- cd_unix.c.orig 2000-10-30 22:18:23 UTC
|
|
+++ cd_unix.c
|
|
@@ -62,7 +62,6 @@ void cd_read_next_sector(u8 *buf)
|
|
|
|
void cd_play_track(u8 track)
|
|
{
|
|
-#ifdef SYSTEM_FREEBSD
|
|
struct ioc_play_track playtrack;
|
|
|
|
/* FIXME: CD keeps playing after program quits */
|
|
@@ -74,12 +73,10 @@ void cd_play_track(u8 track)
|
|
playtrack.end_index = 1;
|
|
|
|
ioctl(cd_drive, CDIOCPLAYTRACKS, &playtrack);
|
|
-#endif
|
|
}
|
|
|
|
void cd_play_lba(u32 from, u32 to, int repeat)
|
|
{
|
|
-#ifdef SYSTEM_FREEBSD
|
|
struct ioc_play_blocks playblocks;
|
|
|
|
/* FIXME: ignores the repeat flag */
|
|
@@ -94,7 +91,6 @@ void cd_play_lba(u32 from, u32 to, int repeat)
|
|
playblocks.len = to - from;
|
|
|
|
ioctl(cd_drive, CDIOCPLAYBLOCKS, &playblocks);
|
|
-#endif
|
|
}
|
|
|
|
#ifdef SYSTEM_LINUX
|