From 2400702525c6db3b1d9cb6b2866bc2544c65f65f Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Thu, 26 Jan 2017 21:32:11 +0100 Subject: [PATCH] ftppositive: upstream switched to makefile. --- haiku-apps/ftppositive/ftppositive-1.0.recipe | 17 +++--- .../patches/ftppositive-1.0.patchset | 61 ------------------- 2 files changed, 7 insertions(+), 71 deletions(-) delete mode 100644 haiku-apps/ftppositive/patches/ftppositive-1.0.patchset diff --git a/haiku-apps/ftppositive/ftppositive-1.0.recipe b/haiku-apps/ftppositive/ftppositive-1.0.recipe index 04c5e2000..e48c2a003 100644 --- a/haiku-apps/ftppositive/ftppositive-1.0.recipe +++ b/haiku-apps/ftppositive/ftppositive-1.0.recipe @@ -4,12 +4,11 @@ FtpPositive is a simple graphical FTP client." HOMEPAGE="https://github.com/HaikuArchives/FtpPositive" COPYRIGHT="2007 momoziro" LICENSE="FtpPositive" -REVISION="3" -srcGitRev="442f47a22fdd9be8853522da1749755d343d9e60" +REVISION="4" +srcGitRev="d24fa2609ccb2964e72fecdf7c2d0d7172cb6898" SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz" -CHECKSUM_SHA256="86e199c59699bc9f0a00e47fc0f510934a23568e4a40d2405f428d0cecfb15a5" +CHECKSUM_SHA256="b8bbae8d488871270f94488fee0e1eb023f6aacddeca7ba5ab4da3e7427deedb" SOURCE_DIR="FtpPositive-$srcGitRev" -PATCHES="ftppositive-$portVersion.patchset" ARCHITECTURES="x86_gcc2 x86 x86_64" @@ -25,22 +24,20 @@ BUILD_REQUIRES=" haiku_devel " BUILD_PREREQUIRES=" + makefile_engine cmd:gcc - cmd:jam + cmd:make " BUILD() { cd src - jam - - #too lazy to fix the jamfile - mimeset -f FtpPositive + make OBJ_DIR=objects } INSTALL() { mkdir -p $appsDir - cp -a src/FtpPositive $appsDir + cp -a src/objects/FtpPositive $appsDir addAppDeskbarSymlink $appsDir/FtpPositive } diff --git a/haiku-apps/ftppositive/patches/ftppositive-1.0.patchset b/haiku-apps/ftppositive/patches/ftppositive-1.0.patchset deleted file mode 100644 index 4ba619f47..000000000 --- a/haiku-apps/ftppositive/patches/ftppositive-1.0.patchset +++ /dev/null @@ -1,61 +0,0 @@ -From 895db8dd8a9ad84d40e485ae712c1b034bb56482 Mon Sep 17 00:00:00 2001 -From: Jerome Duval -Date: Tue, 24 Jan 2017 18:34:26 +0100 -Subject: gcc5 and x86_64 fixes - - -diff --git a/src/ColumnListView.cpp b/src/ColumnListView.cpp -index b167618..c73e859 100644 ---- a/src/ColumnListView.cpp -+++ b/src/ColumnListView.cpp -@@ -464,7 +464,7 @@ BRow::BRow(float height) - BRow::~BRow() - { - while (true) { -- BField *field = (BField*) fFields.RemoveItem(0L); -+ BField *field = (BField*) fFields.RemoveItem((int32)0); - if (field == 0) - break; - -@@ -772,7 +772,7 @@ BColumnListView::BColumnListView(BRect rect, const char *name, uint32 resizingMo - BColumnListView::~BColumnListView() - { - while (true) { -- BColumn *column = (BColumn*) fColumns.RemoveItem(0L); -+ BColumn *column = (BColumn*) fColumns.RemoveItem((int32)0); - if (column == 0) - break; - -@@ -1933,7 +1933,7 @@ void TitleView::ComputeDragBoundries(BColumn *findColumn, BPoint ) - void TitleView::DrawTitle(BView *view, BRect rect, BColumn *column, bool depressed) - { - BRect drawRect; -- rgb_color borderColor = mix_color(fMasterView->Color(B_COLOR_HEADER_BACKGROUND), make_color(0, 0, 0), 128); -+ rgb_color borderColor = ::mix_color(fMasterView->Color(B_COLOR_HEADER_BACKGROUND), make_color(0, 0, 0), 128); - rgb_color backgroundColor; - - rgb_color bevelHigh; -@@ -1943,15 +1943,15 @@ void TitleView::DrawTitle(BView *view, BRect rect, BColumn *column, bool depress - drawRect = rect; - drawRect.InsetBy(2, 2); - if (depressed) { -- backgroundColor = mix_color(fMasterView->Color(B_COLOR_HEADER_BACKGROUND), make_color(0, 0, 0), 64); -- bevelHigh = mix_color(backgroundColor, make_color(0, 0, 0), 64); -- bevelLow = mix_color(backgroundColor, make_color(255, 255, 255), 128); -+ backgroundColor = ::mix_color(fMasterView->Color(B_COLOR_HEADER_BACKGROUND), make_color(0, 0, 0), 64); -+ bevelHigh = ::mix_color(backgroundColor, make_color(0, 0, 0), 64); -+ bevelLow = ::mix_color(backgroundColor, make_color(255, 255, 255), 128); - drawRect.left++; - drawRect.top++; - } else { - backgroundColor = fMasterView->Color(B_COLOR_HEADER_BACKGROUND); -- bevelHigh = mix_color(backgroundColor, make_color(255, 255, 255), 192); -- bevelLow = mix_color(backgroundColor, make_color(0, 0, 0), 64); -+ bevelHigh = ::mix_color(backgroundColor, make_color(255, 255, 255), 192); -+ bevelLow = ::mix_color(backgroundColor, make_color(0, 0, 0), 64); - drawRect.bottom--; - drawRect.right--; - } --- -2.10.2 -