Fix the build of graphics/xaralx and graphics/xaralx-devel.

Reported by:		pav@
Patch submitted by:	kwm@
This commit is contained in:
Vasil Dimov 2009-12-29 08:06:14 +00:00
parent 2dafda4242
commit a525bceb6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246834
2 changed files with 14 additions and 1 deletions

View file

@ -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"

View file

@ -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 <gtk/gtk.h>
+#undef GSocket
extern GtkWidget *wxGetRootWindow();
#endif