mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
update 2.0.3 -> 2.0.4
SDL2 -> SDL3
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,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();
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user