- bugfix __objc_class_name_NSCondition
This commit is contained in:
parent
c9ffe24284
commit
44ddb9d278
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285024
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= performance
|
||||
PORTVERSION= 0.3.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel gnustep
|
||||
MASTER_SITES= ${MASTER_SITE_GNUSTEP}
|
||||
MASTER_SITE_SUBDIR= libs
|
||||
|
20
devel/performance/files/patch-GSFIFO.h
Normal file
20
devel/performance/files/patch-GSFIFO.h
Normal file
@ -0,0 +1,20 @@
|
||||
--- GSFIFO.h.orig 2011-10-25 13:35:27.000000000 +0200
|
||||
+++ GSFIFO.h 2011-11-04 10:22:40.000000000 +0100
|
||||
@@ -25,7 +25,7 @@
|
||||
#import <Foundation/NSObject.h>
|
||||
|
||||
@class NSArray;
|
||||
-@class NSCondition;
|
||||
+@class NSConditionLock;
|
||||
@class NSNumber;
|
||||
@class NSString;
|
||||
@class NSThread;
|
||||
@@ -82,7 +82,7 @@
|
||||
uint16_t timeout;
|
||||
uint64_t fullCount; // Total waits for full FIFO
|
||||
uint64_t emptyCount; // Total waits for empty FIFO
|
||||
- NSCondition *condition;
|
||||
+ NSConditionLock *condition;
|
||||
NSString *name;
|
||||
NSTimeInterval getWaitTotal; // Total time waiting for gets
|
||||
NSTimeInterval putWaitTotal; // Total time waiting for puts
|
11
devel/performance/files/patch-GSFIFO.m
Normal file
11
devel/performance/files/patch-GSFIFO.m
Normal file
@ -0,0 +1,11 @@
|
||||
--- GSFIFO.m.orig 2011-10-25 13:51:10.000000000 +0200
|
||||
+++ GSFIFO.m 2011-11-04 10:22:18.000000000 +0100
|
||||
@@ -421,7 +421,7 @@
|
||||
_items = (void*)NSAllocateCollectable(c * sizeof(void*), NSScannedOption);
|
||||
if (YES == mp || YES == mc)
|
||||
{
|
||||
- condition = [NSCondition new];
|
||||
+ condition = [NSConditionLock new];
|
||||
}
|
||||
name = [n copy];
|
||||
if (nil == a)
|
Loading…
Reference in New Issue
Block a user