Update corebase to 0.1.1

fixing some issues in the CFString and the CFStringEncoding classes.

OK aja@
This commit is contained in:
sebastia 2012-10-18 09:07:03 +00:00
parent ac59c8b29d
commit 167d1ee0fd
3 changed files with 22 additions and 7 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.2 2012/08/22 07:15:51 sebastia Exp $
# $OpenBSD: Makefile,v 1.3 2012/10/18 09:07:03 sebastia Exp $
COMMENT = GNUstep reimplementation of Apple's CoreFoundation
DISTNAME = gnustep-corebase-0.1
REVISION = 0
DISTNAME = gnustep-corebase-0.1.1
CATEGORIES= devel
SHARED_LIBS = gnustep-corebase 0.0
@ -13,8 +12,9 @@ MASTER_SITES = ${MASTER_SITE_GNUSTEP:=libs/}
MODULES = x11/gnustep
MODGNUSTEP_NEEDS_GUI = No
WANTLIB += icudata icui18n icuuc
LIB_DEPENDS += textproc/icu4c
WANTLIB += icudata icui18n icuuc m objc2 pthread
LIB_DEPENDS += textproc/icu4c \
x11/gnustep/libobjc2
CONFIGURE_STYLE = gnu

View File

@ -1,2 +1,2 @@
SHA256 (gnustep/gnustep-corebase-0.1.tar.gz) = mwj/wYJ1fyQt9cfMWqdocb+OIocg/H+3XGT95ikqVzM=
SIZE (gnustep/gnustep-corebase-0.1.tar.gz) = 240776
SHA256 (gnustep/gnustep-corebase-0.1.1.tar.gz) = EfBdGcL0zbU0i43VZ3HjKg01YzhM86KIxPsJBvWs/EY=
SIZE (gnustep/gnustep-corebase-0.1.1.tar.gz) = 241422

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-Source_NSCFType_m,v 1.1 2012/10/18 09:07:03 sebastia Exp $
fix from upstream svn rev: 35471
--- Source/NSCFType.m.orig Thu Oct 18 10:33:55 2012
+++ Source/NSCFType.m Thu Oct 18 10:34:32 2012
@@ -47,6 +47,8 @@ void NSCFInitialize (void)
{
CFIndex i = 0;
+ /* Make sure CoreBase is initialized before bridging */
+ CFInitialize ();
__CFRuntimeObjCClassTable = calloc (__CFRuntimeClassTableSize,
sizeof(Class));