about summary refs log tree commit diff
path: root/pkgs/applications/audio/lash/socket.patch
diff options
context:
space:
mode:
authorCillian de Roiste <cillian.deroiste@gmail.com>2011-04-23 00:22:40 +0000
committerCillian de Roiste <cillian.deroiste@gmail.com>2011-04-23 00:22:40 +0000
commitb3e902c1a999ab084d34de3584c3a71d1e34c130 (patch)
treedd9e5ee054327ba3dfc2b2e3860943b153949bd3 /pkgs/applications/audio/lash/socket.patch
parent3cfe938b0e4a58590eff3afd0c860c88c00d5572 (diff)
Adding lash, session management system for GNU/Linux audio applications
svn path=/nixpkgs/trunk/; revision=26926
Diffstat (limited to 'pkgs/applications/audio/lash/socket.patch')
-rw-r--r--pkgs/applications/audio/lash/socket.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/applications/audio/lash/socket.patch b/pkgs/applications/audio/lash/socket.patch
new file mode 100644
index 0000000000000..c282592144439
--- /dev/null
+++ b/pkgs/applications/audio/lash/socket.patch
@@ -0,0 +1,16 @@
+Via http://bugs.gentoo.org/show_bug.cgi?id=229603
+
+--- lash-0.5.4/liblash/socket.c	2008-06-26 15:20:44.227064193 +0200
++++ lash-0.5.4/liblash/socket.c	2008-06-26 15:21:18.245063129 +0200
+@@ -20,6 +20,11 @@ 
+ 
+ #define _POSIX_SOURCE /* addrinfo */
+ 
++#ifdef LASH_BUILD
++#define _GNU_SOURCE
++#include "config.h"
++#endif /* LASH_BUILD */
++
+ #include <stdint.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>