From 471403d19beb14d7741039d266dd7a6be750b65d Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Wed, 14 Oct 2009 09:59:25 +0000 Subject: [PATCH] change projects to just run with curren-os sdk, in prep for snow-lepard fix fprintf warning git-svn-id: http://skia.googlecode.com/svn/trunk@385 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/ports/SkDebug_stdio.cpp | 2 +- xcode/effects/effects.xcodeproj/project.pbxproj | 2 +- xcode/maccore/maccore.xcodeproj/project.pbxproj | 2 +- xcode/sampleapp/SampleApp.xcodeproj/project.pbxproj | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ports/SkDebug_stdio.cpp b/src/ports/SkDebug_stdio.cpp index f5bf68764..012613bcd 100644 --- a/src/ports/SkDebug_stdio.cpp +++ b/src/ports/SkDebug_stdio.cpp @@ -28,6 +28,6 @@ void SkDebugf(const char format[], ...) { va_start(args, format); vsnprintf(buffer, kBufferSize, format, args); va_end(args); - fprintf(stderr, buffer); + fprintf(stderr, "%s", buffer); } diff --git a/xcode/effects/effects.xcodeproj/project.pbxproj b/xcode/effects/effects.xcodeproj/project.pbxproj index 752093c86..238b6a528 100644 --- a/xcode/effects/effects.xcodeproj/project.pbxproj +++ b/xcode/effects/effects.xcodeproj/project.pbxproj @@ -343,7 +343,7 @@ GCC_WARN_UNUSED_VALUE = YES; GCC_WARN_UNUSED_VARIABLE = YES; PREBINDING = NO; - SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + SDKROOT = ""; USER_HEADER_SEARCH_PATHS = "../../include/**"; WARNING_CFLAGS = ""; }; diff --git a/xcode/maccore/maccore.xcodeproj/project.pbxproj b/xcode/maccore/maccore.xcodeproj/project.pbxproj index cf336dde4..71a231fb3 100644 --- a/xcode/maccore/maccore.xcodeproj/project.pbxproj +++ b/xcode/maccore/maccore.xcodeproj/project.pbxproj @@ -199,7 +199,7 @@ GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; PREBINDING = NO; - SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + SDKROOT = ""; USER_HEADER_SEARCH_PATHS = "../../include//**"; }; name = Debug; diff --git a/xcode/sampleapp/SampleApp.xcodeproj/project.pbxproj b/xcode/sampleapp/SampleApp.xcodeproj/project.pbxproj index 6b80f56d4..fdd3bdf7c 100644 --- a/xcode/sampleapp/SampleApp.xcodeproj/project.pbxproj +++ b/xcode/sampleapp/SampleApp.xcodeproj/project.pbxproj @@ -116,14 +116,14 @@ isa = PBXContainerItemProxy; containerPortal = 00281C691083CF6600BCCB06 /* Animator.xcodeproj */; proxyType = 2; - remoteGlobalIDString = D2AAC046055464E500DB518D /* libAnimator.a */; + remoteGlobalIDString = D2AAC046055464E500DB518D; remoteInfo = Animator; }; 00281C731083CF7900BCCB06 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 00281C691083CF6600BCCB06 /* Animator.xcodeproj */; proxyType = 1; - remoteGlobalIDString = D2AAC045055464E500DB518D /* Animator */; + remoteGlobalIDString = D2AAC045055464E500DB518D; remoteInfo = Animator; }; 002884500EFAA35C0083E387 /* PBXContainerItemProxy */ = { @@ -797,7 +797,7 @@ /opt/local/lib, ); OTHER_LDFLAGS = "-lexpat"; - SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + SDKROOT = ""; USER_HEADER_SEARCH_PATHS = "../../include/** ../../gm"; }; name = Debug;