[SCM] snd/master: fixed REPRODUCIBLE_BUILD
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Wed Jan 27 11:07:04 UTC 2016
The following commit has been merged in the master branch:
commit 2ab9888640d4cda76d00750bc7bb127fb7994e79
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date: Wed Jan 27 11:39:16 2016 +0100
fixed REPRODUCIBLE_BUILD
diff --git a/debian/patches/reproducible.diff b/debian/patches/reproducible.diff
index a351954..9dcbd46 100644
--- a/debian/patches/reproducible.diff
+++ b/debian/patches/reproducible.diff
@@ -16,7 +16,7 @@ Last-Updated: 2016-01-27
", mpc: ", mpc_get_version(),
#endif
-#ifdef __DATE__
-+#if (defined(__DATE__) && (!(defined(REPRODUCIBLE_BUILD))
++#if (defined(__DATE__)) && (!(defined(REPRODUCIBLE_BUILD)))
"\n Compiled ", __DATE__, " ", __TIME__,
#endif
#ifdef __VERSION__
diff --git a/debian/rules b/debian/rules
index 2bd91af..c94efb1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -71,6 +71,9 @@ DEB_CONFIGURE_EXTRA_FLAGS_gtk-pulse = --with-gtk --with-pulseaudio
## append any extra args for configure
DEB_CONFIGURE_EXTRA_FLAGS += $(DEB_CONFIGURE_EXTRA_FLAGS_$(cdbs_make_curflavor))
+## do not embed __DATE__ (see debian/patches/reproducible.diff)
+CPPFLAGS+=-DREPRODUCIBLE_BUILD=1
+
# upstream naively (and wrongly) assumes
# that they only need to link against "-lpulse-simple"
DEB_MAKE_EXTRA_ARGS_gtk-pulse=AUDIO_LIB="$(shell pkg-config --libs libpulse-simple)"
--
snd packaging
More information about the pkg-multimedia-commits
mailing list