summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortv <tv>2005-10-31 15:23:54 +0000
committertv <tv>2005-10-31 15:23:54 +0000
commit68bccea6c6f567896e90c077c8441341f48e9ec4 (patch)
tree1a94f08001596ee926aa3e964e0e4733bd065127 /audio
parent2536470fe0f1f51f3dbbdfd0fe0259ea1d06b564 (diff)
downloadpkgsrc-68bccea6c6f567896e90c077c8441341f48e9ec4.tar.gz
Interix has neither mlock(2) nor socklen_t.
Diffstat (limited to 'audio')
-rw-r--r--audio/fluidsynth/distinfo3
-rw-r--r--audio/fluidsynth/hacks.mk10
-rw-r--r--audio/fluidsynth/patches/patch-ad13
3 files changed, 25 insertions, 1 deletions
diff --git a/audio/fluidsynth/distinfo b/audio/fluidsynth/distinfo
index 94aeae28c2f..d0114aa51df 100644
--- a/audio/fluidsynth/distinfo
+++ b/audio/fluidsynth/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2005/07/14 12:49:34 adam Exp $
+$NetBSD: distinfo,v 1.3 2005/10/31 15:23:54 tv Exp $
SHA1 (fluidsynth-1.0.6.tar.gz) = 8ef8c851d3b8ad1c458485a7d9aa13b1a70b7d9c
RMD160 (fluidsynth-1.0.6.tar.gz) = 7699dae455816844d80c204c99cf11efd8fb6d64
@@ -6,3 +6,4 @@ Size (fluidsynth-1.0.6.tar.gz) = 1022289 bytes
SHA1 (patch-aa) = 0cd5f42d4df763ef358f1d8a05826e0626882bf2
SHA1 (patch-ab) = 8b9f615cf81bab81e0e6fc8f3e1c1a589b29cd90
SHA1 (patch-ac) = b8c2b2aa180beeb5aa0292f2cce31f68a903a39d
+SHA1 (patch-ad) = 36e62eb4efc1c380f9cb8cfc5777493c0162f719
diff --git a/audio/fluidsynth/hacks.mk b/audio/fluidsynth/hacks.mk
new file mode 100644
index 00000000000..b946977403f
--- /dev/null
+++ b/audio/fluidsynth/hacks.mk
@@ -0,0 +1,10 @@
+# $NetBSD: hacks.mk,v 1.1 2005/10/31 15:23:54 tv Exp $
+
+###
+### Define socklen_t on platforms without it (there's no easy autoconf
+### CHECK_TYPE check to insert this without depending on autoconf)
+###
+.if ${OPSYS} == "Interix"
+PKG_HACKS+= socklen-int
+CPPFLAGS+= -Dsocklen_t=int
+.endif
diff --git a/audio/fluidsynth/patches/patch-ad b/audio/fluidsynth/patches/patch-ad
new file mode 100644
index 00000000000..9d581101c4e
--- /dev/null
+++ b/audio/fluidsynth/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2005/10/31 15:23:54 tv Exp $
+
+--- src/fluid_sys.h.orig 2003-03-11 11:57:51.000000000 -0500
++++ src/fluid_sys.h
+@@ -261,7 +261,7 @@ extern fluid_profile_data_t fluid_profil
+ sample data.
+ */
+
+-#if HAVE_SYS_MMAN_H
++#if HAVE_SYS_MMAN_H && !defined(__INTERIX)
+ #define fluid_mlock(_p,_n) mlock(_p, _n)
+ #define fluid_munlock(_p,_n) munlock(_p,_n)
+ #else