From 11b8b30c0e90061ac159a0dcc4a2d58bddb6e1d6 Mon Sep 17 00:00:00 2001 From: beech Date: Fri, 13 Feb 2009 19:28:24 +0000 Subject: - Fix build problems PR: ports/131574 Reported by: QAT Submitted by: Jose Garcia Juanino Maintainer --- editors/xmlcopyeditor/Makefile | 1 + editors/xmlcopyeditor/files/patch-src_wraplibxml.cpp.diff | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 editors/xmlcopyeditor/files/patch-src_wraplibxml.cpp.diff (limited to 'editors/xmlcopyeditor') diff --git a/editors/xmlcopyeditor/Makefile b/editors/xmlcopyeditor/Makefile index 8c50cf672624..2476cce30102 100644 --- a/editors/xmlcopyeditor/Makefile +++ b/editors/xmlcopyeditor/Makefile @@ -7,6 +7,7 @@ PORTNAME= xmlcopyeditor PORTVERSION= 1.2.0 +PORTREVISION= 1 DISTVERSIONSUFFIX=-2 CATEGORIES= editors MASTER_SITES= SF diff --git a/editors/xmlcopyeditor/files/patch-src_wraplibxml.cpp.diff b/editors/xmlcopyeditor/files/patch-src_wraplibxml.cpp.diff new file mode 100644 index 000000000000..f0ce205c2dee --- /dev/null +++ b/editors/xmlcopyeditor/files/patch-src_wraplibxml.cpp.diff @@ -0,0 +1,14 @@ +--- src/wraplibxml.cpp.orig ++++ src/wraplibxml.cpp +@@ -20,6 +20,11 @@ + #include "wraplibxml.h" + #include + #include ++ ++#ifdef ATTRIBUTE_PRINTF ++#undef ATTRIBUTE_PRINTF ++#endif ++ + #include + + WrapLibxml::WrapLibxml ( bool netAccessParameter, const std::string& catalogPathParameter ) -- cgit