ports/print/tex-xdvik/files/patch-texk-xdvik-util.h
Hiroki Sato 90410e570d Update TeXLive to TL2015.
- print/texlive-infra was renamed with print/texlive-tlmgr.
  Note that currently tlmgr(1) does not work because of
  lack of TLPDB.  This will be fixed.

- Lua libraries used in LuaTeX are separated into
  devel/tex-libtexlua and devel/texlibtexluajit.
  USE_TEX supports them via keywords "texlua" and "texluajit".

- libsynctex is currently installed by devel/tex-web2c.
  This will be separated into a single port.

- Add graphics/libpotrace and use installed libpotrace
  and libharfbuzz.
2015-07-19 20:33:34 +00:00

29 lines
1,003 B
C

--- texk/xdvik/util.h.orig 2014-04-08 18:43:12 UTC
+++ texk/xdvik/util.h
@@ -73,6 +73,9 @@ extern void prep_fd(int fd, wide_bool no
struct bitmap; /* forward declaration */
extern void alloc_bitmap(struct bitmap *);
+extern void clear_bitmap(struct bitmap *);
+extern void fill_bitmap(struct bitmap *);
+extern void order_reverse_bitmap(struct bitmap *);
extern char *my_realpath(const char *path, char *real);
#ifdef HAVE_REALPATH
@@ -150,6 +153,7 @@ typedef hash_table_type hashTableT; /* f
extern Boolean find_str_int_hash(hashTableT *hashtable, const char *key, size_t *val);
extern void put_str_int_hash(hashTableT *hashtable, const char *key, size_t val);
+#if FREETYPE || PS
/*
* AVL tree structures.
@@ -168,6 +172,8 @@ struct avl { /* generic data structure
extern struct avl *avladd(const char *, size_t, struct avl **, size_t);
+#endif /* FREETYPE || PS */
+
extern Boolean copy_file(const char *from, const char *to);
extern Boolean copy_fp(FILE *in, FILE *out);