Hello community, here is the log from the commit of package cln for openSUSE:Factory checked in at 2019-03-12 09:55:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cln (Old) and /work/SRC/openSUSE:Factory/.cln.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cln" Tue Mar 12 09:55:02 2019 rev:19 rq:683903 version:1.3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/cln/cln.changes 2014-11-24 11:18:23.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.cln.new.28833/cln.changes 2019-03-12 09:55:06.871517730 +0100 @@ -1,0 +2,6 @@ +Mon Mar 11 13:46:42 UTC 2019 - Andreas Schwab <[email protected]> + +- riscv.patch: Add support for riscv64 platform +- Use %license + +------------------------------------------------------------------- New: ---- riscv.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cln.spec ++++++ --- /var/tmp/diff_new_pack.jmKPwN/_old 2019-03-12 09:55:07.419517621 +0100 +++ /var/tmp/diff_new_pack.jmKPwN/_new 2019-03-12 09:55:07.419517621 +0100 @@ -1,7 +1,7 @@ # # spec file for package cln # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,11 +20,12 @@ Version: 1.3.4 Release: 0 Summary: Class Library for Numbers (C++) -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Scientific/Math Url: http://www.ginac.de/CLN/ Source0: http://www.ginac.de/CLN/cln-%{version}.tar.bz2 Source1: pi.tar.gz +Patch0: riscv.patch BuildRequires: gcc-c++ BuildRequires: gmp-devel BuildRequires: pkg-config @@ -82,6 +83,7 @@ %prep %setup -q -a 1 +%patch0 -p1 %build %ifarch %{arm} @@ -120,13 +122,15 @@ %files %defattr(-,root,root) -%doc COPYING ChangeLog README NEWS +%doc ChangeLog README NEWS +%license COPYING %{_bindir}/pi %{_libdir}/libcln.so.* %files devel %defattr(-,root,root) -%doc COPYING ChangeLog README NEWS +%doc ChangeLog README NEWS +%license COPYING %{_includedir}/cln %{_infodir}/cln.info.gz %{_mandir}/man1/pi.1.gz ++++++ riscv.patch ++++++ >From 26aaf349a1fb3879274090d9e1c8f86da4a0a585 Mon Sep 17 00:00:00 2001 From: "Manuel A. Fernandez Montecelo" <[email protected]> Date: Thu, 3 May 2018 23:28:36 +0200 Subject: [PATCH] Add support for riscv64 platform. --- include/cln/object.h | 2 +- include/cln/types.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/cln/object.h b/include/cln/object.h index 56f6f07..f6979b1 100644 --- a/include/cln/object.h +++ b/include/cln/object.h @@ -25,7 +25,7 @@ namespace cln { #if defined(__i386__) || (defined(__mips__) && !defined(__LP64__)) || (defined(__sparc__) && !defined(__arch64__)) || defined(__hppa__) || defined(__arm__) || defined(__rs6000__) || defined(__m88k__) || defined(__convex__) || (defined(__s390__) && !defined(__s390x__)) || defined(__sh__) || (defined(__x86_64__) && defined(__ILP32__)) #define cl_word_alignment 4 #endif -#if defined(__alpha__) || defined(__ia64__) || defined(__mips64__) || defined(__powerpc64__) || (defined(__sparc__) && defined(__arch64__)) || (defined(__x86_64__) && !defined(__ILP32__)) || defined(__s390x__) || defined(__aarch64__) +#if defined(__alpha__) || defined(__ia64__) || defined(__mips64__) || defined(__powerpc64__) || (defined(__sparc__) && defined(__arch64__)) || (defined(__x86_64__) && !defined(__ILP32__)) || defined(__s390x__) || defined(__aarch64__) || (defined(__riscv) && __riscv_xlen == 64) #define cl_word_alignment 8 #endif #if !defined(cl_word_alignment) diff --git a/include/cln/types.h b/include/cln/types.h index 159e8bc..f245501 100644 --- a/include/cln/types.h +++ b/include/cln/types.h @@ -48,7 +48,7 @@ #undef HAVE_LONGLONG #endif #endif - #if defined(HAVE_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__mips64__) || defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__)) || defined(__x86_64__) || defined(__aarch64__)) + #if defined(HAVE_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__mips64__) || defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__)) || defined(__x86_64__) || defined(__aarch64__) || (defined(__riscv) && __riscv_xlen == 64)) // 64 bit registers in hardware #define HAVE_FAST_LONGLONG #endif @@ -76,7 +76,7 @@ // Integer type used for counters. // Constraint: sizeof(uintC) >= sizeof(uintL) - #if (defined(HAVE_FAST_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__)) || defined(__x86_64__) || defined(__aarch64__) || defined(__mips64__))) + #if (defined(HAVE_FAST_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__)) || defined(__x86_64__) || defined(__aarch64__) || defined(__mips64__) || (defined(__riscv) && __riscv_xlen == 64))) #define intCsize long_bitsize typedef long sintC; typedef unsigned long uintC; @@ -88,7 +88,7 @@ // Integer type used for lfloat exponents. // Constraint: sizeof(uintE) >= sizeof(uintC) - #if (defined(HAVE_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__)) || defined(__x86_64__) || defined(__i386__) || defined(__mips__) || defined(__rs6000__) || defined(__aarch64__))) + #if (defined(HAVE_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__)) || defined(__x86_64__) || defined(__i386__) || defined(__mips__) || defined(__rs6000__) || defined(__aarch64__) || (defined(__riscv) && __riscv_xlen == 64))) #define intEsize 64 typedef sint64 sintE; typedef uint64 uintE; @@ -127,7 +127,7 @@ typedef int sintD; typedef unsigned int uintD; #else // we are not using GMP, so just guess something reasonable - #if (defined(HAVE_FAST_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__) || (defined(__sparc__) && defined(__arch64__)) || defined(__s390x__) || defined(__x86_64__) || defined(__aarch64__) || defined(__mips64__))) + #if (defined(HAVE_FAST_LONGLONG) && (defined(__alpha__) || defined(__ia64__) || defined(__powerpc64__) || (defined(__sparc__) && defined(__arch64__)) || defined(__s390x__) || defined(__x86_64__) || defined(__aarch64__) || defined(__mips64__) || (defined(__riscv) && __riscv_xlen == 64))) #define intDsize 64 typedef sint64 sintD; typedef uint64 uintD; -- 2.21.0
