summaryrefslogtreecommitdiff
path: root/editors/xmlcopyeditor
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2009-02-13 19:28:24 +0000
committerBeech Rintoul <beech@FreeBSD.org>2009-02-13 19:28:24 +0000
commit56ed0767476a38843049df5e5ccd8c106fd81ca0 (patch)
tree7bda83906e316619daac5703d98da4434645bfb7 /editors/xmlcopyeditor
parent- Update to 1.12.0 (diff)
- Fix build problems
PR: ports/131574 Reported by: QAT Submitted by: Jose Garcia Juanino <jjuanino@gmail.com> Maintainer
Notes
Notes: svn path=/head/; revision=228223
Diffstat (limited to 'editors/xmlcopyeditor')
-rw-r--r--editors/xmlcopyeditor/Makefile1
-rw-r--r--editors/xmlcopyeditor/files/patch-src_wraplibxml.cpp.diff14
2 files changed, 15 insertions, 0 deletions
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 <sstream>
+ #include <stdexcept>
++
++#ifdef ATTRIBUTE_PRINTF
++#undef ATTRIBUTE_PRINTF
++#endif
++
+ #include <wx/wx.h>
+
+ WrapLibxml::WrapLibxml ( bool netAccessParameter, const std::string& catalogPathParameter )