* updated kmousetool (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / multimedia / lsdvd / dvdread-include.patch
blobcdaa73cab48ca6aa3408a37720f1abd7a99de20d
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../lsdvd/dvdread-include.patch
5 # Copyright (C) 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- ./lsdvd.c.orig 2006-03-02 14:48:11.000000000 +0100
18 +++ ./lsdvd.c 2006-03-15 09:35:58.000000000 +0100
19 @@ -13,13 +13,13 @@
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.
23 +#include <stdint.h>
24 #include <dvdread/ifo_read.h>
25 #include <string.h>
26 #include <sys/stat.h>
27 #include <stdio.h>
28 #include <stdlib.h>
29 #include <unistd.h>
30 -#include <stdint.h>
31 #include "lsdvd.h"
32 #include "ocode.h"
34 --- ./configure.orig 2005-12-12 21:22:45.000000000 +0100
35 +++ ./configure 2006-03-15 09:44:50.000000000 +0100
36 @@ -2887,8 +2887,8 @@
37 cat confdefs.h >>conftest.$ac_ext
38 cat >>conftest.$ac_ext <<_ACEOF
39 /* end confdefs.h. */
40 +#include <stdint.h>
41 #include <dvdread/ifo_read.h>
42 - #include <stdint.h>
43 int
44 main ()
46 --- ./configure.in.orig 2005-12-12 21:11:01.000000000 +0100
47 +++ ./configure.in 2006-03-15 09:34:04.000000000 +0100
48 @@ -10,8 +10,9 @@
50 AC_CHECK_LIB(dvdread, DVDOpen, , AC_MSG_ERROR([libdvdread not found!]))
51 AC_MSG_CHECKING([for dvdread/ifo_read.h])
52 -AC_TRY_COMPILE([#include <dvdread/ifo_read.h>
53 - #include <stdint.h>], ,
54 +AC_TRY_COMPILE([#include <stdint.h>
55 + #include <dvdread/ifo_read.h>
56 + ], ,
57 AC_MSG_RESULT([yes]),
58 AC_MSG_RESULT([no])
59 AC_MSG_ERROR([Header files for dvdread not found]))