ports/131574: [maintainer update] fix build errors on editors/xmlcopyeditor

José García Juanino jjuanino at gmail.com
Tue Feb 10 22:10:04 UTC 2009


>Number:         131574
>Category:       ports
>Synopsis:       [maintainer update] fix build errors on editors/xmlcopyeditor
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 10 22:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     José García Juanino
>Release:        7.1-RELEASE
>Organization:
>Environment:
FreeBSD banach.altran.es 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 #0: Sat Jan 10 16:01:59 CET 2009     root at banach.altran.es:/usr/obj/usr/src/sys/MK2009Ene10  i386
>Description:
Dear FreeBSD commiter:

After update texproc/libxml2 from from 2.7.2 to 2.7.3, editors/xmlcopyeditor port fails to build:

http://QAT.TecNik93.com/logs/7-STABLE-FPT-NPD/xmlcopyeditor-1.2.0.log

In order to fix this build error, apply the submitted patch:

# cd /usr/ports/editors/xmlcopyeditor
# patch -p1 < /tmp/xmlcopyeditor.diff
# rm *.orig files/*.orig

Best regards
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -uNr xmlcopyeditor.orig/Makefile xmlcopyeditor/Makefile
--- xmlcopyeditor.orig/Makefile	2009-02-10 22:38:31.000000000 +0100
+++ xmlcopyeditor/Makefile	2009-02-10 22:40:25.000000000 +0100
@@ -7,6 +7,7 @@
 
 PORTNAME=	xmlcopyeditor
 PORTVERSION=	1.2.0
+PORTREVISION=	1
 DISTVERSIONSUFFIX=-2
 CATEGORIES=	editors
 MASTER_SITES=	SF
diff -uNr xmlcopyeditor.orig/files/patch-src_wraplibxml.cpp.diff xmlcopyeditor/files/patch-src_wraplibxml.cpp.diff
--- xmlcopyeditor.orig/files/patch-src_wraplibxml.cpp.diff	1970-01-01 01:00:00.000000000 +0100
+++ xmlcopyeditor/files/patch-src_wraplibxml.cpp.diff	2009-02-10 22:20:51.000000000 +0100
@@ -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 )


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list