3
0
Fork 0
forked from mirrors/nixpkgs

compile fix: <stddef.h> needed for size_t

This commit is contained in:
Jack Cummings 2013-02-15 18:01:37 -08:00
parent 947651b6c2
commit 2d61716061
2 changed files with 16 additions and 1 deletions

View file

@ -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;
};
}
}

View 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