- add gtk-doc-reproducible-html.patch from the debian reproducible builds project to make output reproducible OBS-URL: https://build.opensuse.org/request/show/283931 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk-doc?expand=0&rev=33
16 lines
548 B
Diff
16 lines
548 B
Diff
Description: Make HTML output deterministic
|
|
Author: Peter De Wachter <pdewacht@gmail.com>
|
|
Last-Update: 2015-01-19
|
|
|
|
--- a/gtkdoc-mkdb.in
|
|
+++ b/gtkdoc-mkdb.in
|
|
@@ -1093,7 +1093,7 @@
|
|
|
|
# do a case insensitive sort while chopping off the prefix
|
|
foreach my $hash (
|
|
- sort { $$a{criteria} cmp $$b{criteria} }
|
|
+ sort { $$a{criteria} cmp $$b{criteria} or $$a{original} cmp $$b{original} }
|
|
map { my $x = uc($_); $x =~ s/^$NAME_SPACE\_?(.*)/$1/i; { criteria => $x, original => $_, short => $1 } }
|
|
keys %apiindex) {
|
|
|