seeker: fix x86_64 build.

This commit is contained in:
Jerome Duval
2017-01-30 20:49:37 +01:00
parent e9672cb88b
commit 0326c83726
2 changed files with 46 additions and 4 deletions

View File

@@ -0,0 +1,40 @@
From 864bcb5638b2f0f499b61909b07eef8b3edc1811 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Mon, 30 Jan 2017 20:47:17 +0100
Subject: x86_64 build fix.
diff --git a/src/Makefile b/src/Makefile
index 431cd11..65c565c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -58,7 +58,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 santa
+LIBS = be santa $(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/SeekerWindow.cpp b/src/SeekerWindow.cpp
index 36f6b29..63f1944 100644
--- a/src/SeekerWindow.cpp
+++ b/src/SeekerWindow.cpp
@@ -1211,11 +1211,11 @@ void SeekerWindow::MessageReceived(BMessage* message)
void SeekerWindow::RefreshTrackerAddons(void)
{
// empty tracker addon menu
- BMenuItem *mitem=iTrackerAddonMenu->RemoveItem(0L);
+ BMenuItem *mitem=iTrackerAddonMenu->RemoveItem((int32)0);
while(mitem)
{
delete mitem;
- mitem=iTrackerAddonMenu->RemoveItem(0L);
+ mitem=iTrackerAddonMenu->RemoveItem((int32)0);
}
// iterate through /boot/beos/system/addons/Tracker
--
2.10.2

View File

@@ -5,12 +5,14 @@ currently quite useful as it is, and more features are planned for the future."
HOMEPAGE="https://github.com/HaikuArchives/Seeker"
COPYRIGHT="DarkWyrm"
LICENSE="MIT"
REVISION="4"
SOURCE_URI="https://github.com/HaikuArchives/Seeker/archive/7d56a5a.tar.gz"
REVISION="5"
gitCommit="7d56a5a9e4c4aac6b8117489b21ba59ca1fe9fbc"
SOURCE_URI="https://github.com/HaikuArchives/Seeker/archive/$gitCommit.tar.gz"
CHECKSUM_SHA256="bf6df2aba21186df751d4ef60a49623ea9400e9a7b8ca2adebb3926f8fdb2fac"
SOURCE_DIR="Seeker-7d56a5a9e4c4aac6b8117489b21ba59ca1fe9fbc"
SOURCE_DIR="Seeker-$gitCommit"
PATCHES="seeker-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
PROVIDES="
seeker = $portVersion