Hello community,

here is the log from the commit of package dynamips for openSUSE:Factory 
checked in at 2012-07-30 09:08:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dynamips (Old)
 and      /work/SRC/openSUSE:Factory/.dynamips.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dynamips", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/dynamips/dynamips.changes        2012-03-23 
12:04:56.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.dynamips.new/dynamips.changes   2012-07-30 
09:10:01.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Jul 26 11:47:04 UTC 2012 - [email protected]
+
+- fix build on ARM
+
+-------------------------------------------------------------------

New:
----
  arm-little-endian.diff

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

Other differences:
------------------
++++++ dynamips.spec ++++++
--- /var/tmp/diff_new_pack.7QoQ8p/_old  2012-07-30 09:10:03.000000000 +0200
+++ /var/tmp/diff_new_pack.7QoQ8p/_new  2012-07-30 09:10:03.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package dynamips
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,24 +15,26 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 %define pkg_extraver  RC3
 
 Name:           dynamips
 Version:        0.2.8%{pkg_extraver}
-Release:        3
-License:        GPL-2.0+
+Release:        0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  libelf-devel libpcap-devel libuuid-devel
+BuildRequires:  libelf-devel
+BuildRequires:  libpcap-devel
+BuildRequires:  libuuid-devel
 Url:            http://www.gns3.net
 %ifarch x86_64
 BuildRequires:  glibc-devel-32bit
 %endif
 Source:         %{name}-0.2.8-%{pkg_extraver}.tar.bz2
-Group:          System/Emulators/Other
 Summary:        Cisco router Emulator
+License:        GPL-2.0+
+Group:          System/Emulators/Other
 Patch0:         dynamips-0.2.8-%{pkg_extraver}-make.patch
+Patch1:         arm-little-endian.diff
 
 %description
 Cisco Router Emulator supported by GNS3 Community
@@ -46,6 +48,7 @@
 %prep
 %setup -q -n %{name}-0.2.8-%{pkg_extraver}
 %patch0 -p1
+%patch1
 
 %build
 CFLAGS="%{optflags} -I/usr/include/libelf -fno-strict-aliasing"

++++++ arm-little-endian.diff ++++++
--- stable/utils.h
+++ stable/utils.h
@@ -55,6 +55,8 @@
 #define ARCH_BYTE_ORDER ARCH_LITTLE_ENDIAN
 #elif defined(__ia64__)
 #define ARCH_BYTE_ORDER ARCH_LITTLE_ENDIAN
+#elif defined(__arm__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
+#define ARCH_BYTE_ORDER ARCH_LITTLE_ENDIAN
 #endif
 
 #ifndef ARCH_BYTE_ORDER
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to