Bug 261149

Summary: devel/sdl20: update to 2.0.20
Product: Ports & Packages Reporter: Vladimir Druzenko <vvd>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Many People CC: vvd
Priority: --- Flags: bugzilla: maintainer-feedback? (amdmi3)
vvd: maintainer-feedback?
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/libsdl-org/SDL/releases/tag/release-2.0.20
Attachments:
Description Flags
update to 2.0.20 vvd: maintainer-approval?

Description Vladimir Druzenko freebsd_committer freebsd_triage 2022-01-12 15:01:28 UTC
Created attachment 230955 [details]
update to 2.0.20

Tested on 12.2-p11 amd64.

This is largely a bugfix release, with the following changes:

General:
    SDL_RenderGeometryRaw() takes a pointer to SDL_Color, not int. You can cast color data in SDL_PIXELFORMAT_RGBA32 format (SDL_PIXELFORMAT_ABGR8888 on little endian systems) for this parameter.
    Improved accuracy of horizontal and vertical line drawing when using OpenGL or OpenGLES
    Added the hint SDL_HINT_RENDER_LINE_METHOD to control the method of line drawing used, to select speed, correctness, and compatibility.

Windows:
    Fixed size of custom cursors

Linux:
    Fixed hotplug controller detection, broken in 2.0.18
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2022-01-12 15:10:40 UTC
Update already committed in 527b8e66475743d8957e90a451cf408bb90b2ddb, will merge option name fix from this PR.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-01-12 15:13:01 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=03063bd857cc21cef576658635fbc63fc3a2afb2

commit 03063bd857cc21cef576658635fbc63fc3a2afb2
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-01-12 15:08:49 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-01-12 15:09:28 +0000

    devel/sdl20: fix pipewire option name

    PR:             261149
    Submitted by:   vvd@unislabs.com

 devel/sdl20/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)