Bug 242360

Summary: games/valyriatear: fix build on big-endian architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me CC: amdmi3
Priority: --- Flags: amdmi3: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (amdmi3)

Description Piotr Kubaj freebsd_committer 2019-12-02 10:02:57 UTC
Created attachment 209598 [details]
patch

Upstream PR:
https://github.com/ValyriaTear/ValyriaTear/pull/652

SDL_Swap32() and SDL_Swap16() are defined in SDL_endian.h.
Comment 1 Dmitry Marakasov freebsd_committer 2019-12-02 16:05:18 UTC
LGTM
Comment 2 commit-hook freebsd_committer 2019-12-02 17:58:19 UTC
A commit references this bug:

Author: pkubaj
Date: Mon Dec  2 17:57:55 UTC 2019
New revision: 518858
URL: https://svnweb.freebsd.org/changeset/ports/518858

Log:
  games/valyriatear: fix build on big-endian architectures

  SDL_Swap32() and SDL_Swap16() are defined in SDL_endian.h.

  PR:             242360
  Approved by:    amdmi3 (maintainer), mentors (implicit approval)
  Pull Request:   https://github.com/ValyriaTear/ValyriaTear/pull/652

Changes:
  head/games/valyriatear/files/patch-src_engine_audio_audio__input.cpp