mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
takenotes: patch is upstreamed.
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
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,11 +10,10 @@ DESCRIPTION="With TakeNotes you can:
|
||||
HOMEPAGE="https://github.com/HaikuArchives/TakeNotes"
|
||||
COPYRIGHT="2009 Ilio Catallo, Stefano Celentano, Eleonora Ciceri"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="6"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/TakeNotes/archive/7f84d8f50e.tar.gz"
|
||||
CHECKSUM_SHA256="6236158c21f3aed723a552693bdb1d576024ddaca5a5669f713e9ea4dbb4ae98"
|
||||
SOURCE_DIR="TakeNotes-7f84d8f50eca3f507692dc6e59874818ec21195b/source"
|
||||
PATCHES="takenotes-$portVersion.patchset"
|
||||
REVISION="7"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/TakeNotes/archive/ec07467318a40df4475825f41d816242891efbc4.tar.gz"
|
||||
CHECKSUM_SHA256="06cdce56f752beb77ed0e4b7e90273c147afd530e3d92cde38cd3f6d9a3a0f67"
|
||||
SOURCE_DIR="TakeNotes-ec07467318a40df4475825f41d816242891efbc4/source"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user