Maelstrom: update to 3.0.6a

This commit is contained in:
Juergen Buchmueller 2016-10-10 18:47:14 +02:00
parent 9d89a7598b
commit 71a5a59733
2 changed files with 9 additions and 15 deletions

View File

@ -1,13 +0,0 @@
--- screenlib/SDL_FrameBuf.cpp 2001-07-22 23:03:13.000000000 +0200
+++ screenlib/SDL_FrameBuf.cpp 2015-10-09 10:49:12.066602207 +0200
@@ -848,8 +848,8 @@
for ( i=0; i<dirtymaplen; ++i ) {
if ( dirtymap[i] != NULL ) {
dirtymap[i] = (SDL_Rect *)(
- ((int)dirtymap[i]-(int)updatelist) +
- (int)newlist
+ ((ptrdiff_t)dirtymap[i]-(ptrdiff_t)updatelist) +
+ (ptrdiff_t)newlist
);
}
}

View File

@ -1,15 +1,22 @@
# Template file for 'Maelstrom'
pkgname=Maelstrom
version=3.0.6
version=3.0.6a
revision=1
wrksrc="${pkgname}-${version%a}"
build_style=gnu-configure
hostmakedepends="automake libtool SDL_net-devel"
makedepends="SDL_net-devel"
short_desc="Guide your ship through the Maelstrom asteroid belt"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="https://www.libsdl.org/projects/${pkgname}/"
distfiles="${homepage}/src/${pkgname}-${version}.tar.gz"
checksum=e7983c2c7376cdcca1944db1706d92aedd529638cf13358c88a60df982ba7b46
checksum=342557bcc89eea57af4272778d3511be95fe46cf75e291298a15caa49a2f0e29
pre_configure() {
mv configure.{in,ac}
./autogen.sh
}
post_install() {
make target=${DESTDIR}/usr/share/doc/$pkgname install_gamedocs