bepodder: bump version.

This commit is contained in:
Kacper Kasper
2018-03-14 21:38:13 +01:00
parent 5e8ba11dc9
commit bbbe39d171
2 changed files with 5 additions and 60 deletions

View File

@@ -20,15 +20,12 @@ Unzip / etc.
- Automatic channels check
- Up to 5 enclosure downloads at the same time (multi-threading)"
HOMEPAGE="https://github.com/HaikuArchives/BePodder"
COPYRIGHT="2006-2007 Funky Idea Software"
COPYRIGHT="2006-2014 Funky Idea Software"
LICENSE="MIT"
REVISION="6"
commit="aaa17f01214cb36a6356c830b1a49f2cbf343551"
SOURCE_URI="$HOMEPAGE/archive/$commit.tar.gz"
SOURCE_FILENAME="$portName-$commit.tar.gz"
SOURCE_DIR="BePodder-$commit"
CHECKSUM_SHA256="f5d4c3905ecca19dd4ec87370c7d5e7e9b4931c2e6faf4dfb126e6194c77178b"
PATCHES="bepodder-$portVersion.patchset"
REVISION="1"
SOURCE_URI="$HOMEPAGE/archive/$portVersion.tar.gz"
SOURCE_DIR="BePodder-$portVersion"
CHECKSUM_SHA256="bce88aefa270f6d38227f83bcfab0745fd82fb9684599ef130544a2574dd7e5d"
ARCHITECTURES="x86_gcc2 x86 x86_64"
@@ -55,7 +52,6 @@ BUILD_PREREQUIRES="
BUILD()
{
make $jobArgs -C library/libclv
make $jobArgs -C library/libfish
make $jobArgs -C library/libfunky
make $jobArgs -C library/librunview

View File

@@ -1,51 +0,0 @@
From f3492e1e4bdfe1ac91d0bbfd6fd016ff5df0edcb Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Fri, 23 Jun 2017 20:55:59 +0200
Subject: time_t isn't always an int32.
diff --git a/sources-experimental/MainController.cpp b/sources-experimental/MainController.cpp
index 6f2358b..27f18b2 100644
--- a/sources-experimental/MainController.cpp
+++ b/sources-experimental/MainController.cpp
@@ -59,10 +59,6 @@ DownloadManager* download_manager;
#endif
-
-
-
-
//a tendere qui dovrebbe essere
//instaziato il model
MainController::MainController(MainWindow* view, MainModel* model){
@@ -1121,7 +1117,7 @@ MainController::CreateChannelItem(BEntry* e,BMessage* cache)
//check delle info di cache..
- time_t when=1;
+ int64 when=1;
time_t now=0;
if(node.GetModificationTime(&now)!=B_OK) now=0;
@@ -1130,7 +1126,7 @@ MainController::CreateChannelItem(BEntry* e,BMessage* cache)
int32 count;
if( cache->FindInt32(key.String(),&count)!=B_OK ||
- cache->FindInt32(row->GetURL().String(),&when)!=B_OK || when!=now) {
+ cache->FindInt64(row->GetURL().String(),&when)!=B_OK || (time_t)when!=now) {
printf("Recaching for.. %s\n",row->GetURL().String());
count=CountNewItems(row->fRef);
}
@@ -1615,7 +1611,7 @@ MainController::StoreStates(){
time_t when;
if(node.GetModificationTime(&when)==B_OK) {
BString key=row->GetURL();
- cache.AddInt32(key.String(),when);
+ cache.AddInt64(key.String(),(int64)when);
key << "_count";
cache.AddInt32(key.String(),row->GetNewCount());
}
--
2.12.2