mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
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)
This commit is contained in:
parent
356c5ceca4
commit
54e4709d4b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377865
15
print/fontforge/files/patch-fontforge_splinefont.h
Normal file
15
print/fontforge/files/patch-fontforge_splinefont.h
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user