diff --git a/zsh-texi2html-randomness.patch b/zsh-texi2html-randomness.patch
new file mode 100644
index 0000000..8d9c53b
--- /dev/null
+++ b/zsh-texi2html-randomness.patch
@@ -0,0 +1,13 @@
+Index: zsh-5.0.7/Doc/Makefile.in
+===================================================================
+--- zsh-5.0.7.orig/Doc/Makefile.in
++++ zsh-5.0.7/Doc/Makefile.in
+@@ -41,7 +41,7 @@ LN_S = @LN_S@
+ MAKEINFO = makeinfo
+ TEXI2DVI = texi2dvi
+ DVIPS = dvips
+-TEXI2HTML = @TEXI2HTML@ --output . --ifinfo --split=chapter --node-files \
++TEXI2HTML = PERL_HASH_SEED=0 @TEXI2HTML@ --output . --ifinfo --split=chapter --node-files \
+ --init-file texi2html.conf
+
+ .SUFFIXES: .yo .1
diff --git a/zsh.changes b/zsh.changes
index 869f0f2..e6d819f 100644
--- a/zsh.changes
+++ b/zsh.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Thu Feb 5 10:48:40 UTC 2015 - idonmez@suse.com
+
+- Add zsh-texi2html-randomness.patch to prevent random changes
+ in texi2html output (bnc#916186)
+
-------------------------------------------------------------------
Wed Jan 28 17:53:20 UTC 2015 - idonmez@suse.com
diff --git a/zsh.spec b/zsh.spec
index a786c71..4f5b8dd 100644
--- a/zsh.spec
+++ b/zsh.spec
@@ -37,6 +37,7 @@ Source16: dotzshrc.rh
Source17: zshprompt.pl
%endif
Patch1: trim-unneeded-completions.patch
+Patch2: zsh-texi2html-randomness.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
Requires(pre): %{install_info_prereq}
@@ -94,6 +95,7 @@ This package contains the Zsh manual in html format.
%setup -q -n %{name}-%{version}
%if 0%{?suse_version}
%patch1 -p1
+%patch2 -p1
%endif
# Remove executable bit