Hello community,

here is the log from the commit of package dynamips for openSUSE:Factory 
checked in at 2017-03-03 17:44:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dynamips (Old)
 and      /work/SRC/openSUSE:Factory/.dynamips.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dynamips"

Fri Mar  3 17:44:26 2017 rev:22 rq:460920 version:0.2.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/dynamips/dynamips.changes        2016-03-26 
17:25:49.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.dynamips.new/dynamips.changes   2017-03-03 
17:44:27.341802376 +0100
@@ -1,0 +2,5 @@
+Tue Feb 28 15:50:00 UTC 2017 - [email protected]
+
+- Added define-s390x-arch.patch to enable building on s390x.
+
+-------------------------------------------------------------------

New:
----
  define-s390x-arch.patch

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

Other differences:
------------------
++++++ dynamips.spec ++++++
--- /var/tmp/diff_new_pack.0Odgu5/_old  2017-03-03 17:44:27.881726074 +0100
+++ /var/tmp/diff_new_pack.0Odgu5/_new  2017-03-03 17:44:27.881726074 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package dynamips
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,6 +32,8 @@
 %endif
 %endif
 Source:         %{name}-%{version}.tar.gz
+Patch1:         define-s390x-arch.patch
+
 Summary:        Cisco router Emulator
 License:        GPL-2.0+
 Group:          System/Emulators/Other
@@ -47,6 +49,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 mkdir build

++++++ define-s390x-arch.patch ++++++
--- dynamips-0.2.16/common/dynamips_common.h    2016-03-16 05:05:47.000000000 
-0400
+++ dynamips-0.2.16/common/dynamips_common.h    2017-02-28 10:47:30.000000000 
-0500
@@ -65,6 +65,8 @@
 #define ARCH_BYTE_ORDER ARCH_LITTLE_ENDIAN
 #elif defined(__arm__) || defined (__aarch64__)
 #define ARCH_BYTE_ORDER ARCH_LITTLE_ENDIAN
+#elif defined(__s390x__)
+#define ARCH_BYTE_ORDER ARCH_BIG_ENDIAN
 #endif
 
 #ifndef ARCH_BYTE_ORDER

Reply via email to