summaryrefslogtreecommitdiff
path: root/multimedia/vlc/patches/patch-ad
blob: 1daaa291eb2fbdff278b93478e8ed7634cdf645e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ad,v 1.6 2008/04/20 15:31:03 tonnerre Exp $

Fix compilability of CDDA code with modern libcdio versions.

--- modules/access/cdda/cdda.h.orig	2008-03-23 22:41:48.000000000 +0000
+++ modules/access/cdda/cdda.h
@@ -75,7 +75,7 @@ typedef enum {
   paranoia_none    = 0, /* Note: We make use of 0 as being the same as false */
   paranoia_overlap = 1, 
   paranoia_full    = 2
-} paranoia_mode_t;
+} vlc_paranoia_mode_t;
 
   
 /*****************************************************************************
@@ -107,7 +107,7 @@ typedef struct cdda_data_s
 
 #if LIBCDIO_VERSION_NUM >= 72
   /* Paranoia support */
-  paranoia_mode_t e_paranoia;         /* Use cd paranoia for reads? */
+  vlc_paranoia_mode_t e_paranoia;     /* Use cd paranoia for reads? */
   cdrom_drive_t *paranoia_cd;         /* Place to store drive
 					 handle given by paranoia. */
   cdrom_paranoia_t *paranoia;