bevexed: patch is upstreamed.

This commit is contained in:
Jerome Duval
2017-01-26 21:33:23 +01:00
parent 374827acf6
commit b086fd62de
2 changed files with 3 additions and 42 deletions

View File

@@ -5,12 +5,11 @@ tiles touch."
HOMEPAGE="https://github.com/HaikuArchives/BeVexed"
COPYRIGHT="2006 DarkWyrm"
LICENSE="MIT"
REVISION="3"
srcGitRev="01613e90e6ce3c2b47a592efe8e248db3445f536"
REVISION="4"
srcGitRev="a84f17dfbad4a0f9771e7ec54f6cec57ffb6878f"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="02665da2df862c05c2d46b80f50834500ad2143761d86da7c6aad97c19c49bd7"
CHECKSUM_SHA256="fb419351f9ed102390cf921eeed7b91a9ecd0049d87c095c1c0886e8807be340"
SOURCE_DIR="BeVexed-$srcGitRev"
PATCHES="bevexed-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"

View File

@@ -1,38 +0,0 @@
From f381356a15301ece01566484e0226a753aff6e73 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Tue, 24 Jan 2017 19:05:13 +0100
Subject: x86_64 build fix
diff --git a/source/MainWindow.cpp b/source/MainWindow.cpp
index a5455c7..7bb30bf 100644
--- a/source/MainWindow.cpp
+++ b/source/MainWindow.cpp
@@ -384,9 +384,9 @@ void MainWindow::GenerateGrid(uint8 size)
}
while(fGridLayout->CountItems()>0)
- fGridLayout->RemoveItem(0l);
+ fGridLayout->RemoveItem((int32)0);
while(fWorkGridLayout->CountItems()>0)
- fWorkGridLayout->RemoveItem(0l);
+ fWorkGridLayout->RemoveItem((int32)0);
fGrid = new Grid(size);
fGrid->GeneratePuzzle();
diff --git a/source/makefile b/source/makefile
index 1cfd36c..7b9c2f1 100644
--- a/source/makefile
+++ b/source/makefile
@@ -13,7 +13,7 @@ TimerView.cpp
RDEFS= BeVexed.rdef
-LIBS= be translation
+LIBS= be translation $(STDCPPLIBS)
APP_VERSION = 1.1
--
2.10.2