summaryrefslogtreecommitdiff
path: root/multimedia/lsdvd/patches/patch-aa
blob: 80fa9466b4654d1ebba825c1dfe8b78cccfd7443 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aa,v 1.2 2006/04/15 21:23:39 wiz Exp $

--- configure.in.orig	2003-09-29 21:02:16.000000000 +0000
+++ configure.in
@@ -3,9 +3,11 @@ AC_INIT(lsdvd.c)
 AM_INIT_AUTOMAKE(lsdvd, 0.10)
 CFLAGS=-g
 AC_PROG_CC
+AC_CHECK_HEADERS([stdint.h inttypes.h])
 AC_CHECK_LIB(dvdread, DVDOpen, , AC_MSG_ERROR([libdvdread not found!]))
 AC_MSG_CHECKING([for dvdread/ifo_read.h])
-AC_TRY_COMPILE([#include <dvdread/ifo_read.h>], ,
+AC_TRY_COMPILE([#include <stdint.h>
+#include <dvdread/ifo_read.h>], ,
 	AC_MSG_RESULT([yes]), 
 	AC_MSG_RESULT([no]) 
 	AC_MSG_ERROR([Header files for dvdread not found]))