You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
2.0 KiB

# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../lsdvd/dvdread-include.patch
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- ./lsdvd.c.orig 2006-03-02 14:48:11.000000000 +0100
+++ ./lsdvd.c 2006-03-15 09:35:58.000000000 +0100
@@ -13,13 +13,13 @@
* 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>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
-#include <stdint.h>
#include "lsdvd.h"
#include "ocode.h"
--- ./configure.orig 2005-12-12 21:22:45.000000000 +0100
+++ ./configure 2006-03-15 09:44:50.000000000 +0100
@@ -2887,8 +2887,8 @@
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <stdint.h>
#include <dvdread/ifo_read.h>
- #include <stdint.h>
int
main ()
{
--- ./configure.in.orig 2005-12-12 21:11:01.000000000 +0100
+++ ./configure.in 2006-03-15 09:34:04.000000000 +0100
@@ -10,8 +10,9 @@
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>
- #include <stdint.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]))