From 8a3a8766015a4a9a6ab14373a651e5c16b1a08c4 Mon Sep 17 00:00:00 2001 From: vd Date: Tue, 13 Feb 2007 09:27:11 +0000 Subject: Fix graphics/xaralx compilation with gcc 4.1 graphics/xaralx-devel does not need this fix, thus we modify it not to use all its masterport patches. Reported by: kris --- graphics/xaralx-devel/Makefile | 2 ++ graphics/xaralx/files/patch-Kernel_cxftree.h | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 graphics/xaralx/files/patch-Kernel_cxftree.h (limited to 'graphics') diff --git a/graphics/xaralx-devel/Makefile b/graphics/xaralx-devel/Makefile index 3e6cd1705533..0d6778fefe0a 100644 --- a/graphics/xaralx-devel/Makefile +++ b/graphics/xaralx-devel/Makefile @@ -15,5 +15,7 @@ COMMENT= Top-tier vector/general purpose graphics program (development version) MASTERDIR= ${.CURDIR}/../xaralx MD5_FILE= ${.CURDIR}/distinfo PLIST= ${.CURDIR}/pkg-plist +PATCHDIR= ${.CURDIR}/files +EXTRA_PATCHES= ${MASTERDIR}/files/patch-configure.in .include "${MASTERDIR}/Makefile" diff --git a/graphics/xaralx/files/patch-Kernel_cxftree.h b/graphics/xaralx/files/patch-Kernel_cxftree.h new file mode 100644 index 000000000000..ce8abcd930c2 --- /dev/null +++ b/graphics/xaralx/files/patch-Kernel_cxftree.h @@ -0,0 +1,11 @@ +--- Kernel/cxftree.h.orig Tue Feb 13 10:21:18 2007 ++++ Kernel/cxftree.h Tue Feb 13 10:21:40 2007 +@@ -287,7 +287,7 @@ + + INT32 AddDisplayNode(CXFNode* pNode,INT32 Index,INT32 Depth,BOOL ExpandAll); + void ShowNodeDebugInfoForNode(CXFNode *pNode); +- CXaraFileRecordHandler* CXFTreeDlg::FindHandler(UINT32 Tag); ++ CXaraFileRecordHandler* FindHandler(UINT32 Tag); + void GetTagText(CXFNode* pNode,String_256& Str); + + CXFNode* pRoot; -- cgit