From 8bcd005fb0c401aa5b4686faa6bafecf2e5edc60 Mon Sep 17 00:00:00 2001 From: jolan Date: Thu, 12 Aug 2004 17:22:23 +0000 Subject: [PATCH] prevent doubly defined malloc, fixes build on ?gcc3 archs? (why does this compile w/gcc2?) ok pvalchev@ --- devel/libbt/patches/patch-src_strbuf_c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 devel/libbt/patches/patch-src_strbuf_c diff --git a/devel/libbt/patches/patch-src_strbuf_c b/devel/libbt/patches/patch-src_strbuf_c new file mode 100644 index 00000000000..f1686c2935b --- /dev/null +++ b/devel/libbt/patches/patch-src_strbuf_c @@ -0,0 +1,16 @@ +$OpenBSD: patch-src_strbuf_c,v 1.1 2004/08/12 17:22:23 jolan Exp $ +--- src/strbuf.c.orig Fri Apr 16 01:19:41 2004 ++++ src/strbuf.c Thu Aug 12 12:08:05 2004 +@@ -1,11 +1,11 @@ + #include "config.h" ++#include "strbuf.h" + #include "util.h" + + #include + #ifdef HAVE_STRINGS_H + #include + #endif +-#include "strbuf.h" + #ifndef max + #define max(x,y) ((x)>(y)?(x):(y)) + #endif