From c003f5aec37e099d7f5a88d29cc4b2d5f1d002eb Mon Sep 17 00:00:00 2001 From: Patrick Lam Date: Fri, 3 Mar 2006 15:12:12 +0000 Subject: [PATCH] Fix compilation on AIX with stub definitions (bug 6097). --- ChangeLog | 5 +++++ fc-case/fc-case.c | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6640b20..a8b2e5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-03 Patrick Lam + * fc-case/fc-case.c: + + Fix compilation on AIX with stub definitions (bug 6097). + 2006-03-03 Patrick Lam * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce): * src/fcfreetype.c (GetScriptTags): diff --git a/fc-case/fc-case.c b/fc-case/fc-case.c index f7f8277..e0548f0 100644 --- a/fc-case/fc-case.c +++ b/fc-case/fc-case.c @@ -28,6 +28,16 @@ #define MAX_OUT 32 #define MAX_LINE 8192 +/* stub definitions for declarations from fcint.h.. */ +int * _fcBankId = 0, * _fcBankIdx = 0; + +int +FcCacheBankToIndexMTF (int bank) +{ + return 0; +} +/* end stub definitions */ + typedef enum _caseFoldClass { CaseFoldCommon, CaseFoldFull, CaseFoldSimple, CaseFoldTurkic } CaseFoldClass; typedef struct _caseFoldClassMap { -- 2.39.5