summaryrefslogtreecommitdiff
path: root/print/tex-xdvik/files/patch-texk-xdvik-util.h
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2023-01-01 05:55:52 +0900
committerHiroki Sato <hrs@FreeBSD.org>2023-01-01 05:55:52 +0900
commit05fe08364e357c018a4e6be1bf1b6ede19738d47 (patch)
tree080bb25bc552a563439c3dfd50cd64bfeafb84eb /print/tex-xdvik/files/patch-texk-xdvik-util.h
parentsecurity/py-trezor: Update to 0.13.5 (diff)
print/tex-xdvik: re-add patches for pTeX and CJK support
Diffstat (limited to 'print/tex-xdvik/files/patch-texk-xdvik-util.h')
-rw-r--r--print/tex-xdvik/files/patch-texk-xdvik-util.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/print/tex-xdvik/files/patch-texk-xdvik-util.h b/print/tex-xdvik/files/patch-texk-xdvik-util.h
new file mode 100644
index 000000000000..11e918d2fbf5
--- /dev/null
+++ b/print/tex-xdvik/files/patch-texk-xdvik-util.h
@@ -0,0 +1,29 @@
+--- texk/xdvik/util.h.orig 2022-02-13 22:53:37 UTC
++++ texk/xdvik/util.h
+@@ -74,6 +74,9 @@ extern void prep_fd(int fd, wide_bool noblock);
+
+ 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; /* from kpathsea *
+ 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.
+@@ -167,6 +171,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);