Hello community, here is the log from the commit of package ghc-SDL for openSUSE:Factory checked in at 2018-05-30 12:22:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-SDL (Old) and /work/SRC/openSUSE:Factory/.ghc-SDL.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-SDL" Wed May 30 12:22:05 2018 rev:3 rq:610026 version:0.6.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-SDL/ghc-SDL.changes 2017-09-15 21:04:07.500189545 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-SDL.new/ghc-SDL.changes 2018-05-30 12:22:43.331151234 +0200 @@ -1,0 +2,6 @@ +Thu May 17 08:35:47 UTC 2018 - [email protected] + +- Update SDL to version 0.6.6.0. + * Made SDL_WaitEvent from unsafe to safe, because it blocks. + +------------------------------------------------------------------- Old: ---- SDL-0.6.5.1.tar.gz SDL.cabal New: ---- SDL-0.6.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-SDL.spec ++++++ --- /var/tmp/diff_new_pack.6YIiwJ/_old 2018-05-30 12:22:44.187126113 +0200 +++ /var/tmp/diff_new_pack.6YIiwJ/_new 2018-05-30 12:22:44.191125995 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-SDL # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -18,14 +18,13 @@ %global pkg_name SDL Name: ghc-%{pkg_name} -Version: 0.6.5.1 +Version: 0.6.6.0 Release: 0 Summary: Binding to libSDL License: BSD-3-Clause Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: libSDL-devel @@ -51,7 +50,6 @@ %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build @@ -66,19 +64,19 @@ %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %dir %{_datadir}/%{pkg_name}-%{version} %dir %{_datadir}/%{pkg_name}-%{version}/Examples %dir %{_datadir}/%{pkg_name}-%{version}/Examples/MacOSX -%{_datadir}/%{pkg_name}-%{version}/README -%{_datadir}/%{pkg_name}-%{version}/MACOSX -%{_datadir}/%{pkg_name}-%{version}/WIN32 %{_datadir}/%{pkg_name}-%{version}/Examples/MacOSX/Main.hs -%{_datadir}/%{pkg_name}-%{version}/Examples/MacOSX/Makefile %{_datadir}/%{pkg_name}-%{version}/Examples/MacOSX/MainWrapper.hs +%{_datadir}/%{pkg_name}-%{version}/Examples/MacOSX/Makefile %{_datadir}/%{pkg_name}-%{version}/Examples/MacOSX/mainc.c +%{_datadir}/%{pkg_name}-%{version}/MACOSX +%{_datadir}/%{pkg_name}-%{version}/README +%{_datadir}/%{pkg_name}-%{version}/WIN32 %files devel -f %{name}-devel.files -%doc Examples +%doc changes.txt %changelog ++++++ SDL-0.6.5.1.tar.gz -> SDL-0.6.6.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL-0.6.5.1/Graphics/UI/SDL/Events.hsc new/SDL-0.6.6.0/Graphics/UI/SDL/Events.hsc --- old/SDL-0.6.5.1/Graphics/UI/SDL/Events.hsc 2015-06-04 19:11:37.000000000 +0200 +++ new/SDL-0.6.6.0/Graphics/UI/SDL/Events.hsc 2017-12-07 17:41:08.000000000 +0100 @@ -588,7 +588,7 @@ pushEvent = unwrapBool "SDL_PushEvent" . tryPushEvent -- int SDL_WaitEvent(SDL_Event *event); -foreign import ccall unsafe "SDL_WaitEvent" sdlWaitEvent :: Ptr Event -> IO Int +foreign import ccall safe "SDL_WaitEvent" sdlWaitEvent :: Ptr Event -> IO Int -- | Waits indefinitely for the next available event. waitEvent :: IO Event diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL-0.6.5.1/SDL.cabal new/SDL-0.6.6.0/SDL.cabal --- old/SDL-0.6.5.1/SDL.cabal 2015-06-04 19:11:37.000000000 +0200 +++ new/SDL-0.6.6.0/SDL.cabal 2017-12-07 17:41:08.000000000 +0100 @@ -1,6 +1,6 @@ Cabal-Version: >= 1.6 Name: SDL -Version: 0.6.5.1 +Version: 0.6.6.0 Maintainer: Francesco Ariis <[email protected]> Author: Lemmih ([email protected]) Copyright: 2004-2010, Lemmih @@ -22,7 +22,7 @@ Examples/MacOSX/Makefile, Examples/MacOSX/MainWrapper.hs, Examples/MacOSX/mainc.c -Extra-Source-files: configure, configure.ac, SDL.buildinfo.in, config.mk.in, includes/HsSDLConfig.h.in +Extra-Source-files: changes.txt, configure, configure.ac, SDL.buildinfo.in, config.mk.in, includes/HsSDLConfig.h.in Library Build-Depends: base >= 3 && < 5 @@ -53,4 +53,4 @@ source-repository head type: darcs - location: http://mirror.seize.it/hsSDL/hssdl/ + location: http://ariis.it/link/repos/sdl-bindings/hssdl/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SDL-0.6.5.1/changes.txt new/SDL-0.6.6.0/changes.txt --- old/SDL-0.6.5.1/changes.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/SDL-0.6.6.0/changes.txt 2017-12-07 17:41:08.000000000 +0100 @@ -0,0 +1,5 @@ +0.6.6.0 +------- + +- Made SDL_WaitEvent from unsafe to safe, because it blocks (thanks to + Harendra Kumar for reporting the bug).
