openbsd-ports/multimedia/lsdvd/patches/patch-lsdvd_c
ajacoutot 0ef01804a3 - update to lsdvd-0.16
- fix HOMEPAGE
2007-07-29 16:32:15 +00:00

21 lines
722 B
Plaintext

$OpenBSD: patch-lsdvd_c,v 1.3 2007/07/29 16:32:15 ajacoutot Exp $
--- lsdvd.c.orig Thu Mar 2 14:48:11 2006
+++ lsdvd.c Sun Jul 29 18:24:55 2007
@@ -13,6 +13,7 @@
* 2003-04-19 Cleanups get_title_name, added dvdtime2msec, added helper macros,
* output info structures in form of a Perl module, by Henk Vergonet.
*/
+#include <stdint.h>
#include <dvdread/ifo_read.h>
#include <string.h>
#include <sys/stat.h>
@@ -235,7 +236,7 @@ int main(int argc, char *argv[])
pgc_t *pgc;
int i, j, c, titles, cell, vts_ttn, title_set_nr;
char lang_code[3];
- char *dvd_device = "/dev/dvd";
+ char *dvd_device = "/dev/rcd0c";
int has_title = 0, ret = 0;
int max_length = 0, max_track = 0;
struct stat dvd_stat;