rename: upstreamed patchset.

This commit is contained in:
Jerome Duval
2018-09-17 12:54:02 +02:00
parent a3f6553388
commit e3ca5b8b96
2 changed files with 4 additions and 58 deletions

View File

@@ -1,53 +0,0 @@
From 04bd0c6900f6ef7e50f4e8bc9cabcbe05b7cf5ab Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Tue, 31 Jan 2017 19:38:14 +0100
Subject: gcc5 build fix
diff --git a/source/DragDropView.cpp b/source/DragDropView.cpp
index f4dd7ee..2bf5088 100644
--- a/source/DragDropView.cpp
+++ b/source/DragDropView.cpp
@@ -19,9 +19,9 @@ DragDropView::DragDropView(BRect frame) : BView(frame,"DragDropView",
SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
- BRect frame = Bounds();
- frame.InsetBy(10,10);
- dragDropBox = new BBox(frame,"dragDropBox",B_FOLLOW_ALL);
+ BRect bounds = Bounds();
+ bounds.InsetBy(10,10);
+ dragDropBox = new BBox(bounds,"dragDropBox",B_FOLLOW_ALL);
dragDropBox->SetLabel(LABEL);
AddChild(dragDropBox);
}
diff --git a/source/driver.cpp b/source/driver.cpp
index ecfd4d6..d7f38ff 100644
--- a/source/driver.cpp
+++ b/source/driver.cpp
@@ -10,7 +10,7 @@
*
*/
-#include <iostream.h>
+#include <iostream>
#include <be/add-ons/tracker/TrackerAddOn.h>
#include <be/app/Application.h>
#include <be/app/Message.h>
@@ -59,11 +59,12 @@ process_refs(entry_ref dir_ref, BMessage* msg, void* reserved)
wait_for_thread(thread, &win_status);
}
-void
+int
main()
{
PRINT(("main()\n"));
new Application();
be_app->Run();
delete be_app;
+ return 0;
}
--
2.10.2

View File

@@ -8,11 +8,10 @@ names!"
HOMEPAGE="https://github.com/bbjimmy/ReName_for_HAIKU"
COPYRIGHT="2000 FlipSide Software"
LICENSE="Public Domain"
REVISION="3"
SOURCE_URI="https://github.com/bbjimmy/ReName_for_HAIKU/archive/1.0.tar.gz"
CHECKSUM_SHA256="5534bacdf5b53ee9dcb156b9bec20da00a637d63511d964d5eee2de68ad8a952"
SOURCE_DIR="ReName_for_HAIKU-1.0"
PATCHES="rename-$portVersion.patchset"
REVISION="4"
SOURCE_URI="https://github.com/bbjimmy/ReName_for_HAIKU/archive/3ef452c257ab31c67a277920d5398358301ea5f3.tar.gz"
CHECKSUM_SHA256="553e095ac851f63a603b652f0e0f29c3ebbc7b668a8462c32883e456ac9fa62c"
SOURCE_DIR="ReName_for_HAIKU-3ef452c257ab31c67a277920d5398358301ea5f3"
ARCHITECTURES="x86_gcc2 x86 x86_64"