Skip to content

Commit

Permalink
devel/sdl20: fix armv7-related check in SDL_atomic.h
Browse files Browse the repository at this point in the history
Fixes build errors like:
 In file included from /usr/ports/games/openrct2/work/OpenRCT2-0.4.1/src/openrct2-ui/CursorRepository.h:12: In file included from /usr/local/include/SDL2/SDL.h:35: /usr/local/include/SDL2/SDL_atomic.h:243:28: error: '__ARM_ARCH__' is not defined, evaluates to 0 [-Werror,-Wundef] #elif (defined(__arm__) && __ARM_ARCH__ >= 7) || defined(__aarch64__)
  • Loading branch information
pkubaj committed Sep 29, 2022
1 parent 8539121 commit c698371
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions devel/sdl20/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
PORTNAME= sdl2
DISTVERSION= 2.24.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://www.libsdl.org/release/
DISTNAME= SDL2-${PORTVERSION}

PATCH_SITES= https://github.com/libsdl-org/SDL/commit/
PATCHFILES= a204ef50bbf20b77083c0a14124e673efc3a53c6.patch:-p1

MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Cross-platform multimedia development API
WWW= https://www.libsdl.org/
Expand Down
4 changes: 3 additions & 1 deletion devel/sdl20/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
TIMESTAMP = 1661880729
TIMESTAMP = 1664457277
SHA256 (SDL2-2.24.0.tar.gz) = 91e4c34b1768f92d399b078e171448c6af18cafda743987ed2064a28954d6d97
SIZE (SDL2-2.24.0.tar.gz) = 7520541
SHA256 (a204ef50bbf20b77083c0a14124e673efc3a53c6.patch) = 2cc9607f42acc8b00ac058cbc5fcba3d7037db21db679533afd483824dd5b658
SIZE (a204ef50bbf20b77083c0a14124e673efc3a53c6.patch) = 1168

0 comments on commit c698371

Please sign in to comment.