uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
14
pkgs/applications/networking/siproxd/cheaders.patch
Normal file
14
pkgs/applications/networking/siproxd/cheaders.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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 <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
23
pkgs/applications/networking/siproxd/default.nix
Normal file
23
pkgs/applications/networking/siproxd/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ lib, stdenv, fetchurl, libosip, sqlite }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "siproxd";
|
||||
version = "0.8.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/siproxd/siproxd-${version}.tar.gz";
|
||||
sha256 = "0dkpl3myxz3gvj2n2qpqrd19dip9il0vf7qybdvn5wgznrmplvcs";
|
||||
};
|
||||
|
||||
patches = [ ./cheaders.patch ];
|
||||
|
||||
buildInputs = [ libosip sqlite ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://siproxd.sourceforge.net/";
|
||||
description = "A masquerading SIP Proxy Server";
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue