summaryrefslogtreecommitdiff
path: root/misc/kchm
diff options
context:
space:
mode:
authorjoerg <joerg>2011-11-24 13:49:57 +0000
committerjoerg <joerg>2011-11-24 13:49:57 +0000
commit138da89676c79bd79c2903f035fe4b2334b8ab26 (patch)
tree0459e63a22ac93872c2b80be8d3dfd0b196cffbb /misc/kchm
parentf1946fda68d9271359d74a2dac1ad4b1d0f86f8d (diff)
downloadpkgsrc-138da89676c79bd79c2903f035fe4b2334b8ab26.tar.gz
Fix build with newer GCC
Diffstat (limited to 'misc/kchm')
-rw-r--r--misc/kchm/distinfo4
-rw-r--r--misc/kchm/patches/patch-libchm++_chm.cpp12
-rw-r--r--misc/kchm/patches/patch-src_kpart_TopicTree.cpp12
3 files changed, 27 insertions, 1 deletions
diff --git a/misc/kchm/distinfo b/misc/kchm/distinfo
index 65ed2aafd8f..212a6e4b0be 100644
--- a/misc/kchm/distinfo
+++ b/misc/kchm/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/06/05 22:45:53 markd Exp $
+$NetBSD: distinfo,v 1.2 2011/11/24 13:49:57 joerg Exp $
SHA1 (kchm-0.6.5.tar.bz2) = f34f7a96a81a69e1a4d6f80547addda1555dd99e
RMD160 (kchm-0.6.5.tar.bz2) = 8b59798880a6eae55f70fa63016eda40b01d272e
Size (kchm-0.6.5.tar.bz2) = 458684 bytes
+SHA1 (patch-libchm++_chm.cpp) = 160c9a751d6d2a35c35799016b0a328e2982f295
+SHA1 (patch-src_kpart_TopicTree.cpp) = a4bc507827cfd4e35471a755cf4d2dbab7b9ecb0
diff --git a/misc/kchm/patches/patch-libchm++_chm.cpp b/misc/kchm/patches/patch-libchm++_chm.cpp
new file mode 100644
index 00000000000..c18e0525654
--- /dev/null
+++ b/misc/kchm/patches/patch-libchm++_chm.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-libchm++_chm.cpp,v 1.1 2011/11/24 13:49:57 joerg Exp $
+
+--- libchm++/chm.cpp.orig 2011-11-24 01:25:08.000000000 +0000
++++ libchm++/chm.cpp
+@@ -5,6 +5,7 @@
+ #include <map>
+ #include <algorithm>
+ #include <cassert>
++#include <cstring>
+
+ #include "chmxx.h"
+ #include "chm_lib.h"
diff --git a/misc/kchm/patches/patch-src_kpart_TopicTree.cpp b/misc/kchm/patches/patch-src_kpart_TopicTree.cpp
new file mode 100644
index 00000000000..66668a09bd8
--- /dev/null
+++ b/misc/kchm/patches/patch-src_kpart_TopicTree.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_kpart_TopicTree.cpp,v 1.1 2011/11/24 13:49:57 joerg Exp $
+
+--- src/kpart/TopicTree.cpp.orig 2011-11-24 01:26:22.000000000 +0000
++++ src/kpart/TopicTree.cpp
+@@ -22,6 +22,7 @@
+ #include <qtimer.h>
+ #include <qregexp.h>
+ #include <qtextcodec.h>
++#include <memory>
+
+ #include "TopicTree.h"
+ #include "TopicLeaf.h"