Make it build on DragonFly.

This commit is contained in:
hasso 2009-03-16 10:18:31 +00:00
parent df6a9daf47
commit a04c16bec0
2 changed files with 15 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.5 2009/02/21 10:18:28 wiz Exp $
$NetBSD: distinfo,v 1.6 2009/03/16 10:18:31 hasso Exp $
SHA1 (tellico-1.3.5.tar.gz) = 83639fd97cd5a7c06e3efa3a56af29c96c64f686
RMD160 (tellico-1.3.5.tar.gz) = 57972db4e9cc1c5236015da8a7f5da3afff23a6c
Size (tellico-1.3.5.tar.gz) = 5085567 bytes
SHA1 (patch-aa) = 110d5cd17419456a0d2d4e9a7f77cba8b9ffc311

View file

@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.3 2009/03/16 10:18:31 hasso Exp $
--- src/translators/freedb_util.cpp.orig 2009-03-16 11:36:38 +0200
+++ src/translators/freedb_util.cpp 2009-03-16 11:36:57 +0200
@@ -60,7 +60,7 @@ extern "C" {
* to compile on Solaris */
#define cdte_track_address cdte_addr.lba
-#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
#include <netinet/in.h>
#include <sys/cdio.h>