diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-01-25 08:22:29 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-01-25 08:22:29 +0000 |
commit | 54e4709d4b20c74e11e1445c3acb1b00da61501c (patch) | |
tree | 42688cc948b2df0d735ffecd46ef8b27dca95453 /print/fontforge | |
parent | 356c5ceca4e77d38accf9e25d94a8d83dab9318d (diff) | |
download | ports-54e4709d4b20c74e11e1445c3acb1b00da61501c.tar.gz ports-54e4709d4b20c74e11e1445c3acb1b00da61501c.zip |
Unbreak build on 8.x
PR: 197056
Differential Revision: https://reviews.freebsd.org/D1662
Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Approved by: bapt (mentor)
Notes
Notes:
svn path=/head/; revision=377865
Diffstat (limited to 'print/fontforge')
-rw-r--r-- | print/fontforge/files/patch-fontforge_splinefont.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/print/fontforge/files/patch-fontforge_splinefont.h b/print/fontforge/files/patch-fontforge_splinefont.h new file mode 100644 index 000000000000..145991082546 --- /dev/null +++ b/print/fontforge/files/patch-fontforge_splinefont.h @@ -0,0 +1,15 @@ +--- fontforge/splinefont.h~ ++++ fontforge/splinefont.h +@@ -3547,7 +3547,11 @@ char * delimit_null(const char * input, + + #include "ustring.h" + +-#ifdef __MINGW32__ ++#ifdef __FreeBSD__ ++#include <osreldate.h> ++#endif ++ ++#if defined(__MINGW32__) || (defined(__FreeBSD__) && __FreeBSD_version < 900506) + #define BAD_LOCALE_HACK + typedef char* locale_t; + #define LC_GLOBAL_LOCALE ((locale_t)-1) |