summaryrefslogtreecommitdiff
path: root/textproc/libxml++1
diff options
context:
space:
mode:
authorwiz <wiz>2011-08-14 18:54:53 +0000
committerwiz <wiz>2011-08-14 18:54:53 +0000
commit03304cbda5ac87a6b9365b86b753593b1b37fb91 (patch)
tree4c891bc38967c52407c7ecc910ef6d5463e356d5 /textproc/libxml++1
parent3800f856dd036cfd44e3ccabc0f45d30791b7139 (diff)
downloadpkgsrc-03304cbda5ac87a6b9365b86b753593b1b37fb91.tar.gz
Fix build with gcc-4.5.
Set LICENSE.
Diffstat (limited to 'textproc/libxml++1')
-rw-r--r--textproc/libxml++1/Makefile3
-rw-r--r--textproc/libxml++1/distinfo3
-rw-r--r--textproc/libxml++1/patches/patch-libxml++_parsers_parser.cc14
3 files changed, 18 insertions, 2 deletions
diff --git a/textproc/libxml++1/Makefile b/textproc/libxml++1/Makefile
index 2b50e8b75ef..c46b6e39618 100644
--- a/textproc/libxml++1/Makefile
+++ b/textproc/libxml++1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/01/05 23:24:46 heinz Exp $
+# $NetBSD: Makefile,v 1.3 2011/08/14 18:54:53 wiz Exp $
#
DISTNAME= libxml++-1.0.5
@@ -10,6 +10,7 @@ EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://libxmlplusplus.sourceforge.net/
COMMENT= C++ wrapper for the libxml XML parser library
+LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
diff --git a/textproc/libxml++1/distinfo b/textproc/libxml++1/distinfo
index 2c10b11b598..f0dfb7bfc76 100644
--- a/textproc/libxml++1/distinfo
+++ b/textproc/libxml++1/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2007/09/20 21:03:53 wiz Exp $
+$NetBSD: distinfo,v 1.2 2011/08/14 18:54:53 wiz Exp $
SHA1 (libxml++-1.0.5.tar.bz2) = e90e66beff0af2e2f2a320ffbf8f4c1a3790bc44
RMD160 (libxml++-1.0.5.tar.bz2) = 073cff2d7a07ca62552c001d9560a21bcc447d35
Size (libxml++-1.0.5.tar.bz2) = 303965 bytes
+SHA1 (patch-libxml++_parsers_parser.cc) = afc87895a6b1f63cde467594849c89d761144c48
diff --git a/textproc/libxml++1/patches/patch-libxml++_parsers_parser.cc b/textproc/libxml++1/patches/patch-libxml++_parsers_parser.cc
new file mode 100644
index 00000000000..a2825ff5910
--- /dev/null
+++ b/textproc/libxml++1/patches/patch-libxml++_parsers_parser.cc
@@ -0,0 +1,14 @@
+$NetBSD: patch-libxml++_parsers_parser.cc,v 1.1 2011/08/14 18:54:53 wiz Exp $
+
+Fix build with gcc-4.5.
+
+--- libxml++/parsers/parser.cc.orig 2004-08-13 21:08:43.000000000 +0000
++++ libxml++/parsers/parser.cc
+@@ -9,6 +9,7 @@
+ #include <libxml/parser.h>
+
+ #include <cstdarg> //For va_list.
++#include <memory> //For auto_ptr
+
+ namespace xmlpp {
+