Source: json-glib
Version: 1.4.2-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that json-glib could not be built reproducibly.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/0002-Reproducible-build.patch      1970-01-01 
09:00:00.000000000 +0900
--- b/debian/patches/0002-Reproducible-build.patch      2017-11-22 
08:31:35.765749320 +0900
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2017-11-22
+
+--- json-glib-1.4.2.orig/json-glib/json-enum-types.h.in
++++ json-glib-1.4.2/json-glib/json-enum-types.h.in
+@@ -14,7 +14,7 @@ G_BEGIN_DECLS
+ /*** END file-header ***/
+ 
+ /*** BEGIN file-production ***/
+-/* enumerations from "@filename@" */
++/* enumerations from "@basename@" */
+ /*** END file-production ***/
+ 
+ /*** BEGIN file-tail ***/
--- a/debian/patches/series     2017-11-22 08:28:57.372694770 +0900
--- b/debian/patches/series     2017-11-22 08:31:34.781742769 +0900
@@ -1,2 +1,3 @@
 0001-Add-float-comparison-utility-macros-for-tests.patch
 0002-Use-fuzzy-comparison-for-floating-point-values.patch
+0002-Reproducible-build.patch

Reply via email to