From 0326c837260c7d53d03d4ce73db39cf8a656a1d4 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Mon, 30 Jan 2017 20:49:37 +0100 Subject: [PATCH] seeker: fix x86_64 build. --- haiku-apps/seeker/patches/seeker-1.0.patchset | 40 +++++++++++++++++++ haiku-apps/seeker/seeker-1.0.recipe | 10 +++-- 2 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 haiku-apps/seeker/patches/seeker-1.0.patchset diff --git a/haiku-apps/seeker/patches/seeker-1.0.patchset b/haiku-apps/seeker/patches/seeker-1.0.patchset new file mode 100644 index 000000000..258a28489 --- /dev/null +++ b/haiku-apps/seeker/patches/seeker-1.0.patchset @@ -0,0 +1,40 @@ +From 864bcb5638b2f0f499b61909b07eef8b3edc1811 Mon Sep 17 00:00:00 2001 +From: Jerome Duval +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 + diff --git a/haiku-apps/seeker/seeker-1.0.recipe b/haiku-apps/seeker/seeker-1.0.recipe index 463fea569..b80766b58 100644 --- a/haiku-apps/seeker/seeker-1.0.recipe +++ b/haiku-apps/seeker/seeker-1.0.recipe @@ -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