From 9df0b927afb19314aed4847fdc64b16652601ee8 Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Wed, 25 Oct 2017 09:55:11 +0300 Subject: [PATCH] BeSol: use safe source. Still doesn't compile --- haiku-games/besol/besol-2.0.5.recipe | 11 +++++---- haiku-games/besol/patches/BeSol.patch | 35 --------------------------- 2 files changed, 6 insertions(+), 40 deletions(-) delete mode 100644 haiku-games/besol/patches/BeSol.patch diff --git a/haiku-games/besol/besol-2.0.5.recipe b/haiku-games/besol/besol-2.0.5.recipe index 1a6977112..ed1f6f332 100644 --- a/haiku-games/besol/besol-2.0.5.recipe +++ b/haiku-games/besol/besol-2.0.5.recipe @@ -1,13 +1,14 @@ SUMMARY="Easily create and play games of solitaire" DESCRIPTION="Solitaire program that loads, saves, edits, and of course runs \ solitaire games." -HOMEPAGE="http://github.com/HaikuArchives/BeSol" +HOMEPAGE="https://github.com/HaikuArchives/BeSol/" COPYRIGHT="1999 Jason Wrinkle" LICENSE="GNU GPL v2" -REVISION="3" -SOURCE_URI="git://github.com/HaikuArchives/BeSol" -SOURCE_DIR="BeSol-master" -PATCHES="BeSol.patch" +REVISION="4" +COMMIT="2ac61dc65cb66ae9274d22f08c108ef845f9d76c" +SOURCE_URI="https://github.com/HaikuArchives/BeSol/archive/$COMMIT.zip" +CHECKSUM_SHA256="245c6c685e48a553401a5461bd3809819c5745d0a2fd86e5833ffccab5ae313b" +SOURCE_DIR="BeSol-$COMMIT" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" diff --git a/haiku-games/besol/patches/BeSol.patch b/haiku-games/besol/patches/BeSol.patch deleted file mode 100644 index 605c468bd..000000000 --- a/haiku-games/besol/patches/BeSol.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/Source/BesolWindow.h b/Source/BesolWindow.h -index d703c1c..ad648f8 100644 ---- a/Source/BesolWindow.h -+++ b/Source/BesolWindow.h -@@ -27,6 +27,8 @@ - #include - #include - #include -+#include -+#include - - #ifndef IEWINDOW - #define IEWINDOW -diff --git a/Source/PILE.c++ b/Source/PILE.c++ -index e826b76..3c0f259 100644 ---- a/Source/PILE.c++ -+++ b/Source/PILE.c++ -@@ -238,7 +238,7 @@ void PILE::construction_helper(pile_props* props) - PILE::~PILE() - { - BMenuItem* item = popmenu->FindItem(POP_EDIT); -- if ( item->IsMarked() ) peditor->Remove_Target(cast_as(this, BView)); -+ if ( item->IsMarked() ) peditor->Remove_Target((BView*)this); - - list< list >::iterator itert = allrules->begin(); - list::iterator iterf; -@@ -685,7 +685,7 @@ void PILE::MessageReceived(BMessage* message) - { - BMenuItem* item = popmenu->FindItem(POP_EDIT); - item->SetMarked( !(item->IsMarked()) ); -- BView* temp = cast_as (this, BView); -+ BView* temp = (BView*)this; - isbeingedited = !isbeingedited; - Invalidate(Bounds()); -