Fix compilation on AIX with stub definitions (bug 6097).
authorPatrick Lam <plam@MIT.EDU>
Fri, 3 Mar 2006 15:12:12 +0000 (15:12 +0000)
committerPatrick Lam <plam@MIT.EDU>
Fri, 3 Mar 2006 15:12:12 +0000 (15:12 +0000)
ChangeLog
fc-case/fc-case.c

index 6640b20..a8b2e5b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
 2006-03-03  Patrick Lam  <plam@mit.edu>
+       * fc-case/fc-case.c:
+
+       Fix compilation on AIX with stub definitions (bug 6097).
+
+2006-03-03  Patrick Lam  <plam@mit.edu>
        * src/fccache.c (FcCacheSkipToArch, FcDirCacheProduce):
        * src/fcfreetype.c (GetScriptTags):
        * src/fcfs.c (FcFontSetDistributeBytes):
index f7f8277..e0548f0 100644 (file)
 #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 {