summaryrefslogtreecommitdiff
path: root/net/openvmps
diff options
context:
space:
mode:
authorjoerg <joerg>2012-11-01 19:39:31 +0000
committerjoerg <joerg>2012-11-01 19:39:31 +0000
commit7260185d2f70f3093488ac6a88710acfa92fe8ca (patch)
treec2bd642beb49e5d3e457a5991be3a56b78770a1f /net/openvmps
parent9ad9c2661c9fe28ba84ca7f160e92eef797252a1 (diff)
downloadpkgsrc-7260185d2f70f3093488ac6a88710acfa92fe8ca.tar.gz
Fix xfree return type. Add some missing includes.
Diffstat (limited to 'net/openvmps')
-rw-r--r--net/openvmps/distinfo3
-rw-r--r--net/openvmps/patches/patch-data.c22
2 files changed, 24 insertions, 1 deletions
diff --git a/net/openvmps/distinfo b/net/openvmps/distinfo
index 32dfd8ae509..03ca83a5bbe 100644
--- a/net/openvmps/distinfo
+++ b/net/openvmps/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2006/05/31 17:47:45 bouyer Exp $
+$NetBSD: distinfo,v 1.5 2012/11/01 19:39:31 joerg Exp $
SHA1 (vmpsd-1.3.tar.gz) = 39a8f925191690f209d9f1609321f20360810cf1
RMD160 (vmpsd-1.3.tar.gz) = 1185fbd654d5d0e939fdfa08149d1ebcb3fc0ef2
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = 03618ae72addfe881745a0bb94f7943b8c4cb749
SHA1 (patch-ab) = a30282863432d654669643103de3711da6d53620
SHA1 (patch-ac) = c5871b991808ca33d9ad0a7ee89ea1f1a4b0e803
SHA1 (patch-ad) = 7fa3bf093f35264b1b10003fb3747fd736d12c5d
+SHA1 (patch-data.c) = e1d9d5aca81c89ce03dcfaa82c9549efb4ddf487
diff --git a/net/openvmps/patches/patch-data.c b/net/openvmps/patches/patch-data.c
new file mode 100644
index 00000000000..452f3fd5bd0
--- /dev/null
+++ b/net/openvmps/patches/patch-data.c
@@ -0,0 +1,22 @@
+$NetBSD: patch-data.c,v 1.1 2012/11/01 19:39:31 joerg Exp $
+
+--- data.c.orig 2012-10-30 20:32:41.000000000 +0000
++++ data.c
+@@ -3,6 +3,8 @@
+ #include <stdlib.h>
+ #include <search.h>
+ #include <stdlib.h>
++#include <string.h>
++#include <strings.h>
+
+ #include "data.h"
+ #include "log.h"
+@@ -35,7 +37,7 @@ void *xmalloc(unsigned n) {
+ exit(1);
+ }
+
+-void *xfree(void *p) {
++void xfree(void *p) {
+
+ if (p == NULL) return;
+ vmps_log(DEBUG|SYSTEM, "FREE: %x",p);