update 2.0.3 -> 2.0.4

SDL2 -> SDL3
This commit is contained in:
sebastia
2026-05-18 20:50:18 +00:00
parent 48fab06260
commit 716cb58806
9 changed files with 37 additions and 26 deletions
+7 -7
View File
@@ -1,8 +1,8 @@
BROKEN-sparc64 = framelimit.h:53 :105: error: no match for operator-
COMMENT = top-down shooter RPG
V = 2.0.3
COMMIT = 0d97724f
V = 2.0.4
COMMIT = 8007fb22
DISTNAME = emptyclip-${V}-${COMMIT}-src
PKGNAME = emptyclip-${V}
CATEGORIES = games x11
@@ -14,8 +14,8 @@ HOMEPAGE = https://empty-clip.gitlab.io/
# GPLv3+
PERMIT_PACKAGE = Yes
WANTLIB += c m pthread SDL2_image sqlite3 ${COMPILER_LIBCXX}
WANTLIB += GL GLU SDL2 freetype ogg vorbis vorbisfile
WANTLIB += c m pthread sqlite3 ${COMPILER_LIBCXX} webp
WANTLIB += GL GLU SDL3 freetype ogg vorbis vorbisfile
WANTLIB += z openal ${MODLUA_WANTLIB}
COMPILER = base-clang ports-gcc base-gcc
@@ -29,9 +29,9 @@ MODULES = devel/cmake
LIB_DEPENDS = audio/libogg \
audio/libvorbis \
audio/openal \
devel/sdl2 \
devel/sdl2-image \
databases/sqlite3
devel/sdl3 \
databases/sqlite3 \
graphics/libwebp
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+4,-guic
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (emptyclip-2.0.3-0d97724f-src.tar.gz) = syU/wR+KA/pKpOq1Ge7cj/89eRcOHQ+G1QetLe0eoWU=
SIZE (emptyclip-2.0.3-0d97724f-src.tar.gz) = 5774750
SHA256 (emptyclip-2.0.4-8007fb22-src.tar.gz) = 98xpqWOlyk/Q7ids/4rGHVuRvFQ9xd59CeaZ/G1/bz8=
SIZE (emptyclip-2.0.4-8007fb22-src.tar.gz) = 4383143
@@ -1,7 +1,7 @@
Index: ext/ae/ae/database.cpp
--- ext/ae/ae/database.cpp.orig
+++ ext/ae/ae/database.cpp
@@ -206,11 +206,13 @@ template uint8_t _Database::GetInt<uint8_t>(int Column
@@ -252,11 +252,13 @@ template uint8_t _Database::GetInt<uint8_t>(int Column
template uint32_t _Database::GetInt<uint32_t>(int ColumnIndex, int Handle);
template uint64_t _Database::GetInt<uint64_t>(int ColumnIndex, int Handle);
template int _Database::GetInt<int>(int ColumnIndex, int Handle);
@@ -1,7 +1,7 @@
Index: ext/ae/ae/network.cpp
--- ext/ae/ae/network.cpp.orig
+++ ext/ae/ae/network.cpp
@@ -23,6 +23,7 @@
@@ -22,6 +22,7 @@
#include <ae/buffer.h>
#include <enet/enet.h>
#include <stdexcept>
@@ -0,0 +1,12 @@
Index: ext/ae/enet/unix.c
--- ext/ae/enet/unix.c.orig
+++ ext/ae/enet/unix.c
@@ -18,7 +18,7 @@
#define ENET_BUILDING_LIB 1
#include "enet/enet.h"
-#ifdef __APPLE__
+#ifdef __OpenBSD__
#ifdef HAS_POLL
#undef HAS_POLL
#endif
@@ -1,12 +0,0 @@
Index: ext/ae/tinyxml2/tinyxml2.cpp
--- ext/ae/tinyxml2/tinyxml2.cpp.orig
+++ ext/ae/tinyxml2/tinyxml2.cpp
@@ -103,7 +103,7 @@ distribution.
#if defined(_WIN64)
#define TIXML_FSEEK _fseeki64
#define TIXML_FTELL _ftelli64
-#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__ANDROID__)
+#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__ANDROID__) || defined(__OpenBSD__)
#define TIXML_FSEEK fseeko
#define TIXML_FTELL ftello
#elif defined(__unix__) && defined(__x86_64__)
@@ -0,0 +1,11 @@
Index: src/config.h
--- src/config.h.orig
+++ src/config.h
@@ -19,6 +19,7 @@
// Libraries
#include <glm/vec2.hpp>
+#include <sstream>
#include <string>
#include <unordered_map>
#include <vector>
+1 -1
View File
@@ -1,7 +1,7 @@
Index: src/save.cpp
--- src/save.cpp.orig
+++ src/save.cpp
@@ -347,7 +347,7 @@ void _Save::LoadPlayer(_Player *Player) {
@@ -346,7 +346,7 @@ void _Save::LoadPlayer(_Player *Player) {
// Initialize
Player->AddMissingBackpacks();
+2 -2
View File
@@ -74,10 +74,10 @@ share/games/emptyclip/textures/particles
share/games/emptyclip/textures/projectiles
share/games/emptyclip/textures/props
share/games/emptyclip/ui/
share/games/emptyclip/ui/cursor_game.png
share/games/emptyclip/ui/cursor_game.webp
share/games/emptyclip/ui/elements.xml
share/games/emptyclip/ui/fonts.tsv
share/games/emptyclip/ui/icon.png
share/games/emptyclip/ui/icon.webp
share/games/emptyclip/ui/styles.tsv
share/icons/hicolor/128x128/apps/emptyclip.png
share/metainfo/