diff options
author | wiz <wiz@pkgsrc.org> | 2014-08-20 21:09:43 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-08-20 21:09:43 +0000 |
commit | b2cb87c45cd9986caeb7c43015bfdf5055bffd25 (patch) | |
tree | dd065bd59338d919fda837a0f80d93f428542140 /time/fet | |
parent | 55344d54f77d56901333ccc4ac93ed8493719f8f (diff) | |
download | pkgsrc-b2cb87c45cd9986caeb7c43015bfdf5055bffd25.tar.gz |
Update to 5.23.2.
- Version 5.23.2
- Fixed a building problem under C++11 (reported by pkgsrc
packager Thomas Klausner, solved by Jörg Sonnenberger).
Diffstat (limited to 'time/fet')
-rw-r--r-- | time/fet/Makefile | 8 | ||||
-rw-r--r-- | time/fet/distinfo | 9 | ||||
-rw-r--r-- | time/fet/patches/patch-src_engine_generate.cpp | 121 |
3 files changed, 7 insertions, 131 deletions
diff --git a/time/fet/Makefile b/time/fet/Makefile index 3fea2b499bf..33e0511ecd5 100644 --- a/time/fet/Makefile +++ b/time/fet/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.1 2014/08/07 21:59:02 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2014/08/20 21:09:43 wiz Exp $ -DISTNAME= fet-5.23.1 +DISTNAME= fet-5.23.2 CATEGORIES= time MASTER_SITES= http://lalescu.ro/liviu/fet/download/ EXTRACT_SUFX= .tar.bz2 @@ -17,10 +17,8 @@ EXTRACT_USING= bsdtar INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/fet # conflicts with import.h in package itself -post-extract: - rm -f ${WORK}/.buildlink/include/python*/import.h - pre-build: + rm -f ${WRKDIR}/.buildlink/include/python*/import.h cd ${WRKSRC} && ${QTDIR}/bin/qmake do-install: diff --git a/time/fet/distinfo b/time/fet/distinfo index 85dd7d127a8..cc86bfa9248 100644 --- a/time/fet/distinfo +++ b/time/fet/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.2 2014/08/19 13:43:37 joerg Exp $ +$NetBSD: distinfo,v 1.3 2014/08/20 21:09:43 wiz Exp $ -SHA1 (fet-5.23.1.tar.bz2) = 2dca265ffd286936dfcde52fa8a028c3a180af8c -RMD160 (fet-5.23.1.tar.bz2) = e365d206ea2d44d99b45297e50edc5c3fde7fcbb -Size (fet-5.23.1.tar.bz2) = 8463474 bytes -SHA1 (patch-src_engine_generate.cpp) = 9e47375c0d90b28efa8a9a8e2a04ff5a3750440e +SHA1 (fet-5.23.2.tar.bz2) = 448636c62d24cf7311babd40152cc4b1d1c588be +RMD160 (fet-5.23.2.tar.bz2) = 5a836de3494d90c780fedad186d9402de5cf77de +Size (fet-5.23.2.tar.bz2) = 8467459 bytes diff --git a/time/fet/patches/patch-src_engine_generate.cpp b/time/fet/patches/patch-src_engine_generate.cpp deleted file mode 100644 index 0f1c0455a2b..00000000000 --- a/time/fet/patches/patch-src_engine_generate.cpp +++ /dev/null @@ -1,121 +0,0 @@ -$NetBSD: patch-src_engine_generate.cpp,v 1.1 2014/08/19 13:43:37 joerg Exp $ - ---- src/engine/generate.cpp.orig 2014-08-19 12:46:36.000000000 +0000 -+++ src/engine/generate.cpp -@@ -2600,7 +2600,7 @@ void Generate::generate(int maxSeconds, - } - - if(threaded){ -- mutex.lock(); -+ ::mutex.lock(); - } - c.makeUnallocated(gt.rules); - -@@ -2616,7 +2616,7 @@ if(threaded){ - maxActivitiesPlaced=0; - - if(threaded){ -- mutex.unlock(); -+ ::mutex.unlock(); - } - - triedRemovals.resize(gt.rules.nInternalActivities, gt.rules.nHoursPerWeek); -@@ -2649,13 +2649,13 @@ if(threaded){ - time(&starting_time); - - if(threaded){ -- mutex.lock(); -+ ::mutex.lock(); - } - timeToHighestStage=0; - searchTime=0; - generationStartDateTime=QDateTime::currentDateTime(); - if(threaded){ -- mutex.unlock(); -+ ::mutex.unlock(); - } - - //2000 was before -@@ -2670,11 +2670,11 @@ if(threaded){ - prevvalue: - - if(threaded){ -- mutex.lock(); -+ ::mutex.lock(); - } - if(abortOptimization){ - if(threaded){ -- mutex.unlock(); -+ ::mutex.unlock(); - } - return; - } -@@ -2684,7 +2684,7 @@ if(threaded){ - - if(searchTime>=maxSeconds){ - if(threaded){ -- mutex.unlock(); -+ ::mutex.unlock(); - } - - timeExceeded=true; -@@ -2949,7 +2949,7 @@ if(threaded){ - if(!foundGoodSwap){ - if(impossibleActivity){ - if(threaded){ -- mutex.unlock(); -+ ::mutex.unlock(); - } - nDifficultActivities=1; - difficultActivities[0]=permutation[added_act]; -@@ -3079,7 +3079,7 @@ if(threaded){ - - added_act=q+1; - if(threaded){ -- mutex.unlock(); -+ ::mutex.unlock(); - } - - //if(semaphorePlacedActivity){ -@@ -3123,18 +3123,18 @@ if(threaded){ - } - - if(threaded){ -- mutex.unlock(); -+ ::mutex.unlock(); - } - emit(activityPlaced(added_act+1)); - if(threaded){ - semaphorePlacedActivity.acquire(); - } - if(threaded){ -- mutex.lock(); -+ ::mutex.lock(); - } - if(added_act==gt.rules.nInternalActivities && foundGoodSwap){ - if(threaded){ -- mutex.unlock(); -+ ::mutex.unlock(); - } - break; - } -@@ -3154,7 +3154,7 @@ if(threaded){ - } - - if(threaded){ -- mutex.unlock(); -+ ::mutex.unlock(); - } - } - -@@ -9123,8 +9123,8 @@ skip_here_if_already_allocated_in_time: - if(level==0 && (nConflActivities[perm[0]]==MAX_ACTIVITIES)){ - //to check if generation was stopped - if(this->isThreaded){ -- mutex.unlock(); -- mutex.lock(); -+ ::mutex.unlock(); -+ ::mutex.lock(); - } - if(!abortOptimization && activity_count_impossible_tries<MAX_RETRIES_FOR_AN_ACTIVITY_AT_LEVEL_0){ - activity_count_impossible_tries++; |