Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-double-conversion for 
openSUSE:Factory checked in at 2021-04-10 15:27:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-double-conversion (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-double-conversion.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-double-conversion"

Sat Apr 10 15:27:31 2021 rev:3 rq:883846 version:2.0.2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-double-conversion/ghc-double-conversion.changes  
    2020-12-22 11:38:49.297461706 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-double-conversion.new.2401/ghc-double-conversion.changes
    2021-04-10 15:28:32.814461006 +0200
@@ -1,0 +2,5 @@
+Tue Apr  6 20:35:18 UTC 2021 - Andreas Schwab <[email protected]>
+
+- riscv.patch: Add support for RISC-V
+
+-------------------------------------------------------------------

New:
----
  riscv.patch

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

Other differences:
------------------
++++++ ghc-double-conversion.spec ++++++
--- /var/tmp/diff_new_pack.rFSSLT/_old  2021-04-10 15:28:33.374461665 +0200
+++ /var/tmp/diff_new_pack.rFSSLT/_new  2021-04-10 15:28:33.378461670 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-double-conversion
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 License:        BSD-2-Clause
 URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Patch0:         riscv.patch
 BuildRequires:  gcc-c++
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
@@ -63,14 +64,14 @@
 Requires:       ghc-compiler = %{ghc_version}
 Requires:       libstdc++-devel
 Requires(post): ghc-compiler = %{ghc_version}
-Requires(postun): ghc-compiler = %{ghc_version}
+Requires(postun):ghc-compiler = %{ghc_version}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development
 files.
 
 %prep
-%autosetup -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version} -p1
 
 %build
 %ghc_lib_build

++++++ riscv.patch ++++++
>From 8316ed5bf405835558a476e528d8e1d0adf69dd9 Mon Sep 17 00:00:00 2001
From: Stefan O'Rear <[email protected]>
Date: Thu, 17 Nov 2016 09:54:33 -0800
Subject: [PATCH] Add support for RISC-V

Index: double-conversion-2.0.2.0/double-conversion/src/utils.h
===================================================================
--- double-conversion-2.0.2.0.orig/double-conversion/src/utils.h
+++ double-conversion-2.0.2.0/double-conversion/src/utils.h
@@ -62,7 +62,8 @@
     defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
     defined(__SH4__) || defined(__alpha__) || \
     defined(_MIPS_ARCH_MIPS32R2) || \
-    defined(__AARCH64EL__) || defined(__aarch64__)
+    defined(__AARCH64EL__) || defined(__aarch64__) || \
+    defined(__riscv)
 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
 #elif defined(__mc68000__)
 #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS

Reply via email to