OpenSDE Packages Database (without history before r20070)
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.

59 lines
2.0 KiB

  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 ---
  16. --- ./lsdvd.c.orig 2006-03-02 14:48:11.000000000 +0100
  17. +++ ./lsdvd.c 2006-03-15 09:35:58.000000000 +0100
  18. @@ -13,13 +13,13 @@
  19. * 2003-04-19 Cleanups get_title_name, added dvdtime2msec, added helper macros,
  20. * output info structures in form of a Perl module, by Henk Vergonet.
  21. */
  22. +#include <stdint.h>
  23. #include <dvdread/ifo_read.h>
  24. #include <string.h>
  25. #include <sys/stat.h>
  26. #include <stdio.h>
  27. #include <stdlib.h>
  28. #include <unistd.h>
  29. -#include <stdint.h>
  30. #include "lsdvd.h"
  31. #include "ocode.h"
  32. --- ./configure.orig 2005-12-12 21:22:45.000000000 +0100
  33. +++ ./configure 2006-03-15 09:44:50.000000000 +0100
  34. @@ -2887,8 +2887,8 @@
  35. cat confdefs.h >>conftest.$ac_ext
  36. cat >>conftest.$ac_ext <<_ACEOF
  37. /* end confdefs.h. */
  38. +#include <stdint.h>
  39. #include <dvdread/ifo_read.h>
  40. - #include <stdint.h>
  41. int
  42. main ()
  43. {
  44. --- ./configure.in.orig 2005-12-12 21:11:01.000000000 +0100
  45. +++ ./configure.in 2006-03-15 09:34:04.000000000 +0100
  46. @@ -10,8 +10,9 @@
  47. AC_CHECK_LIB(dvdread, DVDOpen, , AC_MSG_ERROR([libdvdread not found!]))
  48. AC_MSG_CHECKING([for dvdread/ifo_read.h])
  49. -AC_TRY_COMPILE([#include <dvdread/ifo_read.h>
  50. - #include <stdint.h>], ,
  51. +AC_TRY_COMPILE([#include <stdint.h>
  52. + #include <dvdread/ifo_read.h>
  53. + ], ,
  54. AC_MSG_RESULT([yes]),
  55. AC_MSG_RESULT([no])
  56. AC_MSG_ERROR([Header files for dvdread not found]))