Hello community,

here is the log from the commit of package graphviz for openSUSE:Factory 
checked in at 2017-05-31 12:11:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/graphviz (Old)
 and      /work/SRC/openSUSE:Factory/.graphviz.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "graphviz"

Wed May 31 12:11:27 2017 rev:70 rq:498873 version:2.38.0

Changes:
--------
graphviz-plugins.changes: same change
graphviz-smyrna.changes: same change
--- /work/SRC/openSUSE:Factory/graphviz/graphviz.changes        2015-06-12 
20:28:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.graphviz.new/graphviz.changes   2017-05-31 
12:11:29.858228222 +0200
@@ -1,0 +2,5 @@
+Sun May 28 11:46:05 UTC 2017 - [email protected]
+
+- Add reproducible.patch to not have binaries depend on build system timings
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
graphviz-plugins.spec: same change
graphviz-smyrna.spec: same change
++++++ graphviz.spec ++++++
--- /var/tmp/diff_new_pack.9pPUUP/_old  2017-05-31 12:11:31.481999020 +0200
+++ /var/tmp/diff_new_pack.9pPUUP/_new  2017-05-31 12:11:31.485998455 +0200
@@ -34,6 +34,8 @@
 Patch3:         graphviz-no_strict_aliasing.patch
 #PATCH-FIX-UPSTREAM Off-by-one bug
 Patch4:         graphviz-array_overflow.patch
+#PATCH-FIX-OPENSUSE Make build reproducible
+Patch5:         reproducible.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bison
@@ -100,6 +102,7 @@
 %patch2
 %patch3
 %patch4
+%patch5 -p1
 
 rm -f contrib/gprof2dot.awk
 

++++++ reproducible.patch ++++++
Do not have binaries depend on build system timings
because we are building in VMs anyway
and users might have different hardware

Index: graphviz-2.38.0/lib/sfio/features/sfio
===================================================================
--- graphviz-2.38.0.orig/lib/sfio/features/sfio
+++ graphviz-2.38.0/lib/sfio/features/sfio
@@ -260,9 +260,7 @@ tst output{
 
                unlink(file);
        
-               if(4*mmtm <= 3*rdtm)            /* mmap is great! */
-                       printf("#define _mmap_worthy    2       \n");
-               else if(4*mmtm <= 5*rdtm)       /* mmap is good */
+                       /* mmap is good */
                        printf("#define _mmap_worthy    1       \n");
        
                return 0;

Reply via email to