about summary refs log tree commit diff
path: root/pkgs/applications/networking/siproxd
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2013-06-28 23:47:54 +0200
committerLluís Batlle i Rossell <viric@viric.name>2013-06-29 15:14:02 +0200
commit748a0f607b126ef1130293072d72f11ee34bff77 (patch)
tree2f1304823e08da85913daedf675381a19d2bb163 /pkgs/applications/networking/siproxd
parent8b1d65f894bf472cc40d6318f1eec3c1b34d681e (diff)
Updating siproxd to 0.8.1, and libosip.
Diffstat (limited to 'pkgs/applications/networking/siproxd')
-rw-r--r--pkgs/applications/networking/siproxd/cheaders.patch13
-rw-r--r--pkgs/applications/networking/siproxd/default.nix10
2 files changed, 19 insertions, 4 deletions
diff --git a/pkgs/applications/networking/siproxd/cheaders.patch b/pkgs/applications/networking/siproxd/cheaders.patch
new file mode 100644
index 0000000000000..53c4813cc335d
--- /dev/null
+++ b/pkgs/applications/networking/siproxd/cheaders.patch
@@ -0,0 +1,13 @@
+diff --git a/src/dejitter.c b/src/dejitter.c
+index 1904ab3..cb3624d 100644
+--- a/src/dejitter.c
++++ b/src/dejitter.c
+@@ -22,6 +22,8 @@
+ 
+ #include <errno.h>
+ 
++#include <string.h>
++#include <sys/time.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
diff --git a/pkgs/applications/networking/siproxd/default.nix b/pkgs/applications/networking/siproxd/default.nix
index 3395ba6947aa4..69ebab78f947b 100644
--- a/pkgs/applications/networking/siproxd/default.nix
+++ b/pkgs/applications/networking/siproxd/default.nix
@@ -1,13 +1,15 @@
 { stdenv, fetchurl, libosip }:
 
-stdenv.mkDerivation {
-  name = "siproxd-0.8.0";
+stdenv.mkDerivation rec {
+  name = "siproxd-0.8.1";
   
   src = fetchurl {
-    url = mirror://sourceforge/siproxd/siproxd-0.8.0.tar.gz;
-    sha256 = "0hl51z33cf68ki707jkrrjjc3a5vpaf49gbrsz3g4rfxypdhc0qs";
+    url = "mirror://sourceforge/siproxd/${name}.tar.gz";
+    sha256 = "1bcxl0h5nc28m8lcdhpbl5yc93w98xm53mfzrf04knsvmx7z0bfz";
   };
 
+  patches = [ ./cheaders.patch ];
+
   buildInputs = [ libosip ];
 
   meta = {