From: Patrick Lam Date: Fri, 3 Mar 2006 15:12:12 +0000 (+0000) Subject: Fix compilation on AIX with stub definitions (bug 6097). X-Git-Tag: fc-2_3_95~48 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c003f5aec37e099d7f5a88d29cc4b2d5f1d002eb;p=fontconfig.git Fix compilation on AIX with stub definitions (bug 6097). --- 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 {