mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 17:44:44 +00:00
gnash: Hack to define nullptr as NULL, since some included mozilla headers seem to want nullptr
This commit is contained in:
parent
d7eb849349
commit
8ef2cadca4
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user