xmoto: build with new sdl12-compat library
This commit is contained in:
parent
5813c88a15
commit
eb856143ff
22
srcpkgs/xmoto/patches/stdint.patch
Normal file
22
srcpkgs/xmoto/patches/stdint.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff -ur a/src/common/DBuffer.cpp b/src/common/DBuffer.cpp
|
||||
--- a/src/common/DBuffer.cpp 2020-06-21 15:18:16.000000000 -0400
|
||||
+++ b/src/common/DBuffer.cpp 2025-02-01 22:25:26.230759197 -0500
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "DBuffer.h"
|
||||
#include "helpers/SwapEndian.h"
|
||||
#include <algorithm>
|
||||
+#include <cstdint>
|
||||
|
||||
void DBuffer::_FreeDBuffer(void) {
|
||||
/* Free stuff if anything */
|
||||
diff -ur a/src/common/VFileIO.cpp b/src/common/VFileIO.cpp
|
||||
--- a/src/common/VFileIO.cpp 2020-06-21 15:18:16.000000000 -0400
|
||||
+++ b/src/common/VFileIO.cpp 2025-02-01 22:25:38.676782152 -0500
|
||||
@@ -48,6 +48,7 @@
|
||||
#include "xmoto/UserConfig.h"
|
||||
|
||||
#include <iostream>
|
||||
+#include <cstdint>
|
||||
|
||||
#ifdef WIN32
|
||||
std::string win32_getHomeDir(bool i_asUtf8 = false) {
|
@ -1,13 +1,13 @@
|
||||
# Template file for 'xmoto'
|
||||
pkgname=xmoto
|
||||
version=0.6.1
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=cmake
|
||||
build_helper="qemu"
|
||||
configure_args="-DOpenGL_GL_PREFERENCE=GLVND -DXMOTO_PACK=manual"
|
||||
hostmakedepends="automake libtool gettext-devel-tools desktop-file-utils"
|
||||
makedepends="sqlite-devel zlib-devel libjpeg-turbo-devel libpng-devel
|
||||
libxml2-devel libxdg-basedir-devel glu-devel SDL-devel SDL_mixer-devel
|
||||
libxml2-devel libxdg-basedir-devel glu-devel sdl12-compat-devel SDL_mixer-devel
|
||||
SDL_net-devel SDL_ttf-devel lua52-devel libcurl-devel libode-devel
|
||||
bzip2-devel gettext-devel"
|
||||
depends="${pkgname}-data"
|
||||
|
Loading…
x
Reference in New Issue
Block a user