File: fix_perl_hash_seed_issues

package info (click to toggle)
libmime-lite-html-perl 1.24-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 824 kB
  • ctags: 33
  • sloc: perl: 713; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Ensure to not be impacted by hash randomization with perl >= 5.18
Author: Emmanuel Bouthenot <kolter@debian.org>
Bug: http://rt.cpan.org/Public/Bug/Display.html?id=86020
Bug-Debian: http://bugs.debian.org/711604
Last-Update: 2014-02-11
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/t/50generic.t
+++ b/t/50generic.t
@@ -10,6 +10,8 @@
   URI::URL->strict(1);
 }
 
+# Ensure to not be impacted by hash randomization with perl >= 5.18
+MIME::Lite->field_order('from', 'to', 'subject');
 
 # For create ref file, use perl -Iblib/lib t/50generic.t 1