From 0e5fa9045b137cf59d31ca4b4e60ed9e78fa52e9 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Fri, 21 Sep 2018 08:26:53 +0200 Subject: [PATCH] bebattle: upstreamed patchset. --- haiku-games/bebattle/bebattle-1.0.0.recipe | 7 +- .../bebattle/patches/bebattle-1.0.0.patchset | 73 ------------------- 2 files changed, 3 insertions(+), 77 deletions(-) delete mode 100644 haiku-games/bebattle/patches/bebattle-1.0.0.patchset diff --git a/haiku-games/bebattle/bebattle-1.0.0.recipe b/haiku-games/bebattle/bebattle-1.0.0.recipe index c818d9127..5c20a1416 100644 --- a/haiku-games/bebattle/bebattle-1.0.0.recipe +++ b/haiku-games/bebattle/bebattle-1.0.0.recipe @@ -4,12 +4,11 @@ attempt to completely destroy your opponent's units." HOMEPAGE="https://github.com/HaikuArchives/BeBattle/" COPYRIGHT="1999-2000 Jonathan Villemure" LICENSE="MIT" -REVISION="2" -srcGitRev="e44b8fd01f895e1ef068ab330abd3e492d95d369" +REVISION="3" +srcGitRev="2dc7fba2265971a963ec0d6c72cc5d5e896a41ba" SOURCE_URI="https://github.com/HaikuArchives/BeBattle/archive/$srcGitRev.tar.gz" -CHECKSUM_SHA256="30be929f3fb9725fc8ca6f817fb75abd45c526436154d5dc397f39940b48f583" +CHECKSUM_SHA256="0d0da4c9f415ba37c14dba551a8e5ff8abc7ea5c8c7064722aad977bcab42728" SOURCE_DIR="BeBattle-$srcGitRev" -PATCHES="bebattle-$portVersion.patchset" ARCHITECTURES="x86_gcc2 ?x86 x86_64" diff --git a/haiku-games/bebattle/patches/bebattle-1.0.0.patchset b/haiku-games/bebattle/patches/bebattle-1.0.0.patchset deleted file mode 100644 index b12e8a583..000000000 --- a/haiku-games/bebattle/patches/bebattle-1.0.0.patchset +++ /dev/null @@ -1,73 +0,0 @@ -From 5dd75922da05e89311adf480d94e39a6e0b285f2 Mon Sep 17 00:00:00 2001 -From: nys <33534144+nysnatuss@users.noreply.github.com> -Date: Sun, 31 Dec 2017 22:52:34 +0000 -Subject: patch for x86_64 - - -diff --git a/src/Makefile b/src/Makefile -index 45465ea..3154ead 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -56,7 +56,7 @@ RSRCS = - # - if your library does not follow the standard library naming scheme, - # you need to specify the path to the library and it's name. - # (e.g. for mylib.a, specify "mylib.a" or "path/mylib.a") --LIBS = be translation -+LIBS = be translation $(STDCPPLIBS) - - # Specify additional paths to directories following the standard libXXX.so - # or libXXX.a naming scheme. You can specify full paths or paths relative -diff --git a/src/ai.h b/src/ai.h -index 57d445c..863ce50 100644 ---- a/src/ai.h -+++ b/src/ai.h -@@ -4,7 +4,7 @@ - #include "dview.h" - #include "beunit.h" - //--------------------------------------------------------------------- --typedef list::iterator ITER; -+typedef std::list::iterator ITER; - //--------------------------------------------------------------------- - struct Action //A possible action - { -@@ -27,4 +27,4 @@ class MrAI //Mister AI :) - Action GetChoosenOption(); //return the action choosed by the AI - }; - //--------------------------------------------------------------------- --#endif -\ No newline at end of file -+#endif -diff --git a/src/dview.h b/src/dview.h -index 4361f25..5a60fb0 100644 ---- a/src/dview.h -+++ b/src/dview.h -@@ -9,8 +9,8 @@ - #include "animation.h" - #include "convert.h" - //--------------------------------------------------------------------- --typedef list::iterator ITER; --typedef list::reverse_iterator RITER; -+typedef std::list::iterator ITER; -+typedef std::list::reverse_iterator RITER; - enum BUTTONMODE{Option, Unit}; - //--------------------------------------------------------------------- - class DView : public BView -@@ -20,7 +20,7 @@ class DView : public BView - BBitmap* OffscreenBitmap; //to avoid flicker while drawing - BView* OffscreenView; //used by the offscreen bitmap - -- list Liste; //All units are in this list -+ std::list Liste; //All units are in this list - ITER Active; //iterator to active unit - ITER Passive; //iterator to current target (passive unit) - BUTTONMODE Mode; //current button set -@@ -61,4 +61,4 @@ class DView : public BView - virtual void MouseMoved(BPoint where, uint32 transit, const BMessage *message); - }; - //--------------------------------------------------------------------- --#endif -\ No newline at end of file -+#endif --- -2.15.0 -