mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
committed by
Schrijvers Luc
parent
f33cd80d12
commit
ba31d344df
54
games-action/abuse/abuse-0.8.recipe
Normal file
54
games-action/abuse/abuse-0.8.recipe
Normal file
@@ -0,0 +1,54 @@
|
||||
SUMMARY="2D side-scrolling platform game"
|
||||
DESCRIPTION="Abuse is a dark 2D side-scrolling platform game developed by \
|
||||
Crack dot Com in 1995. It features beautiful lighting, realistic animation \
|
||||
and nasty alien-like creatures to destroy. It is now maintained by Sam \
|
||||
Hocevar in an attempt to prevent it from vanishing from the Internet."
|
||||
HOMEPAGE="http://abuse.zoy.org"
|
||||
COPYRIGHT="2001-2005 Sam Hocevar
|
||||
2001 Anthony Kruize
|
||||
1995 Crack dot Com
|
||||
1995 Bobby Prince
|
||||
1995 Crack dot Com
|
||||
1996-2008 Justin Cassidy"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://abuse.zoy.org/raw-attachment/wiki/download/abuse-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0104db5fd2695c9518583783f7aaa7e5c0355e27c5a803840a05aef97f9d3488"
|
||||
PATCHES="abuse-$portVersion.patchset"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
abuse = $portVersion
|
||||
cmd:abuse = $portVersion
|
||||
cmd:abuse_tool = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libSDL
|
||||
lib:libSDL_mixer_1.2
|
||||
lib:libGL
|
||||
lib:libGLU
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libSDL
|
||||
devel:libSDL_mixer_1.2
|
||||
devel:libGLU
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
cmd:awk
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
43
games-action/abuse/patches/abuse-0.8.patchset
Normal file
43
games-action/abuse/patches/abuse-0.8.patchset
Normal file
@@ -0,0 +1,43 @@
|
||||
From 70602ecce40c1502303d83500a01fff697cfcd60 Mon Sep 17 00:00:00 2001
|
||||
From: Yourself <user@shredder.home>
|
||||
Date: Tue, 25 Sep 2018 16:05:19 +0000
|
||||
Subject: removed reference to unused sys/shm.h
|
||||
|
||||
|
||||
diff --git a/src/net/tcpip.h b/src/net/tcpip.h
|
||||
index 000071c..a13ad9d 100644
|
||||
--- a/src/net/tcpip.h
|
||||
+++ b/src/net/tcpip.h
|
||||
@@ -27,7 +27,6 @@
|
||||
# include <string.h>
|
||||
# include <sys/time.h>
|
||||
# include <sys/ipc.h>
|
||||
-# include <sys/shm.h>
|
||||
# include <sys/socket.h>
|
||||
# include <unistd.h>
|
||||
# ifdef HAVE_BSTRING_H
|
||||
--
|
||||
2.19.0
|
||||
|
||||
|
||||
From 691507d92603cc5d4b0d12205e469060741c5493 Mon Sep 17 00:00:00 2001
|
||||
From: Yourself <user@shredder.home>
|
||||
Date: Tue, 25 Sep 2018 16:08:30 +0000
|
||||
Subject: added missing stdint.h reference
|
||||
|
||||
|
||||
diff --git a/src/intsect.cpp b/src/intsect.cpp
|
||||
index 8df9cbf..85fc0ec 100644
|
||||
--- a/src/intsect.cpp
|
||||
+++ b/src/intsect.cpp
|
||||
@@ -13,6 +13,7 @@
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
+#include <stdint.h>
|
||||
|
||||
void pushback(int32_t x1,int32_t y1,int32_t &x2,int32_t &y2,
|
||||
int32_t xp1, int32_t yp1, int32_t xp2, int32_t yp2, int xdir, int ydir, int inside)
|
||||
--
|
||||
2.19.0
|
||||
|
||||
Reference in New Issue
Block a user