aboutsummaryrefslogtreecommitdiff
path: root/libs/openldap/patches/110-reproducible-builds.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libs/openldap/patches/110-reproducible-builds.patch')
-rw-r--r--libs/openldap/patches/110-reproducible-builds.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/libs/openldap/patches/110-reproducible-builds.patch b/libs/openldap/patches/110-reproducible-builds.patch
new file mode 100644
index 000000000..2cdce8e5c
--- /dev/null
+++ b/libs/openldap/patches/110-reproducible-builds.patch
@@ -0,0 +1,21 @@
+Index: openldap-2.4.45/build/mkversion
+===================================================================
+--- openldap-2.4.45.orig/build/mkversion
++++ openldap-2.4.45/build/mkversion
+@@ -50,7 +50,6 @@ if test $# != 1 ; then
+ fi
+
+ APPLICATION=$1
+-WHOWHERE="$USER@`uname -n`:`pwd`"
+
+ cat << __EOF__
+ /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+@@ -72,7 +71,6 @@ static const char copyright[] =
+ "COPYING RESTRICTIONS APPLY\n";
+
+ $static $const char $SYMBOL[] =
+-"@(#) \$$PACKAGE: $APPLICATION $VERSION (" __DATE__ " " __TIME__ ") \$\n"
+-"\t$WHOWHERE\n";
++"@(#) \$$PACKAGE: $APPLICATION $VERSION\$\n";
+
+ __EOF__