Hello community,

here is the log from the commit of package asl for openSUSE:Factory checked in 
at 2020-01-23 15:55:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/asl (Old)
 and      /work/SRC/openSUSE:Factory/.asl.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "asl"

Thu Jan 23 15:55:22 2020 rev:31 rq:766572 version:1.42_bld144

Changes:
--------
--- /work/SRC/openSUSE:Factory/asl/asl.changes  2019-11-06 13:52:53.579947450 
+0100
+++ /work/SRC/openSUSE:Factory/.asl.new.26092/asl.changes       2020-01-23 
15:55:41.159119934 +0100
@@ -1,0 +2,5 @@
+Thu Jan 23 11:05:16 UTC 2020 - Andreas Schwab <sch...@suse.de>
+
+- asl-riscv64.patch: add sysdefs for riscv64
+
+-------------------------------------------------------------------

New:
----
  asl-riscv64.patch

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

Other differences:
------------------
++++++ asl.spec ++++++
--- /var/tmp/diff_new_pack.AveqRW/_old  2020-01-23 15:55:42.811120826 +0100
+++ /var/tmp/diff_new_pack.AveqRW/_new  2020-01-23 15:55:42.815120828 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package asl
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,10 +21,11 @@
 Release:        0
 Summary:        Macro Assembler AS
 License:        GPL-2.0-or-later
-Url:            http://john.ccac.rwth-aachen.de:8000/as/
+URL:            http://john.ccac.rwth-aachen.de:8000/as/
 Source:         
http://john.ccac.rwth-aachen.de:8000/ftp/as/source/c_version/asl-current-142-bld115.tar.bz2
 Patch0:         asl-buildfixes.patch
 Patch2:         asl-ppc64.patch
+Patch3:         asl-riscv64.patch
 BuildRequires:  gcc-c++
 Obsoletes:      %{name}-doc
 
@@ -38,6 +39,7 @@
 %setup -q -n asl-current
 %patch0 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 make %{?_smp_mflags} CFLAGS="%{optflags} -fno-strict-aliasing"

++++++ asl-riscv64.patch ++++++
Index: asl-current/sysdefs.h
===================================================================
--- asl-current.orig/sysdefs.h
+++ asl-current/sysdefs.h
@@ -1458,6 +1458,39 @@ typedef unsigned long long Card64;
 #endif /* __arm */
 
 /*===========================================================================*/
+/* RISC-V platform */
+
+#if defined __riscv && __riscv_xlen == 64
+
+#define ARCHPRNAME "riscv64"
+
+/*---------------------------------------------------------------------------*/
+/* RISC-V 64-bit linux with GCC */
+
+#if defined __linux__
+#define ARCHSYSNAME "unknown-linux"
+#define DEFSMADE
+#define OPENRDMODE "r"
+#define OPENWRMODE "w"
+#define OPENUPMODE "r+"
+#define IEEEFLOAT
+typedef signed char Integ8;
+typedef unsigned char Card8;
+typedef signed short Integ16;
+typedef unsigned short Card16;
+#define HAS16
+typedef signed int Integ32;
+#define PRIInteg32 "d"
+typedef unsigned int Card32;
+typedef signed long Integ64;
+typedef unsigned long Card64;
+#define HAS64
+#define LOCALE_NLS
+#endif /* __linux__ */
+
+#endif /* __riscv */
+
+/*===========================================================================*/
 /* Misc... */
 
 /*---------------------------------------------------------------------------*/

Reply via email to