Hello community,

here is the log from the commit of package uim for openSUSE:Factory checked in 
at 2020-08-25 09:34:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/uim (Old)
 and      /work/SRC/openSUSE:Factory/.uim.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "uim"

Tue Aug 25 09:34:35 2020 rev:50 rq:828947 version:1.8.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/uim/uim.changes  2020-08-21 19:20:20.872921688 
+0200
+++ /work/SRC/openSUSE:Factory/.uim.new.3399/uim.changes        2020-08-25 
09:36:16.960124159 +0200
@@ -1,0 +2,5 @@
+Fri Aug 21 18:05:04 UTC 2020 - Andreas Schwab <[email protected]>
+
+- riscv.patch: Add support for RISC-V to libgcroots
+
+-------------------------------------------------------------------

New:
----
  riscv.patch

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

Other differences:
------------------
++++++ uim.spec ++++++
--- /var/tmp/diff_new_pack.BFd0Lz/_old  2020-08-25 09:36:18.512125064 +0200
+++ /var/tmp/diff_new_pack.BFd0Lz/_new  2020-08-25 09:36:18.516125067 +0200
@@ -31,6 +31,7 @@
 Patch2:         uim-fix-crash-in-firefox.diff
 Patch3:         bugzilla-1175274-emacs-27.1.patch
 Patch4:         uim-fix-multiple_declaration.diff
+Patch5:         riscv.patch
 BuildRequires:  canna-devel
 BuildRequires:  emacs-x11
 BuildRequires:  fdupes
@@ -109,6 +110,7 @@
 %patch2 -p1
 %patch3 -p0
 %patch4 -p0
+%patch5 -p1
 cp emacs/README README.emacs
 iconv -f euc-jp -t utf-8 < emacs/README.ja > README.ja.emacs
 

++++++ riscv.patch ++++++
Index: uim-1.8.6/sigscheme/libgcroots/include/private/gcconfig.h
===================================================================
--- uim-1.8.6.orig/sigscheme/libgcroots/include/private/gcconfig.h
+++ uim-1.8.6/sigscheme/libgcroots/include/private/gcconfig.h
@@ -479,6 +479,10 @@
 #   define NONSTOP
 #   define mach_type_known
 # endif
+# if defined(__riscv) && defined(LINUX)
+#   define RISCV
+#   define mach_type_known
+# endif
 
 /* Feel free to add more clauses here */
 
@@ -2022,6 +2026,19 @@
 #   endif
 # endif
 
+# ifdef RISCV
+#   define MACH_TYPE "RISC-V"
+#   define CPP_WORDSZ __riscv_xlen /* 32 or 64 */
+#   define ALIGNMENT (CPP_WORDSZ/8)
+#   ifdef LINUX
+#     define OS_TYPE "LINUX"
+      extern int __data_start[];
+#     define DATASTART ((ptr_t)__data_start)
+#     define LINUX_STACKBOTTOM
+#     define DYNAMIC_LOADING
+#   endif
+# endif /* RISCV */
+
 #if defined(LINUX) && defined(USE_MMAP)
     /* The kernel may do a somewhat better job merging mappings etc.   */
     /* with anonymous mappings.                                                
*/

Reply via email to