mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
yquake2: update to 7.21, adopt package (#1189)
This commit is contained in:
parent
b0e0b30ab2
commit
529d5e300d
2 changed files with 11 additions and 29 deletions
|
@ -1,29 +1,11 @@
|
||||||
--- src/backends/unix/signalhandler.c.orig 2015-05-31 13:02:37.500133271 +0200
|
--- src/backends/unix/signalhandler.c 2018-07-25 17:01:58.664525692 +0200
|
||||||
+++ src/backends/unix/signalhandler.c 2015-05-31 13:02:54.932317118 +0200
|
+++ src/backends/unix/signalhandler.c 2018-07-25 17:02:13.880526068 +0200
|
||||||
@@ -28,14 +28,13 @@
|
@@ -34,7 +34,7 @@
|
||||||
|
|
||||||
#include <signal.h>
|
|
||||||
|
|
||||||
-#ifdef __linux__
|
|
||||||
+#if defined(__linux__) && defined(__GLIBC__)
|
|
||||||
#include <execinfo.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "../../common/header/common.h"
|
#include "../../common/header/common.h"
|
||||||
|
|
||||||
-#ifdef __linux__
|
-#if defined(__linux__) || defined(__FreeBSD__)
|
||||||
-
|
+#if defined(__linux__) && defined(__GLIBC__) || defined(__FreeBSD__)
|
||||||
+#if defined(__linux__) && defined(__GLIBC__)
|
#include <execinfo.h>
|
||||||
void
|
|
||||||
printBacktrace(int sig)
|
|
||||||
{
|
|
||||||
--- src/backends/unix/system.c
|
|
||||||
+++ src/backends/unix/system.c
|
|
||||||
@@ -34,6 +34,7 @@
|
|
||||||
#include <time.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
+#include <sys/select.h>
|
|
||||||
|
|
||||||
#ifdef __APPLE__
|
void
|
||||||
#include <mach/clock.h>
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'yquake2'
|
# Template file for 'yquake2'
|
||||||
pkgname=yquake2
|
pkgname=yquake2
|
||||||
version=7.20
|
version=7.21
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="quake2-${version}"
|
wrksrc="quake2-${version}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="WITH_SYSTEMWIDE=yes WITH_SYSTEMDIR=/usr/lib/${pkgname}"
|
make_build_args="WITH_SYSTEMWIDE=yes WITH_SYSTEMDIR=/usr/lib/${pkgname}"
|
||||||
|
@ -10,11 +10,11 @@ hostmakedepends="pkg-config"
|
||||||
makedepends="SDL2-devel libjpeg-turbo-devel libopenal-devel zlib-devel"
|
makedepends="SDL2-devel libjpeg-turbo-devel libopenal-devel zlib-devel"
|
||||||
depends="desktop-file-utils hicolor-icon-theme"
|
depends="desktop-file-utils hicolor-icon-theme"
|
||||||
short_desc="An enhanced client for id Software's Quake II (Yamagi Quake II)"
|
short_desc="An enhanced client for id Software's Quake II (Yamagi Quake II)"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://www.yamagi.org/quake2/"
|
homepage="https://www.yamagi.org/quake2/"
|
||||||
distfiles="https://deponie.yamagi.org/quake2/quake2-${version}.tar.xz"
|
distfiles="https://deponie.yamagi.org/quake2/quake2-${version}.tar.xz"
|
||||||
checksum=64136239ba08747ddfe7c18c17f87a9cd3730cd4a867b6e438eee9f34415a0ad
|
checksum=3e7c428bb2aacbc3ada9950b9e14fc599d0a054f9eedcdac55a4bff4efef5ea5
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
armv*) makedepends+=" MesaLib-devel";;
|
armv*) makedepends+=" MesaLib-devel";;
|
||||||
|
|
Loading…
Add table
Reference in a new issue