Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 348229
Collapse All | Expand All

(-)fribidi-0.19.2.orig/lib/common.h (-3 / +6 lines)
Lines 138-147 Link Here
138
#  ifndef __FRIBIDI_DOC
138
#  ifndef __FRIBIDI_DOC
139
#   include <asm/page.h>
139
#   include <asm/page.h>
140
#  endif /* __FRIBIDI_DOC */
140
#  endif /* __FRIBIDI_DOC */
141
#  define FRIBIDI_CHUNK_SIZE (PAGE_SIZE - 16)
141
#  ifdef PAGE_SIZE
142
# else /* !HAVE_ASM_PAGE_H */
142
#   define FRIBIDI_CHUNK_SIZE (PAGE_SIZE - 16)
143
#  endif /* PAGE_SIZE */
144
# endif /* HAVE_ASM_PAGE_H */
145
# ifndef FRIBIDI_CHUNK_SIZE
143
#  define FRIBIDI_CHUNK_SIZE (4096 - 16)
146
#  define FRIBIDI_CHUNK_SIZE (4096 - 16)
144
# endif	/* !HAVE_ASM_PAGE_H */
147
# endif /* FRIBIDI_CHUNK_SIZE */
145
#else /* FRIBIDI_CHUNK_SIZE */
148
#else /* FRIBIDI_CHUNK_SIZE */
146
# if FRIBIDI_CHUNK_SIZE < 256
149
# if FRIBIDI_CHUNK_SIZE < 256
147
#  error FRIBIDI_CHUNK_SIZE now should define the size of a chunk in bytes.
150
#  error FRIBIDI_CHUNK_SIZE now should define the size of a chunk in bytes.

Return to bug 348229