[SCM] mp4v2/master: debian/patches/: patchset updated

mfv at users.alioth.debian.org mfv at users.alioth.debian.org
Fri Aug 12 21:41:19 UTC 2016


The following commit has been merged in the master branch:
commit 91f95941cb9da2f0408842c02c4c8f91448155fc
Author: Matteo F. Vescovi <mfv at debian.org>
Date:   Fri Aug 12 22:57:42 2016 +0200

    debian/patches/: patchset updated
    
    - 0003-Reproducible_build.patch added
    
    Closes: #834159
    Thanks: Chris Lamb (lamby) for the patch.

diff --git a/debian/patches/0003-Reproducible_build.patch b/debian/patches/0003-Reproducible_build.patch
new file mode 100644
index 0000000..ef97f6e
--- /dev/null
+++ b/debian/patches/0003-Reproducible_build.patch
@@ -0,0 +1,20 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-08-12
+
+--- mp4v2-2.0.0~dfsg0.orig/configure.ac
++++ mp4v2-2.0.0~dfsg0/configure.ac
+@@ -137,7 +137,12 @@ PROJECT_repo_uuid="PRJ_repo_uuid"
+ PROJECT_repo_rev="PRJ_repo_rev"
+ PROJECT_repo_date="PRJ_repo_date"
+ PROJECT_repo_type="PRJ_repo_type"
+-PROJECT_build="`date`"
++
++if test -n "$SOURCE_DATE_EPOCH"; then
++	PROJECT_build="`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH"`"
++else
++	PROJECT_build="`date`"
++fi
+ 
+ test -z "$PROJECT_version_hex"   && PROJECT_version_hex="0x0000000000000000LL"
+ test -z "$PROJECT_version_major" && PROJECT_version_major="0"
diff --git a/debian/patches/series b/debian/patches/series
index cd1a4cc..4277a84 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Fix_mp4tags_corruption.patch
 0002-Fix_m4_error.patch
+0003-Reproducible_build.patch

-- 
mp4v2 packaging



More information about the pkg-multimedia-commits mailing list