Hello community,

here is the log from the commit of package openhpi for openSUSE:Factory checked 
in at 2015-02-13 08:34:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openhpi (Old)
 and      /work/SRC/openSUSE:Factory/.openhpi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openhpi"

Changes:
--------
--- /work/SRC/openSUSE:Factory/openhpi/openhpi.changes  2014-11-24 
11:15:44.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.openhpi.new/openhpi.changes     2015-02-13 
08:34:28.000000000 +0100
@@ -1,0 +2,9 @@
+Wed Feb  4 01:08:44 UTC 2015 - mrueck...@suse.de
+
+- added openhpi-3.5.0_sort_hash_output.patch:
+  perl hashes do not guarantee any order sort the keys before
+  outputting them into generated files. (boo# 915949)
+
+  Patch taken from http://sourceforge.net/p/openhpi/bugs/1866/
+
+-------------------------------------------------------------------

New:
----
  openhpi-3.5.0_sort_hash_output.patch

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

Other differences:
------------------
++++++ openhpi.spec ++++++
--- /var/tmp/diff_new_pack.smoQBY/_old  2015-02-13 08:34:29.000000000 +0100
+++ /var/tmp/diff_new_pack.smoQBY/_new  2015-02-13 08:34:29.000000000 +0100
@@ -51,6 +51,8 @@
 Source2:        AUTHORS
 Patch:          unlink-pidfile-on-error.patch
 Patch3:         openhpi-3.4.0-systemd.patch
+# PATCH-UPSTREAM taken from http://sourceforge.net/p/openhpi/bugs/1866/ 
boo#915949
+Patch4:         openhpi-3.5.0_sort_hash_output.patch
 #
 Summary:        Implementation of SA Forum's Hardware Platform Interface (HPI)
 License:        BSD-3-Clause
@@ -145,6 +147,7 @@
 %if 0%{?has_systemd}
 %patch3 -p1
 %endif
+%patch4
 
 %build
 cp %{S:2} .

++++++ openhpi-3.5.0_sort_hash_output.patch ++++++
Index: plugins/snmp_bc/eventmap2code.pl
===================================================================
--- plugins/snmp_bc/eventmap2code.pl    (revision 7543)
+++ plugins/snmp_bc/eventmap2code.pl    (working copy)
@@ -203,7 +203,7 @@
 ################################################
 if ($xml) {
     if (&print_xml_file_header) { $err = 0; goto CLEANUP; }
-    foreach my $event_message (keys %eventmap) {
+    foreach my $event_message (sort keys %eventmap) {
        if (&print_xml_file_hash_member($event_message)) { $err = 0; goto 
CLEANUP; }
     }
     if (&print_xml_file_ending) { $err = 0; goto CLEANUP; }
@@ -210,7 +210,7 @@
 }
 else {
     if (&print_c_file_header) { $err = 0; goto CLEANUP; }
-    foreach my $event_message (keys %eventmap) {
+    foreach my $event_message (sort keys %eventmap) {
        if (&print_c_file_hash_member($event_message)) { $err = 0; goto 
CLEANUP; }
     }
     if (&print_c_file_ending) { $err = 0; goto CLEANUP; }
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to