[packages/lsdvd] adapted to 0.17

sls sls at pld-linux.org
Tue Jan 20 10:39:49 CET 2015


commit b0ce52625a0cb544205f9a4e6726c14f2bec9113
Author: Szymon Siwek <sls at pld-linux.org>
Date:   Sun Jan 18 22:18:47 2015 +0100

    adapted to 0.17

 lsdvd-stdint.patch | 47 +++++++++--------------------------------------
 1 file changed, 9 insertions(+), 38 deletions(-)
---
diff --git a/lsdvd-stdint.patch b/lsdvd-stdint.patch
index 7f85ce1..e58954d 100644
--- a/lsdvd-stdint.patch
+++ b/lsdvd-stdint.patch
@@ -1,39 +1,10 @@
---- lsdvd-0.16/lsdvd.c.orig	2006-03-02 14:48:11.000000000 +0100
-+++ lsdvd-0.16/lsdvd.c	2006-03-04 21:17:44.363323500 +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 <dvdread/ifo_read.h>
- #include <string.h>
- #include <sys/stat.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <unistd.h>
- #include <stdint.h>
-+#include <dvdread/ifo_read.h>
- #include "lsdvd.h"
- #include "ocode.h"
- 
---- lsdvd-0.16/configure.in.orig	2005-12-12 21:11:01.000000000 +0100
-+++ lsdvd-0.16/configure.in	2006-03-04 21:18:12.821102000 +0100
-@@ -1,7 +1,7 @@
- dnl Process this file with autoconf to produce a configure script.
- AC_INIT(lsdvd.c)
- AM_INIT_AUTOMAKE(lsdvd, 0.16)
--CFLAGS="$CFLAGS -g -D_FILE_OFFSET_BITS=64"
-+CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64"
- AC_PROG_CC
- 
+--- lsdvd-0.16/configure.ac.orig	2005-12-12 21:11:01.000000000 +0100
++++ lsdvd-0.16/configure.ac	2006-03-04 21:18:12.821102000 +0100
+@@ -4,6 +4,7 @@ AC_PROG_CC
  if eval "test x$GCC = xyes"; then # Enable warnings when using GCC
-@@ -10,8 +10,8 @@
- 
- 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]))
+   CFLAGS="$CFLAGS -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wformat -Werror=format-security"
+ fi
++CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64"
+ AC_SYS_LARGEFILE
+ PKG_CHECK_MODULES([DVDREAD], [dvdread >= 4.1.3])
+ AC_ARG_ENABLE([debug],
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lsdvd.git/commitdiff/5ef20e901c10b7afd4b10b28a3ce498cd867c213



More information about the pld-cvs-commit mailing list