mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
rott: add execinfo for musl, remove patch.
This commit is contained in:
parent
fc861b7297
commit
d2e6457f08
2 changed files with 10 additions and 25 deletions
|
@ -1,11 +0,0 @@
|
||||||
--- rott/dosutil.c.orig 2016-07-06 16:39:54.045772922 -0400
|
|
||||||
+++ rott/dosutil.c 2016-07-06 16:40:27.862760218 -0400
|
|
||||||
@@ -197,7 +197,7 @@
|
|
||||||
printf ("\033[m");
|
|
||||||
}
|
|
||||||
|
|
||||||
-#if !defined(__CYGWIN__) && !defined(__MINGW32__)
|
|
||||||
+#if defined(__GLIBC__)
|
|
||||||
#include <execinfo.h>
|
|
||||||
|
|
||||||
void print_stack (int level)
|
|
|
@ -1,20 +1,22 @@
|
||||||
# Template file for 'rott'
|
# Template file for 'rott'
|
||||||
pkgname=rott
|
pkgname=rott
|
||||||
version=1.1.2
|
version=1.1.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
|
||||||
build_wrksrc=rott
|
build_wrksrc=rott
|
||||||
makedepends="SDL_mixer-devel"
|
build_style=gnu-makefile
|
||||||
short_desc="A port of Apogee's 3D action title Rise of the Triad"
|
make_use_env=yes
|
||||||
|
makedepends="SDL_mixer-devel SDL-devel"
|
||||||
|
short_desc="Port of Apogee's 3D action title Rise of the Triad"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
license="GPL-2"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://icculus.org/rott/"
|
homepage="http://icculus.org/rott/"
|
||||||
distfiles="${homepage}/releases/rott-${version}.tar.gz"
|
distfiles="${homepage}/releases/rott-${version}.tar.gz"
|
||||||
checksum=102516e8c312f6b0bbf6c623e1f01cbfbbc314ace8adfe1f201d47b15bd927ff
|
checksum=102516e8c312f6b0bbf6c623e1f01cbfbbc314ace8adfe1f201d47b15bd927ff
|
||||||
|
|
||||||
do_build() {
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
make
|
makedepends+=" libexecinfo-devel"
|
||||||
}
|
export LDLIBS="-lexecinfo"
|
||||||
|
fi
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin "${FILESDIR}/rott"
|
vbin "${FILESDIR}/rott"
|
||||||
|
@ -23,9 +25,3 @@ do_install() {
|
||||||
vinstall ../misc/rott.desktop 644 usr/share/applications
|
vinstall ../misc/rott.desktop 644 usr/share/applications
|
||||||
vinstall ../misc/rott.xpm 644 usr/share/pixmaps/rott.xpm
|
vinstall ../misc/rott.xpm 644 usr/share/pixmaps/rott.xpm
|
||||||
}
|
}
|
||||||
|
|
||||||
# REMARKS:
|
|
||||||
# There is a single patch in place because a feature is optionally disabled for
|
|
||||||
# mingw but we need it disabled for musl, since it's not in muslc.
|
|
||||||
# The makefile is currently very nice and uses our CFLAGS and LDFLAGS without
|
|
||||||
# any patching.
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue