gnash: Hack to define nullptr as NULL, since some included mozilla headers seem to want nullptr

This commit is contained in:
James Cook 2014-02-07 17:28:02 -08:00
parent d7eb849349
commit 8ef2cadca4

View file

@ -73,6 +73,8 @@ stdenv.mkDerivation rec {
echo "\$GST_PLUGIN_PATH set to \`$GST_PLUGIN_PATH'"
'';
postConfigure = "echo '#define nullptr NULL' >> gnashconfig.h";
# Make sure `gtk-gnash' gets `libXext' in its `RPATH'.
NIX_LDFLAGS="-lX11 -lXext";