[gdal] 01/01: Add (modified) patch by Alexis Bienvenüe to make the build reproducible.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri May 20 09:17:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository gdal.

commit caf37a5adc5ea187af41b0faca799f45d2364bec
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri May 20 02:17:59 2016 +0200

    Add (modified) patch by Alexis Bienvenüe to make the build reproducible.
---
 debian/changelog                                  |  7 +++++++
 debian/patches/series                             |  1 +
 debian/patches/sort-files-in-static-library.patch | 15 +++++++++++++++
 3 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 85dcb93..5c17f54 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gdal (2.1.0+dfsg-3) UNRELEASED; urgency=medium
+
+  * Add (modified) patch by Alexis Bienvenüe to make the build reproducible.
+    (closes: #824808)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 20 May 2016 02:16:47 +0200
+
 gdal (2.1.0+dfsg-2) unstable; urgency=medium
 
   * Update symbols for alpha, hppa, sparc64 & x32.
diff --git a/debian/patches/series b/debian/patches/series
index 4a9b77a..2d184aa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ spatialite
 java.opt
 perl-vendor
 privacy-breach-logo.patch
+sort-files-in-static-library.patch
diff --git a/debian/patches/sort-files-in-static-library.patch b/debian/patches/sort-files-in-static-library.patch
new file mode 100644
index 0000000..4d26d83
--- /dev/null
+++ b/debian/patches/sort-files-in-static-library.patch
@@ -0,0 +1,15 @@
+Description: Sort files passed as arguments to make the build reproducible.
+Author: Alexis Bienvenüe <pado at passoire.fr>
+Bug-Debian: https://bugs.debian.org/824808
+
+--- a/GNUmakefile
++++ b/GNUmakefile
+@@ -53,7 +53,7 @@ $(GDAL_SLIB):	$(GDAL_OBJ) $(GDAL_LIB)
+ 		-o $(GDAL_SLIB)
+ 
+ $(LIBGDAL):	$(GDAL_OBJ:.o=.lo)
+-	$(LD) $(LDFLAGS) $(LIBS) -o $@ $(GDAL_OBJ:.o=.lo) \
++	$(LD) $(LDFLAGS) $(LIBS) -o $@ $(sort $(wildcard $(GDAL_OBJ:.o=.lo))) \
+ 	    -rpath $(INST_LIB) \
+ 	    -no-undefined \
+ 	    -version-info $(LIBGDAL_CURRENT):$(LIBGDAL_REVISION):$(LIBGDAL_AGE)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gdal.git



More information about the Pkg-grass-devel mailing list