]> git.wh0rd.org - fontconfig.git/commitdiff
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 6640b2089e934e13a09c8d7b64e7ce7b3201d4fd..a8b2e5b10f63d0f1765ffaf42a77e235ddd43a0c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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):
index f7f8277e9340b1670799c7a3ef0d5aac1cf7aab9..e0548f02d2189a2f21860ffaba1e0829d2c1d76b 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 {