summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authormarkd <markd>2006-07-22 02:24:18 +0000
committermarkd <markd>2006-07-22 02:24:18 +0000
commit9db4c457f6261cfebe23d31a5afb2d969f937a66 (patch)
treedcdd9d9eb9996422df4aebb67efa443b77f34c26 /comms
parent88e96b495c0bcbc92a035bc502cf1574dd480902 (diff)
downloadpkgsrc-9db4c457f6261cfebe23d31a5afb2d969f937a66.tar.gz
Don't try and use <malloc.h>. Fixes build on FreeBSD 6.1
From PR pkg/34019 by Peter Schuller.
Diffstat (limited to 'comms')
-rw-r--r--comms/libmal/distinfo3
-rw-r--r--comms/libmal/patches/patch-ad16
2 files changed, 18 insertions, 1 deletions
diff --git a/comms/libmal/distinfo b/comms/libmal/distinfo
index 04a81cbcdb3..96c2501803e 100644
--- a/comms/libmal/distinfo
+++ b/comms/libmal/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2006/06/19 16:48:49 minskim Exp $
+$NetBSD: distinfo,v 1.5 2006/07/22 02:24:18 markd Exp $
SHA1 (libmal-0.40.tar.gz) = fcce27b320215e32de70e0c4a1fc7a553d486611
RMD160 (libmal-0.40.tar.gz) = 8d3833f64df5b631a5fb0801c4bc432a4f27bd4f
@@ -6,3 +6,4 @@ Size (libmal-0.40.tar.gz) = 329928 bytes
SHA1 (patch-aa) = 6a5426aad935fb736044a92da6f56e21e2915824
SHA1 (patch-ab) = 054e5062519cc982f5e9caee4904a20a8510e1e7
SHA1 (patch-ac) = 2d2a8f940f65888b01e6885f5c482a18810c0804
+SHA1 (patch-ad) = 8b818f926662b4a2a4d3f1fc709d6595b2472562
diff --git a/comms/libmal/patches/patch-ad b/comms/libmal/patches/patch-ad
new file mode 100644
index 00000000000..277638f115d
--- /dev/null
+++ b/comms/libmal/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2006/07/22 02:24:18 markd Exp $
+
+--- malsync/mal/client/unix/MAL31DBConfig.c.orig Sat Feb 9 20:15:48 2002
++++ malsync/mal/client/unix/MAL31DBConfig.c
+@@ -20,11 +20,7 @@
+ */
+
+ #include <MAL31DBConfig.h>
+-#ifdef DARWIN
+ #include <stdlib.h>
+-#else
+-#include <malloc.h>
+-#endif
+
+ /*---------------------------------------------------------------------------*/
+ void