From 585bdba3b365d870700dc662790b0281497bbc4e Mon Sep 17 00:00:00 2001 From: Derek Tse Date: Mon, 22 Dec 2014 06:17:41 +0000 Subject: [PATCH] This will add the recipe and patch for SDL_bomber. --- .../patches/sdl_bomber-1.0.4.patchset | 33 +++++++++++++ .../sdl_bomber/sdl_bomber-1.0.4.patch | 25 ++++++++++ .../sdl_bomber/sdl_bomber-1.0.4.recipe | 49 +++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 games-action/sdl_bomber/patches/sdl_bomber-1.0.4.patchset create mode 100644 games-action/sdl_bomber/sdl_bomber-1.0.4.patch create mode 100644 games-action/sdl_bomber/sdl_bomber-1.0.4.recipe diff --git a/games-action/sdl_bomber/patches/sdl_bomber-1.0.4.patchset b/games-action/sdl_bomber/patches/sdl_bomber-1.0.4.patchset new file mode 100644 index 000000000..37f754596 --- /dev/null +++ b/games-action/sdl_bomber/patches/sdl_bomber-1.0.4.patchset @@ -0,0 +1,33 @@ +From 6a6c051e1f8e4d906d26e576c5af7f35ec9d81c9 Mon Sep 17 00:00:00 2001 +From: Scott McCreary +Date: Sun, 21 Dec 2014 00:24:59 -0800 +Subject: applying patch sdl_bomber-1.0.4.patch + + +diff --git a/bomber.c b/bomber.c +index 6c66afe..78a6fb0 100644 +--- a/bomber.c ++++ b/bomber.c +@@ -14,6 +14,9 @@ + #include + #include + ++#ifdef __HAIKU__ ++#include ++#endif + + void domode(void); + int iterate(void); +@@ -1917,6 +1920,10 @@ int main(int argc,char **argv) + int i; + char *p; + ++#ifdef __HAIKU__ ++ chdir(dirname(argv[0])); ++#endif ++ + mname=0; + + for(i=1;i + #include + ++#ifdef __HAIKU__ ++#include ++#endif + + void domode(void); + int iterate(void); +@@ -1917,6 +1920,10 @@ int main(int argc,char **argv) + int i; + char *p; + ++#ifdef __HAIKU__ ++ chdir(dirname(argv[0])); ++#endif ++ + mname=0; + + for(i=1;i