summaryrefslogtreecommitdiff
path: root/audio/ladspa
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-01-11 17:51:21 +0000
committerhans <hans@pkgsrc.org>2012-01-11 17:51:21 +0000
commitefffa942b97610f02100c42dbf9d21d35ac5c4d1 (patch)
tree46a483248085044da466b3512bfd20c23b490b9c /audio/ladspa
parentc92bd5fcc3d81eb742729638cc53ae2b1fdd3515 (diff)
downloadpkgsrc-efffa942b97610f02100c42dbf9d21d35ac5c4d1.tar.gz
Fix build on SunOS.
Diffstat (limited to 'audio/ladspa')
-rw-r--r--audio/ladspa/distinfo4
-rw-r--r--audio/ladspa/patches/patch-ab10
2 files changed, 10 insertions, 4 deletions
diff --git a/audio/ladspa/distinfo b/audio/ladspa/distinfo
index 335d3ca6f8f..062cf5f54a1 100644
--- a/audio/ladspa/distinfo
+++ b/audio/ladspa/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.7 2009/08/16 14:17:44 wiz Exp $
+$NetBSD: distinfo,v 1.8 2012/01/11 18:05:09 hans Exp $
SHA1 (ladspa_sdk_1.13.tgz) = 2b69e28afb62c0d97943124f48ed82de796f83ed
RMD160 (ladspa_sdk_1.13.tgz) = e9eeae8edd24a6890fac3e34c4b55f844f44f8a0
Size (ladspa_sdk_1.13.tgz) = 70540 bytes
SHA1 (patch-aa) = 7d09109572f9da19aac4104437704d731fc3ff99
-SHA1 (patch-ab) = 13240faa2e14651f1d76e92aac0f181433d7260d
+SHA1 (patch-ab) = 1ad33baf6dcc4633e1459b6585cc8ccada57831f
SHA1 (patch-ac) = d3367fa484cc0b2d4cef733832de3b1ddc147bdb
diff --git a/audio/ladspa/patches/patch-ab b/audio/ladspa/patches/patch-ab
index 1f055c2ccad..e9c54897a43 100644
--- a/audio/ladspa/patches/patch-ab
+++ b/audio/ladspa/patches/patch-ab
@@ -1,14 +1,20 @@
-$NetBSD: patch-ab,v 1.3 2009/08/16 14:17:44 wiz Exp $
+$NetBSD: patch-ab,v 1.4 2012/01/11 18:05:09 hans Exp $
--- applyplugin.c.orig 2007-11-06 10:52:56.000000000 +0000
+++ applyplugin.c
-@@ -6,7 +6,11 @@
+@@ -6,7 +6,17 @@
/*****************************************************************************/
#include <dlfcn.h>
-#include <endian.h>
+#ifdef __linux__
+# include <endian.h>
++#elif defined(__sun)
++# include <sys/byteorder.h>
++# ifdef _LITTLE_ENDIAN
++# define LITTLE_ENDIAN 1234
++# define BYTE_ORDER LITTLE_ENDIAN
++# endif
+#else
+# include <sys/endian.h>
+#endif