PageRenderTime 14ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/media-video/lsdvd/files/lsdvd-0.15-types.patch

http://github.com/stsquad/Gentoo-Overlay
Patch | 26 lines | 26 code | 0 blank | 0 comment | 0 complexity | 2c7745e19fdde121c6fddc416ea42137 MD5 | raw file
 1Index: lsdvd-0.15/configure.in
 2===================================================================
 3--- lsdvd-0.15.orig/configure.in
 4+++ lsdvd-0.15/configure.in
 5@@ -5,7 +5,8 @@ CFLAGS=-g
 6 AC_PROG_CC
 7 AC_CHECK_LIB(dvdread, DVDOpen, , AC_MSG_ERROR([libdvdread not found!]))
 8 AC_MSG_CHECKING([for dvdread/ifo_read.h])
 9-AC_TRY_COMPILE([#include <dvdread/ifo_read.h>], ,
10+AC_TRY_COMPILE([#include <stdint.h>
11+	#include <dvdread/ifo_read.h>], ,
12 	AC_MSG_RESULT([yes]), 
13 	AC_MSG_RESULT([no]) 
14 	AC_MSG_ERROR([Header files for dvdread not found]))
15Index: lsdvd-0.15/lsdvd.c
16===================================================================
17--- lsdvd-0.15.orig/lsdvd.c
18+++ lsdvd-0.15/lsdvd.c
19@@ -13,6 +13,7 @@
20  *  2003-04-19  Cleanups get_title_name, added dvdtime2msec, added helper macros,
21  *			  output info structures in form of a Perl module, by Henk Vergonet.
22  */
23+#include <stdint.h>
24 #include <dvdread/ifo_read.h>
25 #include <string.h>
26 #include <sys/stat.h>