From b935097da169c9beb3bd3ac6ae8557b35a41600a Mon Sep 17 00:00:00 2001 From: sno Date: Mon, 21 Sep 2009 17:26:46 +0000 Subject: Adding patch from FreeBSD ports to let esound build on FreeBSD, too. The rest of the patch from FreeBSD ports should be reviewed by the maintainer, I'm not sure how far this is reasonable ... --- audio/esound/distinfo | 3 ++- audio/esound/patches/patch-ac | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 audio/esound/patches/patch-ac (limited to 'audio') diff --git a/audio/esound/distinfo b/audio/esound/distinfo index 73729c12e3d..c2602c595b6 100644 --- a/audio/esound/distinfo +++ b/audio/esound/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.28 2008/11/20 17:42:27 wiz Exp $ +$NetBSD: distinfo,v 1.29 2009/09/21 17:26:46 sno Exp $ SHA1 (esound-0.2.41.tar.bz2) = 6c343483b3789f439277935eaad7e478bee685ea RMD160 (esound-0.2.41.tar.bz2) = 72597ea46e507008e3a43efaaf5b4b9ef62b896f Size (esound-0.2.41.tar.bz2) = 396474 bytes SHA1 (patch-aa) = d734a1004026287071e571ceb3fd346b809a6a30 SHA1 (patch-ab) = e01a89213d203861067e45f8f58d87ae6d19e01f +SHA1 (patch-ac) = 309d36eb27c053c106e579fd8ceac3f774a3a9e9 diff --git a/audio/esound/patches/patch-ac b/audio/esound/patches/patch-ac new file mode 100644 index 00000000000..3de63486ea8 --- /dev/null +++ b/audio/esound/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.7 2009/09/21 17:26:46 sno Exp $ + +FreeBSD doesn't define off64_t + +--- esddsp.c.orig 2009-09-19 19:15:30.000000000 +0200 ++++ esddsp.c 2009-09-19 19:22:16.000000000 +0200 +@@ -70,6 +70,7 @@ + + #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__bsdi__) + typedef unsigned long request_t; ++typedef off_t off64_t; + #else + typedef int request_t; + #endif -- cgit v1.2.3