shithub: libdvdcss

Download patch

ref: 1ee4cfdfd0b57372111aec320597376805f4cc9d
parent: efd20464a07fdff475b6cecedb8b743f32efe905
author: Diego Elio Pettenò <flameeyes@flameeyes.eu>
date: Wed Feb 13 14:02:08 EST 2013

build: allow once again building of dvd_region binary

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>

--- a/.gitignore
+++ b/.gitignore
@@ -25,6 +25,7 @@
 doc/doxygen.cfg
 doc/html
 doc/latex
+dvd_region
 install-sh
 libtool
 ltmain.sh
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,7 +8,7 @@
 	$(MAKE) -C doc
 
 lib_LTLIBRARIES = libdvdcss.la
-EXTRA_PROGRAMS = csstest
+EXTRA_PROGRAMS = csstest dvd_region
 
 libdvdcss_la_SOURCES = \
 	src/libdvdcss.c \
@@ -43,6 +43,10 @@
 csstest_SOURCES = test/csstest.c
 csstest_LDADD = libdvdcss.la
 csstest_CFLAGS = -I $(top_srcdir)/src
+
+dvd_region_SOURCES = test/dvd_region.c
+dvd_region_LDADD = libdvdcss.la
+dvd_region_CFLAGS = -I $(top_srcdir)/src
 
 pkgincludedir = $(includedir)/dvdcss
 pkginclude_HEADERS = src/dvdcss/dvdcss.h