mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
cdogs-sdl: fix musl, cleanup template
This commit is contained in:
parent
22f20f12f6
commit
dafda0f782
2 changed files with 12 additions and 4 deletions
11
srcpkgs/cdogs-sdl/patches/fix-musl.patch
Normal file
11
srcpkgs/cdogs-sdl/patches/fix-musl.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/cdogs/enet/unix.c.orig 2016-03-15 16:58:08.347847145 +0100
|
||||||
|
+++ src/cdogs/enet/unix.c 2016-03-15 16:58:15.916846579 +0100
|
||||||
|
@@ -45,7 +45,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAS_POLL
|
||||||
|
-#include <sys/poll.h>
|
||||||
|
+#include <poll.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAS_SOCKLEN_T
|
|
@ -1,10 +1,8 @@
|
||||||
# Template file for 'cdogs'
|
# Template file for 'cdogs'
|
||||||
pkgname=cdogs-sdl
|
pkgname=cdogs-sdl
|
||||||
version=0.6.0
|
version=0.6.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
_hqxrev=2a8a05854ad2147425d0b55a3c40e81c368c97fd
|
|
||||||
_tinydirrev=53aab97d6a11d70d669ce9c36d0d90ec6937c33d
|
|
||||||
hostmakedepends="cmake"
|
hostmakedepends="cmake"
|
||||||
makedepends="physfs-devel SDL2-devel SDL2_mixer-devel SDL2_image-devel SDL2_net-devel yajl-devel"
|
makedepends="physfs-devel SDL2-devel SDL2_mixer-devel SDL2_image-devel SDL2_net-devel yajl-devel"
|
||||||
short_desc="A classic overhead run-and-gun game"
|
short_desc="A classic overhead run-and-gun game"
|
||||||
|
@ -13,7 +11,6 @@ homepage="http://cxong.github.io/cdogs-sdl/"
|
||||||
license="GPL2"
|
license="GPL2"
|
||||||
distfiles="https://github.com/cxong/cdogs-sdl/archive/$version.tar.gz"
|
distfiles="https://github.com/cxong/cdogs-sdl/archive/$version.tar.gz"
|
||||||
checksum="ac7c6ca6275bd4de16078d417b77fcc3bec0ea5555b342d8a3901da397736fa6"
|
checksum="ac7c6ca6275bd4de16078d417b77fcc3bec0ea5555b342d8a3901da397736fa6"
|
||||||
lib32disabled=yes
|
|
||||||
configure_args="-DCDOGS_DATA_DIR=/usr/share/cdogs/"
|
configure_args="-DCDOGS_DATA_DIR=/usr/share/cdogs/"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue