mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
takenotes: enable x86_64.
This commit is contained in:
48
haiku-apps/takenotes/patches/takenotes-1.0.0.patchset
Normal file
48
haiku-apps/takenotes/patches/takenotes-1.0.0.patchset
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
From 280c61cc455673a8ffe4f61e2f85b115d1b99af8 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jerome Duval <jerome.duval@gmail.com>
|
||||||
|
Date: Sat, 28 Jan 2017 13:20:18 +0100
|
||||||
|
Subject: x86_64 build fix.
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/ChoiceView.cpp b/ChoiceView.cpp
|
||||||
|
index 4293e22..35eb393 100644
|
||||||
|
--- a/ChoiceView.cpp
|
||||||
|
+++ b/ChoiceView.cpp
|
||||||
|
@@ -68,7 +68,7 @@ ChoiceView :: ChoiceView(BRect rect, char *vname,BHandler *handler)
|
||||||
|
// We look for the current application instances that are running
|
||||||
|
for (count=0;count< aList->CountItems();count++){
|
||||||
|
|
||||||
|
- who = (team_id)aList->ItemAt(count);
|
||||||
|
+ who = (team_id)(addr_t)aList->ItemAt(count);
|
||||||
|
be_roster->GetRunningAppInfo(who,appInfo);
|
||||||
|
|
||||||
|
// Show the name of the running program istead of its signature
|
||||||
|
diff --git a/NoteView.cpp b/NoteView.cpp
|
||||||
|
index b2ffa9b..5410401 100644
|
||||||
|
--- a/NoteView.cpp
|
||||||
|
+++ b/NoteView.cpp
|
||||||
|
@@ -258,7 +258,7 @@ void NoteView :: MouseDown(BPoint point){
|
||||||
|
|
||||||
|
// We look for the current instances that are running
|
||||||
|
for (count=0;count< aList->CountItems();count++){
|
||||||
|
- team_id who = (team_id)aList->ItemAt(count);
|
||||||
|
+ team_id who = (team_id)(addr_t)aList->ItemAt(count);
|
||||||
|
be_roster->GetRunningAppInfo(who,appInfo);
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/NoteWindow.cpp b/NoteWindow.cpp
|
||||||
|
index 7dccee5..a848445 100644
|
||||||
|
--- a/NoteWindow.cpp
|
||||||
|
+++ b/NoteWindow.cpp
|
||||||
|
@@ -977,7 +977,7 @@ void NoteWindow :: MessageReceived(BMessage* message) {
|
||||||
|
|
||||||
|
// We look for the current instances of BeZilla that are running
|
||||||
|
for (count=0;count< aList->CountItems();count++){
|
||||||
|
- who = (team_id)aList->ItemAt(count);
|
||||||
|
+ who = (team_id)(addr_t)aList->ItemAt(count);
|
||||||
|
be_roster->GetRunningAppInfo(who,appInfo);
|
||||||
|
|
||||||
|
// Is there an instance that is running?
|
||||||
|
--
|
||||||
|
2.10.2
|
||||||
|
|
||||||
@@ -10,12 +10,13 @@ DESCRIPTION="With TakeNotes you can:
|
|||||||
HOMEPAGE="https://github.com/HaikuArchives/TakeNotes"
|
HOMEPAGE="https://github.com/HaikuArchives/TakeNotes"
|
||||||
COPYRIGHT="2009 Ilio Catallo, Stefano Celentano, Eleonora Ciceri"
|
COPYRIGHT="2009 Ilio Catallo, Stefano Celentano, Eleonora Ciceri"
|
||||||
LICENSE="GNU GPL v2"
|
LICENSE="GNU GPL v2"
|
||||||
REVISION="5"
|
REVISION="6"
|
||||||
SOURCE_URI="https://github.com/HaikuArchives/TakeNotes/archive/7f84d8f50e.tar.gz"
|
SOURCE_URI="https://github.com/HaikuArchives/TakeNotes/archive/7f84d8f50e.tar.gz"
|
||||||
CHECKSUM_SHA256="6236158c21f3aed723a552693bdb1d576024ddaca5a5669f713e9ea4dbb4ae98"
|
CHECKSUM_SHA256="6236158c21f3aed723a552693bdb1d576024ddaca5a5669f713e9ea4dbb4ae98"
|
||||||
SOURCE_DIR="TakeNotes-7f84d8f50eca3f507692dc6e59874818ec21195b/source"
|
SOURCE_DIR="TakeNotes-7f84d8f50eca3f507692dc6e59874818ec21195b/source"
|
||||||
|
PATCHES="takenotes-$portVersion.patchset"
|
||||||
|
|
||||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
takenotes=$portVersion
|
takenotes=$portVersion
|
||||||
|
|||||||
Reference in New Issue
Block a user