forked from mirrors/nixpkgs
compile fix: <stddef.h> needed for size_t
This commit is contained in:
parent
947651b6c2
commit
2d61716061
|
@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1k8i5zvgik7cad7znd8358grzwh62frpqww1a5rwkldrlws3q5ii";
|
||||
};
|
||||
|
||||
patches = [ ./zmm_new.patch ];
|
||||
|
||||
buildInputs = [ sqlite expat spidermonkey taglib libexif curl ffmpeg file ];
|
||||
|
||||
configureFlags = [ "--enable-inotify" ];
|
||||
|
@ -21,4 +23,4 @@ stdenv.mkDerivation rec {
|
|||
maintainers = [ maintainers.phreedom ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
13
pkgs/servers/mediatomb/zmm_new.patch
Normal file
13
pkgs/servers/mediatomb/zmm_new.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff -rc mediatomb-0.12.1.old/src/zmm/object.h mediatomb-0.12.1/src/zmm/object.h
|
||||
*** mediatomb-0.12.1.old/src/zmm/object.h 2010-03-25 07:58:08.000000000 -0700
|
||||
--- mediatomb-0.12.1/src/zmm/object.h 2013-02-15 17:57:02.000000000 -0800
|
||||
***************
|
||||
*** 33,38 ****
|
||||
--- 33,39 ----
|
||||
#define __ZMM_OBJECT_H__
|
||||
|
||||
#include <new> // for size_t
|
||||
+ #include <stddef.h>
|
||||
#include "atomic.h"
|
||||
|
||||
namespace zmm
|
Loading…
Reference in a new issue