cdogs-sdl: fix musl, cleanup template
This commit is contained in:
parent
22f20f12f6
commit
dafda0f782
|
@ -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'
|
||||
pkgname=cdogs-sdl
|
||||
version=0.6.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
_hqxrev=2a8a05854ad2147425d0b55a3c40e81c368c97fd
|
||||
_tinydirrev=53aab97d6a11d70d669ce9c36d0d90ec6937c33d
|
||||
hostmakedepends="cmake"
|
||||
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"
|
||||
|
@ -13,7 +11,6 @@ homepage="http://cxong.github.io/cdogs-sdl/"
|
|||
license="GPL2"
|
||||
distfiles="https://github.com/cxong/cdogs-sdl/archive/$version.tar.gz"
|
||||
checksum="ac7c6ca6275bd4de16078d417b77fcc3bec0ea5555b342d8a3901da397736fa6"
|
||||
lib32disabled=yes
|
||||
configure_args="-DCDOGS_DATA_DIR=/usr/share/cdogs/"
|
||||
|
||||
pre_configure() {
|
||||
|
|
Loading…
Reference in New Issue