diff options
Diffstat (limited to 'dev-libs/kpathsea/files/invocname.patch')
-rw-r--r-- | dev-libs/kpathsea/files/invocname.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-libs/kpathsea/files/invocname.patch b/dev-libs/kpathsea/files/invocname.patch new file mode 100644 index 000000000000..28ccc55a2960 --- /dev/null +++ b/dev-libs/kpathsea/files/invocname.patch @@ -0,0 +1,19 @@ +Preserve API for now. This has been renamed for TeX Live 2011. + +Index: texlive-20110627-source/texk/kpathsea/types.h +=================================================================== +--- texlive-20110627-source.orig/texk/kpathsea/types.h ++++ texlive-20110627-source/texk/kpathsea/types.h +@@ -280,8 +280,12 @@ extern KPSEDLL kpathsea kpse_def; + + #undef kpse_invocation_name + #define kpse_invocation_name kpse_def_inst.invocation_name ++#undef program_invocation_name ++#define program_invocation_name kpse_def_inst.invocation_name + #undef kpse_invocation_short_name + #define kpse_invocation_short_name kpse_def_inst.invocation_short_name ++#undef program_invocation_short_name ++#define program_invocation_short_name kpse_def_inst.invocation_short_name + + #endif /* KPSE_COMPAT_API */ + |