From b83ffda46f8803a7308b933cd7c95c7048eae5e7 Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Sun, 27 Feb 2005 17:13:11 +0000 Subject: - Add some extensions - Submitter agrees to maintain the port PR: ports/78152 Submitted by: Vsevolod Stakhov --- misc/chmlib/files/patch-chm_lib.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 misc/chmlib/files/patch-chm_lib.h (limited to 'misc/chmlib/files/patch-chm_lib.h') diff --git a/misc/chmlib/files/patch-chm_lib.h b/misc/chmlib/files/patch-chm_lib.h new file mode 100644 index 000000000000..b32ffd4f3e82 --- /dev/null +++ b/misc/chmlib/files/patch-chm_lib.h @@ -0,0 +1,25 @@ +--- src/chm_lib.h.orig Fri Feb 25 21:26:09 2005 ++++ src/chm_lib.h Fri Feb 25 21:26:57 2005 +@@ -78,6 +78,12 @@ + char path[CHM_MAX_PATHLEN+1]; + }; + ++typedef struct chmUnitInfo chmUnitInfo; ++typedef struct chm_dir { ++ int nentries; ++ char **info; ++} chm_dir; ++ + /* open an ITS archive */ + #ifdef PPC_BSTR + /* RWE 6/12/2003 */ +@@ -133,6 +139,7 @@ + CHM_ENUMERATOR e, + void *context); + ++chm_dir get_names(struct chmFile *h); + #ifdef __cplusplus + } + #endif + + -- cgit v1.2.3