diff --git a/graphics/xaralx-devel/Makefile b/graphics/xaralx-devel/Makefile index 91a514b9a254..b5e5001638f1 100644 --- a/graphics/xaralx-devel/Makefile +++ b/graphics/xaralx-devel/Makefile @@ -17,6 +17,7 @@ MD5_FILE= ${.CURDIR}/distinfo PLIST= ${.CURDIR}/pkg-plist PATCHDIR= ${.CURDIR}/files EXTRA_PATCHES= ${MASTERDIR}/files/patch-configure.in \ - ${MASTERDIR}/files/patch-wxOil_compatdef.h + ${MASTERDIR}/files/patch-wxOil_compatdef.h \ + ${MASTERDIR}/files/patch-wxOil_ftfonts.cpp .include "${MASTERDIR}/Makefile" diff --git a/graphics/xaralx/files/patch-wxOil_ftfonts.cpp b/graphics/xaralx/files/patch-wxOil_ftfonts.cpp new file mode 100644 index 000000000000..b40276b2d5f1 --- /dev/null +++ b/graphics/xaralx/files/patch-wxOil_ftfonts.cpp @@ -0,0 +1,12 @@ +--- wxOil/ftfonts.cpp.orig 2009-12-12 23:53:05.000000000 +0100 ++++ wxOil/ftfonts.cpp 2009-12-12 23:54:08.000000000 +0100 +@@ -122,7 +122,9 @@ DECLARE_SOURCE( "$Revision: 1535 $" ); + #include FT_TYPE1_TABLES_H + + #ifdef __WXGTK20__ ++#define GSocket GlibSocket + #include ++#undef GSocket + extern GtkWidget *wxGetRootWindow(); + #endif +