summaryrefslogtreecommitdiff
path: root/debian/patches/make-build-output-independent-of-basenam.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/make-build-output-independent-of-basenam.patch')
-rw-r--r--debian/patches/make-build-output-independent-of-basenam.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/make-build-output-independent-of-basenam.patch b/debian/patches/make-build-output-independent-of-basenam.patch
new file mode 100644
index 0000000..650dcd9
--- /dev/null
+++ b/debian/patches/make-build-output-independent-of-basenam.patch
@@ -0,0 +1,24 @@
+From: Daniel Shahaf <danielsh@apache.org>
+Date: Tue, 22 Dec 2020 02:34:33 +0000
+X-Dgit-Generated: 265-6 39b5ad825edc1220edb289947a53c7ad26e79614
+Subject: Make build output independent of basename of source directory
+
+(Closes: #845229)
+
+Needed for reproducible builds.
+
+Author: Daniel Shahaf <danielsh@apache.org>
+Bug-Debian: https://bugs.debian.org/845229
+Last-Update: 2016-11-21
+
+---
+
+--- libnss-ldap-265.orig/Makefile.am
++++ libnss-ldap-265/Makefile.am
+@@ -109,5 +109,5 @@ uninstall-local:
+ @$(NORMAL_UNINSTALL)
+
+ vers.c: $(top_srcdir)/CVSVersionInfo.txt
+- CVSVERSIONDIR=$(top_srcdir) $(top_srcdir)/vers_string -v
++ CVSVERSIONDIR=$(top_srcdir) PROGRAM="libnss-ldap-$(VERSION)" $(top_srcdir)/vers_string -v
+