e2d28e3a02
- Add cdio_free, iso9660_stat_free, and iso9660_xa_free functions. - Deprecate mmc_isrc_track_read_subchannel - Add mmc_get_track_isrc function. - Update OS versions we recognize - OSX, and MS Windows, ISO 9660 and other bug fixes - Remove Coverty scan warnins and errors - OS/2 driver performance update
23 lines
685 B
Text
23 lines
685 B
Text
$NetBSD: patch-ad,v 1.4 2014/10/09 11:55:22 adam Exp $
|
|
|
|
--- lib/driver/netbsd.c.orig 2014-06-21 02:10:56.000000000 +0000
|
|
+++ lib/driver/netbsd.c
|
|
@@ -55,7 +55,7 @@
|
|
#include "cdio_assert.h"
|
|
#include "cdio_private.h"
|
|
|
|
-#if defined(__NetBSD__) && defined(__i386__)
|
|
+#if defined(__NetBSD__) && (defined(__i386__) || defined(__amd64__))
|
|
#define DEFAULT_CDIO_DEVICE "/dev/rcd0d"
|
|
#else
|
|
#define DEFAULT_CDIO_DEVICE "/dev/rcd0c"
|
|
@@ -268,6 +268,9 @@ _cdio_read_toc(_img_private_t *_obj)
|
|
}
|
|
|
|
_obj->toc_valid = 1;
|
|
+ _obj->gen.i_first_track = FIRST_TRACK_NUM;
|
|
+ _obj->gen.i_tracks = TOTAL_TRACKS;
|
|
+ _obj->gen.toc_init = true;
|
|
return true;
|
|
}
|
|
|