Make it build on DragonFly at least. This needs better handling IMHO,

though.
This commit is contained in:
hasso 2009-06-08 07:25:20 +00:00
parent 02ff812e46
commit 62027e3c05
2 changed files with 4 additions and 4 deletions

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.1.1.1 2008/04/07 16:10:37 bjs Exp $
$NetBSD: distinfo,v 1.2 2009/06/08 07:25:20 hasso Exp $
SHA1 (moc-2.5.0-alpha3.tar.bz2) = 59251b6239ad38f3f5ba8a1f73d1e90246765ab7
RMD160 (moc-2.5.0-alpha3.tar.bz2) = 7a603538e2080f3e182a543bc82100a09a56c2fe
Size (moc-2.5.0-alpha3.tar.bz2) = 489824 bytes
SHA1 (patch-aa) = ae4ec98da135617d5433308462a99271ed31bde3
SHA1 (patch-aa) = 058c2f72e22d3a31aee6e921aa9c110326a305f3
SHA1 (patch-ab) = 750f9a75c368788cf7d6f55e2ef44d7e41d99aa4
SHA1 (patch-ac) = 6b42e7df0dc3dfeb0a7c5e5226a28b01d2fd27c7
SHA1 (patch-ad) = 5785a54e683f8c063e7b603e7cc07a33dd080590

View file

@ -1,4 +1,4 @@
$NetBSD: patch-aa,v 1.1.1.1 2008/04/07 16:10:37 bjs Exp $
$NetBSD: patch-aa,v 1.2 2009/06/08 07:25:20 hasso Exp $
--- softmixer.c.orig 2008-04-06 19:57:33.000000000 -0400
+++ softmixer.c
@ -6,7 +6,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2008/04/07 16:10:37 bjs Exp $
#include "common.h"
#include "log.h"
+#ifndef getline
+#if !defined(getline) && !defined(__DragonFly__)
+#define NETBSD_GETLINE
+int getline(FILE *, char *, size_t, const char **);
+#include "getline.c"