diff options
Diffstat (limited to 'audio/ladspa/patches/patch-ab')
-rw-r--r-- | audio/ladspa/patches/patch-ab | 10 |
1 files changed, 8 insertions, 2 deletions
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 |