summaryrefslogtreecommitdiff
path: root/libdvdcss/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'libdvdcss/debian/patches')
-rw-r--r--libdvdcss/debian/patches/nogit.patch15
-rw-r--r--libdvdcss/debian/patches/series2
2 files changed, 17 insertions, 0 deletions
diff --git a/libdvdcss/debian/patches/nogit.patch b/libdvdcss/debian/patches/nogit.patch
new file mode 100644
index 0000000..4c36e6d
--- /dev/null
+++ b/libdvdcss/debian/patches/nogit.patch
@@ -0,0 +1,15 @@
+diff -Naur libdvdcss-1.4.2/Makefile.am libdvdcss-1.4.2-1/Makefile.am
+--- libdvdcss-1.4.2/Makefile.am 2018-03-18 07:48:18.000000000 -0400
++++ libdvdcss-1.4.2-1/Makefile.am 2019-03-13 22:10:34.530588016 -0400
+@@ -8,11 +8,6 @@
+ MAINTAINERCLEANFILES = ChangeLog
+
+ ChangeLog: $(wildcard $(srcdir)/.git/logs/HEAD)
+-if GIT
+- -cd $(srcdir) && git log > $(abs_builddir)/$(@)-tmp
+- test -s $(@)-tmp && mv $(@)-tmp $(@)
+- -rm -f $(@)-tmp
+-endif
+ test -e $(@) || touch $(@)
+
+ lib_LTLIBRARIES = libdvdcss.la
diff --git a/libdvdcss/debian/patches/series b/libdvdcss/debian/patches/series
new file mode 100644
index 0000000..deef9e8
--- /dev/null
+++ b/libdvdcss/debian/patches/series
@@ -0,0 +1,2 @@
+# You must remove unused comment lines for the released package.
+nogit.patch -p1
bgstack15