mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
xmoto: build with new sdl12-compat library
This commit is contained in:
parent
5813c88a15
commit
eb856143ff
2 changed files with 24 additions and 2 deletions
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'
|
# Template file for 'xmoto'
|
||||||
pkgname=xmoto
|
pkgname=xmoto
|
||||||
version=0.6.1
|
version=0.6.1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper="qemu"
|
build_helper="qemu"
|
||||||
configure_args="-DOpenGL_GL_PREFERENCE=GLVND -DXMOTO_PACK=manual"
|
configure_args="-DOpenGL_GL_PREFERENCE=GLVND -DXMOTO_PACK=manual"
|
||||||
hostmakedepends="automake libtool gettext-devel-tools desktop-file-utils"
|
hostmakedepends="automake libtool gettext-devel-tools desktop-file-utils"
|
||||||
makedepends="sqlite-devel zlib-devel libjpeg-turbo-devel libpng-devel
|
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
|
SDL_net-devel SDL_ttf-devel lua52-devel libcurl-devel libode-devel
|
||||||
bzip2-devel gettext-devel"
|
bzip2-devel gettext-devel"
|
||||||
depends="${pkgname}-data"
|
depends="${pkgname}-data"
|
||||||
|
|
Loading…
Add table
Reference in a new issue