forked from pool/graphviz
Accepting request 498873 from graphics
1 OBS-URL: https://build.opensuse.org/request/show/498873 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/graphviz?expand=0&rev=70
This commit is contained in:
commit
21dd7ef1b8
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 28 11:46:05 UTC 2017 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
- Add reproducible.patch to not have binaries depend on build system timings
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 10 06:54:27 UTC 2015 - mpluskal@suse.com
|
Wed Jun 10 06:54:27 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
@ -34,6 +34,8 @@ Patch2: graphviz-fix-pkgIndex.patch
|
|||||||
Patch3: graphviz-no_strict_aliasing.patch
|
Patch3: graphviz-no_strict_aliasing.patch
|
||||||
#PATCH-FIX-UPSTREAM Off-by-one bug
|
#PATCH-FIX-UPSTREAM Off-by-one bug
|
||||||
Patch4: graphviz-array_overflow.patch
|
Patch4: graphviz-array_overflow.patch
|
||||||
|
#PATCH-FIX-OPENSUSE Make build reproducible
|
||||||
|
Patch5: reproducible.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
@ -100,6 +102,7 @@ Note: If you need output in png format you also need to install
|
|||||||
%patch2
|
%patch2
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
|
%patch5 -p1
|
||||||
|
|
||||||
rm -f contrib/gprof2dot.awk
|
rm -f contrib/gprof2dot.awk
|
||||||
|
|
||||||
|
19
reproducible.patch
Normal file
19
reproducible.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
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;
|
Loading…
Reference in New Issue
Block a user