Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-ram for openSUSE:Factory checked in at 2026-11-06 19:49:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-ram (Old) and /work/SRC/openSUSE:Factory/.ghc-ram.new.3759290 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-ram" Fri Nov 6 19:49:42 2026 rev:2 rq:1395553 version:0.22.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-ram/ghc-ram.changes 2026-06-22 17:43:57.900305215 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-ram.new.3759290/ghc-ram.changes 2026-11-06 19:56:38.447826080 +0100 @@ -1,0 +2,10 @@ +Tue Jul 28 17:24:57 UTC 2026 - Peter Simons <[email protected]> + +- Update ram to version 0.22.1. + ## 0.22.1 + + Use correct signatures for 'memset' and 'memcpy' + The WASM linker is more strict about function signatures matching, see https://releases.llvm.org/11.1.0/tools/lld/docs/WebAssembly.html#function-signatures + + thanks @clinton-grc + +------------------------------------------------------------------- Old: ---- ram-0.22.0.tar.gz New: ---- ram-0.22.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-ram.spec ++++++ --- /var/tmp/diff_new_pack.X0aNut/_old 2026-11-06 19:56:39.372864802 +0100 +++ /var/tmp/diff_new_pack.X0aNut/_new 2026-11-06 19:56:39.376864970 +0100 @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.22.0 +Version: 0.22.1 Release: 0 Summary: Memory and related abstraction stuff License: BSD-3-Clause ++++++ ram-0.22.0.tar.gz -> ram-0.22.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ram-0.22.0/CHANGELOG.md new/ram-0.22.1/CHANGELOG.md --- old/ram-0.22.0/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 +++ new/ram-0.22.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,9 @@ +## 0.22.1 ++ Use correct signatures for 'memset' and 'memcpy' +The WASM linker is more strict about function signatures matching, see https://releases.llvm.org/11.1.0/tools/lld/docs/WebAssembly.html#function-signatures + +thanks @clinton-grc + ## 0.22.0 + Added `slice :: ByteArray bs => bs -> Int -> Int -> Maybe bs` and `unsafeSlice :: ByteArray bs => bs -> Int -> Int -> bs` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ram-0.22.0/Data/Memory/PtrMethods.hs new/ram-0.22.1/Data/Memory/PtrMethods.hs --- old/ram-0.22.0/Data/Memory/PtrMethods.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/ram-0.22.1/Data/Memory/PtrMethods.hs 2001-09-09 03:46:40.000000000 +0200 @@ -63,7 +63,7 @@ -- | Copy a set number of bytes from @src to @dst memCopy :: Ptr Word8 -> Ptr Word8 -> Int -> IO () -memCopy dst src n = c_memcpy dst src (fromIntegral n) +memCopy dst src n = c_memcpy dst src (fromIntegral n) >>= \_ -> return () {-# INLINE memCopy #-} -- | Set @n number of bytes to the same value @v @@ -114,7 +114,7 @@ loop (i+1) (acc .|. e) foreign import ccall unsafe "memset" - c_memset :: Ptr Word8 -> Word8 -> CSize -> IO () + c_memset :: Ptr Word8 -> Word8 -> CSize -> IO (Ptr Word8) foreign import ccall unsafe "memcpy" - c_memcpy :: Ptr Word8 -> Ptr Word8 -> CSize -> IO () + c_memcpy :: Ptr Word8 -> Ptr Word8 -> CSize -> IO (Ptr Word8) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ram-0.22.0/README.md new/ram-0.22.1/README.md --- old/ram-0.22.0/README.md 2001-09-09 03:46:40.000000000 +0200 +++ new/ram-0.22.1/README.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,4 +1,4 @@ -memory +ram ====== [](http://en.wikipedia.org/wiki/BSD_licenses) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ram-0.22.0/ram.cabal new/ram-0.22.1/ram.cabal --- old/ram-0.22.0/ram.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/ram-0.22.1/ram.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,6 +1,6 @@ cabal-version: 3.0 name: ram -version: 0.22.0 +version: 0.22.1 synopsis: memory and related abstraction stuff description: This is a fork of memory. It's open to accept changes from anyone,
