Bug 242360 - games/valyriatear: fix build on big-endian architectures
Summary: games/valyriatear: fix build on big-endian architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-02 10:02 UTC by Piotr Kubaj
Modified: 2019-12-02 17:58 UTC (History)
1 user (show)

See Also:
amdmi3: maintainer-feedback+


Attachments
patch (867 bytes, patch)
2019-12-02 10:02 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (amdmi3)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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