diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-01-25 16:22:29 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-01-25 16:22:29 +0800 |
commit | 5b91dea7fa91f4f1fe1dace802e9c11cb684e036 (patch) | |
tree | 42688cc948b2df0d735ffecd46ef8b27dca95453 /print | |
parent | b7b55727f3c6db9ccf18b862c6fcadbb9cb51255 (diff) | |
download | freebsd-ports-gnome-5b91dea7fa91f4f1fe1dace802e9c11cb684e036.tar.gz freebsd-ports-gnome-5b91dea7fa91f4f1fe1dace802e9c11cb684e036.tar.zst freebsd-ports-gnome-5b91dea7fa91f4f1fe1dace802e9c11cb684e036.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)
Diffstat (limited to 'print')
-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) |