pkgsrc/net/btget/patches/patch-aa
reinoud 4e3060c637 LibBT is a C reimplementation of the BitTorrent core protocols. Our
goal for the project is to develop a low overhead library version of
the protocols so that BitTorrent transfers can easily be built in to
any existing application.

A suplied application called `btget' is a full fledged bittorrent
application based on this library.
2005-08-05 22:00:49 +00:00

16 lines
487 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2005/08/05 22:00:49 reinoud Exp $
--- include/util.h.orig 2004-04-16 08:41:48.000000000 +0200
+++ include/util.h
@@ -28,9 +28,11 @@ int hexdecode (unsigned char *digest, in
typedef void (*exitfn_ptr) (int,void*);
int on_exit( exitfn_ptr exitfn, void* data) ;
#endif
+#if 0
#define malloc(s) use_btmalloc_instead
#define calloc(n,s) use_btcalloc_instead
#define realloc(p,s) use_btrealloc_instead
#define free(p) use_btfree_instead
+#endif
#endif