koder: bump version

This commit is contained in:
Kacper Kasper
2018-10-07 21:24:40 +02:00
parent ef9b86e59c
commit e9a1789d75
2 changed files with 2 additions and 35 deletions

View File

@@ -7,11 +7,10 @@ Scintilla."
HOMEPAGE="https://github.com/KapiX/Koder"
COPYRIGHT="2016-2018 Kacper Kasper"
LICENSE="MIT"
REVISION="3"
REVISION="1"
SOURCE_URI="https://github.com/KapiX/Koder/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="97b5eebac0366d428bef7e69262557775de47a385195358db1d432f3bb78d465"
CHECKSUM_SHA256="a7eeb905bd3a849ca6c50030a5f5a26e6a7b7d53f12019863e5eacbfd383f998"
SOURCE_DIR="Koder-$portVersion"
PATCHES="koder-0.3.0.patchset"
ARCHITECTURES="!x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86"

View File

@@ -1,32 +0,0 @@
From 591073e00ab79fad579bb3fb5eedb9aebb53cfe9 Mon Sep 17 00:00:00 2001
From: Humdinger <humdingerb@gmail.com>
Date: Sun, 19 Aug 2018 17:41:55 +0200
Subject: BMessageFormat -> BStringFormat
Needed after Haiku API change in hrev52220
diff --git a/src/EditorWindow.cpp b/src/EditorWindow.cpp
index 7e1d8bb..b30e824 100644
--- a/src/EditorWindow.cpp
+++ b/src/EditorWindow.cpp
@@ -18,7 +18,7 @@
#include <GroupLayout.h>
#include <LayoutBuilder.h>
#include <MenuBar.h>
-#include <MessageFormat.h>
+#include <StringFormat.h>
#include <MimeType.h>
#include <Node.h>
#include <NodeInfo.h>
@@ -804,7 +804,7 @@ EditorWindow::_FindReplace(BMessage* message)
int occurences = fEditor->ReplaceAll(findText, replaceText,
matchCase, matchWord, inSelection, regex);
BString alertMessage;
- static BMessageFormat format(B_TRANSLATE("Replaced "
+ static BStringFormat format(B_TRANSLATE("Replaced "
"{0, plural, one{# occurence} other{# occurences}}."));
format.Format(alertMessage, occurences);
BAlert* alert = new BAlert(B_TRANSLATE("Replacement finished"),
--
2.16.4